INNER CODE UNIT · Python

__init__

HaxL0p4/L0p4Map · ui/app.py:148

    def __init__(self, iface: str):
        super().__init__()
        self.iface = iface
        self._running = True

    def stop(self):
        self._running = False

    def run(self):
        def process(pkt):
            if not self._running:
                return
            if ScapyIP not in pkt:
                return

            src = pkt[ScapyIP].src
            dst = pkt[ScapyIP].dst
            size = len(pkt)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…