Current Path: > > opt > cloudlinux > venv > lib64 > python3.11 > site-packages > wmt > common
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
__pycache__ | Directory | - | - | |
__init__.py | File | 270 bytes | June 09 2025 16:45:51. | |
config.py | File | 4769 bytes | June 09 2025 16:45:51. | |
const.py | File | 1081 bytes | June 09 2025 16:45:51. | |
exceptions.py | File | 942 bytes | June 09 2025 16:45:51. | |
notification.py | File | 10200 bytes | June 09 2025 16:45:51. | |
report.py | File | 5474 bytes | June 09 2025 16:45:51. | |
service.py | File | 807 bytes | June 09 2025 16:45:51. | |
url_parser.py | File | 465 bytes | June 09 2025 16:45:51. | |
utils.py | File | 5370 bytes | June 09 2025 16:45:51. |
#!/opt/cloudlinux/venv/bin/python3 import os BASE_DIR = '/etc/wmt' CONFIG_PATH = os.path.join(BASE_DIR, 'config.json') WMT_DB = '/var/lve/wmt.db' LICENSE_EXPIRED_FAREWELL_LETTER_MARKER = '/var/lve/wmt/wmt_farewell_letter.done' LICENSE_CHECK_PAUSE = 300 # sec JWT_TOKEN = '/etc/sysconfig/rhn/jwt.token' WMT_LOCK_FILE = '/var/run/wmt_scanner.lock' RETENTION_TIME_DAYS = 2 UNKNOWN_RHN_ID = 'unknown' CLICKHOUSE_WMT_ENDPOINT = 'https://stat-api.cloudlinux.com/api/clos-wsmt' PING_TIMEOUT_STATUS_CODE = 408 # userland project SENTRY_DNS = 'https://9e8970e72aa44adb892b3f651e2f0860@cl.sentry.cloudlinux.com/33' WMT_SCANNER_SERVICE = 'cl_wmt_scanner' WMT_SCANNER_SERVICE_SOLO = 'cl_wmt_scanner_solo' WMT_SCANNER_SERVICE_SOLO_FILE = f'{WMT_SCANNER_SERVICE_SOLO}.service' WMT_TEMPLATES_DIR = '/usr/share/web-monitoring-tool/templates' ERROR_DOMAINS_PING_RETRY_INTERVAL = 300 # 5min ERROR_DOMAINS_ALERT_INTERVAL = 6 # hours PING_CONNECTIONS = 10 # concurrent requests SERVICE_BIN: str = '/sbin/service' CHKCONFIG_BIN: str = '/sbin/chkconfig' SYSTEMCTL_BIN: str = '/usr/bin/systemctl'
SILENT KILLER Tool