OXIESEC PANEL
- Current Dir:
/
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
wmt
/
common
Server IP: 2a02:4780:11:1084:0:327f:3464:10
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
09/05/2025 09:31:35 AM
rwxr-xr-x
📄
__init__.py
270 bytes
06/09/2025 04:45:51 PM
rw-r--r--
📁
__pycache__
-
09/05/2025 09:31:35 AM
rwxr-xr-x
📄
config.py
4.66 KB
06/09/2025 04:45:51 PM
rw-r--r--
📄
const.py
1.06 KB
06/09/2025 04:45:51 PM
rw-r--r--
📄
exceptions.py
942 bytes
06/09/2025 04:45:51 PM
rw-r--r--
📄
notification.py
9.96 KB
06/09/2025 04:45:51 PM
rw-r--r--
📄
report.py
5.35 KB
06/09/2025 04:45:51 PM
rw-r--r--
📄
service.py
807 bytes
06/09/2025 04:45:51 PM
rw-r--r--
📄
url_parser.py
465 bytes
06/09/2025 04:45:51 PM
rw-r--r--
📄
utils.py
5.24 KB
06/09/2025 04:45:51 PM
rw-r--r--
Editing: const.py
Close
#!/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'