MCPcopy Create free account
hub / github.com/fortra/impacket / run

Method run

examples/sniff.py:54–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 Thread.__init__(self)
53
54 def run(self):
55 # Sniff ad infinitum.
56 # PacketHandler shall be invoked by pcap for every packet.
57 self.pcap.loop(0, self.packetHandler)
58
59 def packetHandler(self, hdr, data):
60 # Use the ImpactDecoder to turn the rawpacket into a hierarchy

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected