Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
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
README
+ Create Folder
+ Create File
/
snap /
core24 /
1196 /
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 : ast_helper.py
import ast class ASTTestMixin: """Test mixing to have basic assertions for AST nodes.""" def assertASTEqual(self, ast1, ast2): # Ensure the comparisons start at an AST node self.assertIsInstance(ast1, ast.AST) self.assertIsInstance(ast2, ast.AST) # An AST comparison routine modeled after ast.dump(), but # instead of string building, it traverses the two trees # in lock-step. def traverse_compare(a, b, missing=object()): if type(a) is not type(b): self.fail(f"{type(a)!r} is not {type(b)!r}") if isinstance(a, ast.AST): for field in a._fields: value1 = getattr(a, field, missing) value2 = getattr(b, field, missing) # Singletons are equal by definition, so further # testing can be skipped. if value1 is not value2: traverse_compare(value1, value2) elif isinstance(a, list): try: for node1, node2 in zip(a, b, strict=True): traverse_compare(node1, node2) except ValueError: # Attempt a "pretty" error ala assertSequenceEqual() len1 = len(a) len2 = len(b) if len1 > len2: what = "First" diff = len1 - len2 else: what = "Second" diff = len2 - len1 msg = f"{what} list contains {diff} additional elements." raise self.failureException(msg) from None elif a != b: self.fail(f"{a!r} != {b!r}") traverse_compare(ast1, ast2)
Close