Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/thread-self/root/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/subsys/panels/directadmin/
Upload File :
Current File : //proc/thread-self/root/proc/thread-self/root/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/subsys/panels/directadmin/config.py

import os

from defence360agent.utils.kwconfig import KWConfig

BASEDIR = "/usr/local/directadmin/conf"


class ConfigOptions(KWConfig):
    SEARCH_PATTERN = r"^\s*{}\s*=\s*(.*?)\s*$"
    WRITE_PATTERN = "{}={}"
    DEFAULT_FILENAME = os.path.join(BASEDIR, "directadmin.conf")

Hacked By AnonymousFox1.0, Coded By AnonymousFox