Linux vmi2545633.contaboserver.net 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Apache/2.4.62 (Debian)
Server IP : 127.0.0.1 & Your IP : 127.0.0.1
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3.11 /
test /
support /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2025-04-07 20:15
__init__.py
73.46
KB
-rw-r--r--
2024-11-30 21:22
bytecode_helper.py
1.61
KB
-rw-r--r--
2024-11-30 21:22
hashlib_helper.py
1.86
KB
-rw-r--r--
2024-11-30 21:22
import_helper.py
8.56
KB
-rw-r--r--
2024-11-30 21:22
interpreters.py
5.69
KB
-rw-r--r--
2024-11-30 21:22
logging_helper.py
916
B
-rw-r--r--
2024-11-30 21:22
os_helper.py
22.1
KB
-rw-r--r--
2024-11-30 21:22
script_helper.py
11.44
KB
-rw-r--r--
2024-11-30 21:22
socket_helper.py
11.33
KB
-rw-r--r--
2024-11-30 21:22
testresult.py
5.88
KB
-rw-r--r--
2024-11-30 21:22
threading_helper.py
7.57
KB
-rw-r--r--
2024-11-30 21:22
warnings_helper.py
6.7
KB
-rw-r--r--
2024-11-30 21:22
Save
Rename
"""bytecode_helper - support tools for testing correct bytecode generation""" import unittest import dis import io _UNSPECIFIED = object() class BytecodeTestCase(unittest.TestCase): """Custom assertion methods for inspecting bytecode.""" def get_disassembly_as_string(self, co): s = io.StringIO() dis.dis(co, file=s) return s.getvalue() def assertInBytecode(self, x, opname, argval=_UNSPECIFIED): """Returns instr if opname is found, otherwise throws AssertionError""" for instr in dis.get_instructions(x): if instr.opname == opname: if argval is _UNSPECIFIED or instr.argval == argval: return instr disassembly = self.get_disassembly_as_string(x) if argval is _UNSPECIFIED: msg = '%s not found in bytecode:\n%s' % (opname, disassembly) else: msg = '(%s,%r) not found in bytecode:\n%s' msg = msg % (opname, argval, disassembly) self.fail(msg) def assertNotInBytecode(self, x, opname, argval=_UNSPECIFIED): """Throws AssertionError if opname is found""" for instr in dis.get_instructions(x): if instr.opname == opname: disassembly = self.get_disassembly_as_string(x) if argval is _UNSPECIFIED: msg = '%s occurs in bytecode:\n%s' % (opname, disassembly) self.fail(msg) elif instr.argval == argval: msg = '(%s,%r) occurs in bytecode:\n%s' msg = msg % (opname, argval, disassembly) self.fail(msg)