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 /
cli /
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
colors.py
1.25
KB
-rw-r--r--
2021-05-10 10:30
command.py
6.59
KB
-rw-r--r--
2021-05-10 10:30
docker_client.py
5.98
KB
-rw-r--r--
2021-05-10 10:30
docopt_command.py
1.79
KB
-rw-r--r--
2021-05-10 10:30
errors.py
5.06
KB
-rw-r--r--
2021-05-10 10:30
formatter.py
1.66
KB
-rw-r--r--
2021-05-10 10:30
log_printer.py
7.9
KB
-rw-r--r--
2021-05-10 10:30
main.py
61.76
KB
-rw-r--r--
2021-05-10 10:30
signals.py
873
B
-rw-r--r--
2021-05-10 10:30
utils.py
3.48
KB
-rw-r--r--
2021-05-10 10:30
verbose_proxy.py
1.62
KB
-rw-r--r--
2021-05-10 10:30
Save
Rename
import signal from ..const import IS_WINDOWS_PLATFORM class ShutdownException(Exception): pass class HangUpException(Exception): pass def shutdown(signal, frame): raise ShutdownException() def set_signal_handler(handler): signal.signal(signal.SIGINT, handler) signal.signal(signal.SIGTERM, handler) def set_signal_handler_to_shutdown(): set_signal_handler(shutdown) def hang_up(signal, frame): raise HangUpException() def set_signal_handler_to_hang_up(): # on Windows a ValueError will be raised if trying to set signal handler for SIGHUP if not IS_WINDOWS_PLATFORM: signal.signal(signal.SIGHUP, hang_up) def ignore_sigpipe(): # Restore default behavior for SIGPIPE instead of raising # an exception when encountered. if not IS_WINDOWS_PLATFORM: signal.signal(signal.SIGPIPE, signal.SIG_DFL)