MOON
Server: Apache
System: Linux 54-179-220-51.cprapid.com 3.10.0-1160.144.1.el7.tuxcare.els4.x86_64 #1 SMP Tue Apr 7 08:40:40 UTC 2026 x86_64
User: thehunarfound (1001)
PHP: 7.4.29
Disabled: NONE
Upload Files
File: //opt/imunify360/venv/lib64/python3.11/site-packages/im360/simple_rpc/malware.py
import asyncio

from defence360agent.rpc_tools.lookup import (
    RootEndpoints,
    bind,
)
from imav.plugins.generic_sensor import Protocol


class MalwareEvents(RootEndpoints):
    @bind("malware", "generic", "event")
    async def generic_event(self, **kwargs):
        loop = asyncio.get_event_loop()
        proto = Protocol(loop, self._sink)
        proto._process_msg(kwargs)