$27 GRAYBYTE WORDPRESS FILE MANAGER $49

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 2.57.91.195 | ADMIN IP 216.73.216.215
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python311/lib/python3.11/site-packages/pyroute2/netlink/uevent/

HOME
Current File : /opt/alt/python311/lib/python3.11/site-packages/pyroute2/netlink/uevent//__init__.py
from pyroute2.netlink import NETLINK_KOBJECT_UEVENT, nlmsg
from pyroute2.netlink.nlsocket import Marshal, NetlinkSocket


class ueventmsg(nlmsg):
    pass


class MarshalUevent(Marshal):
    def parse(self, data, seq=None, callback=None):
        ret = ueventmsg()
        ret['header']['sequence_number'] = 0
        data = data.split(b'\x00')
        wtf = []
        ret['header']['message'] = data[0].decode('utf-8')
        ret['header']['unparsed'] = b''
        for line in data[1:]:
            if line.find(b'=') <= 0:
                wtf.append(line)
            else:
                if wtf:
                    ret['header']['unparsed'] = b'\x00'.join(wtf)
                    wtf = []

                line = line.decode('utf-8').split('=')
                ret[line[0]] = '='.join(line[1:])

        del ret['value']
        return [ret]


class UeventSocket(NetlinkSocket):
    def __init__(self):
        super(UeventSocket, self).__init__(NETLINK_KOBJECT_UEVENT)
        self.marshal = MarshalUevent()

    def bind(self):
        return super(UeventSocket, self).bind(groups=-1)

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
8 May 2024 6.33 PM
root / root
0755
__pycache__
--
8 May 2024 6.33 PM
root / root
0755
__init__.py
1.07 KB
8 May 2024 6.33 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF