$97 GRAYBYTE WORDPRESS FILE MANAGER $22

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/subsys/panels/

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/subsys/panels//hosting_panel.py
from defence360agent.application.determine_hosting_panel import (
    get_hosting_panel,
)
from defence360agent.contracts.config import ANTIVIRUS_MODE
from defence360agent.subsys.panels.base import AbstractPanel


panel = None


def HostingPanel(check_for_changes=False) -> AbstractPanel:
    """
    Set the panel if panel is not set or if it is set to defence360agent class
     in Imunify360.

     - the panel is stored in only one place - in this module (_panel)
     - if we are AV we always use AV panel classes
     - if we are Imunify360 we always use im360 panel classes
     :type check_for_changes: bool
    """
    global panel

    if panel is None or check_for_changes:
        panel = get_hosting_panel(
            "defence360agent" if ANTIVIRUS_MODE else "im360"
        )
    return panel


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2026 8.45 AM
root / root
0755
__pycache__
--
3 Mar 2026 8.45 AM
root / root
0755
cpanel
--
3 Mar 2026 8.45 AM
root / root
0755
directadmin
--
3 Mar 2026 8.45 AM
root / root
0755
generic
--
3 Mar 2026 8.45 AM
root / root
0755
no_cp
--
3 Mar 2026 8.45 AM
root / root
0755
plesk
--
3 Mar 2026 8.45 AM
root / root
0755
__init__.py
0 KB
23 Jan 2026 1.13 PM
root / root
0644
base.py
9.07 KB
23 Jan 2026 1.13 PM
root / root
0644
hosting_panel.py
0.789 KB
23 Jan 2026 1.13 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF