RN/Blatt02/scripts/208.py

7 lines
134 B
Python
Raw Permalink Normal View History

2024-11-15 22:00:09 +01:00
from scapy.all import *
def packet_callback(packet):
print(packet.summary())
sniff(iface="eth1", prn=packet_callback, count=10)