Sindbad~EG File Manager

Current Path : /proc/thread-self/root/opt/imunify360/venv/lib64/python3.11/site-packages/defence360agent/subsys/panels/directadmin/
Upload File :
Current File : //proc/thread-self/root/opt/imunify360/venv/lib64/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")

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists