$38 GRAYBYTE WORDPRESS FILE MANAGER $12

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

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

HOME
Current File : /opt/imunify360/venv/lib/python3.11/site-packages/defence360agent/plugins//event_hook_executor.py
from defence360agent.contracts.hook_events import HookEvent
from defence360agent.contracts.plugins import (
    MessageSink,
    MessageSource,
    expect,
)
from defence360agent.hooks.execute import execute_hooks

EVENTS = (
    HookEvent.AgentStarted,
    HookEvent.AgentMisconfig,
    HookEvent.LicenseExpired,
    HookEvent.LicenseExpiring,
    HookEvent.LicenseRenewed,
)


class EventHookExecutor(MessageSink, MessageSource):
    PROCESSING_ORDER = MessageSink.ProcessingOrder.EVENT_HOOK

    async def create_sink(self, loop):
        self._loop = loop

    async def create_source(self, loop, sink):
        self._loop = loop
        self._sink = sink

    @expect(*EVENTS)
    async def receive_event(self, event):
        self._loop.create_task(execute_hooks(event))

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
16 Dec 2025 9.25 PM
root / root
0755
__pycache__
--
16 Dec 2025 9.25 PM
root / root
0755
__init__.py
0 KB
16 Oct 2025 7.33 PM
root / root
0644
accumulate.py
3.53 KB
16 Oct 2025 7.33 PM
root / root
0644
analyst_cleanup_update.py
5.529 KB
16 Oct 2025 7.33 PM
root / root
0644
backup_info_sender.py
3.056 KB
16 Oct 2025 7.33 PM
root / root
0644
cagefs.py
5.142 KB
16 Oct 2025 7.33 PM
root / root
0644
checkpoint.py
1.228 KB
16 Oct 2025 7.33 PM
root / root
0644
client.py
9.701 KB
16 Oct 2025 7.33 PM
root / root
0644
config_merger.py
0.809 KB
16 Oct 2025 7.33 PM
root / root
0644
config_watcher.py
1.889 KB
16 Oct 2025 7.33 PM
root / root
0644
event_hook_executor.py
0.759 KB
16 Oct 2025 7.33 PM
root / root
0644
event_monitor.py
3.324 KB
16 Oct 2025 7.33 PM
root / root
0644
event_monitor_message_processor.py
6.329 KB
16 Oct 2025 7.33 PM
root / root
0644
files_recurring_update.py
1.095 KB
16 Oct 2025 7.33 PM
root / root
0644
icontact_sender.py
4.423 KB
16 Oct 2025 7.33 PM
root / root
0644
idle_time_out.py
1.21 KB
16 Oct 2025 7.33 PM
root / root
0644
lve_utils_install.py
1.577 KB
16 Oct 2025 7.33 PM
root / root
0644
myimunify.py
1.978 KB
16 Oct 2025 7.33 PM
root / root
0644
ping.py
0.523 KB
16 Oct 2025 7.33 PM
root / root
0644
send_domain_list.py
2.778 KB
16 Oct 2025 7.33 PM
root / root
0644
send_server_config.py
10.37 KB
16 Oct 2025 7.33 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF