OXIESEC PANEL
- Current Dir:
/
/
snap
/
core24
/
988
/
usr
/
lib
/
python3.12
/
test
/
support
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
__init__.py
78.13 KB
02/04/2025 02:48:35 PM
rw-r--r--
📁
__pycache__
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📁
_hypothesis_stubs
-
05/04/2025 04:37:50 PM
rwxr-xr-x
📄
ast_helper.py
1.79 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
asynchat.py
11.33 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
asyncore.py
19.9 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
bytecode_helper.py
4.88 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
hashlib_helper.py
1.86 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
hypothesis_helper.py
1.35 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
import_helper.py
10.48 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
interpreters.py
5.67 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
logging_helper.py
916 bytes
02/04/2025 02:48:35 PM
rw-r--r--
📄
os_helper.py
23.72 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
pty_helper.py
2.98 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
script_helper.py
11.45 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
smtpd.py
30.01 KB
02/04/2025 02:48:35 PM
rwxr-xr-x
📄
socket_helper.py
13.47 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
testcase.py
1.02 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
threading_helper.py
7.86 KB
02/04/2025 02:48:35 PM
rw-r--r--
📄
warnings_helper.py
6.69 KB
02/04/2025 02:48:35 PM
rw-r--r--
Editing: logging_helper.py
Close
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