Linux v69820.1blu.de 4.15.0 #1 SMP Mon Sep 30 15:36:27 MSK 2024 x86_64
Apache/2.4.58
Server IP : 195.90.215.149 & Your IP : 216.73.217.80
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
lib /
python3 /
dist-packages /
compose /
metrics /
Delete
Unzip
Name
Size
Permission
Date
Action
__pycache__
[ DIR ]
drwxr-xr-x
2024-07-10 10:57
__init__.py
0
B
-rw-r--r--
2021-05-10 10:30
client.py
1.81
KB
-rw-r--r--
2021-05-10 10:30
decorator.py
692
B
-rw-r--r--
2021-05-10 10:30
Save
Rename
import functools from compose.metrics.client import MetricsCommand from compose.metrics.client import Status class metrics: def __init__(self, command_name=None): self.command_name = command_name def __call__(self, fn): @functools.wraps(fn, assigned=functools.WRAPPER_ASSIGNMENTS, updated=functools.WRAPPER_UPDATES) def wrapper(*args, **kwargs): if not self.command_name: self.command_name = fn.__name__ result = fn(*args, **kwargs) MetricsCommand(self.command_name, status=Status.SUCCESS).send_metrics() return result return wrapper