7 lines
134 B
Python
7 lines
134 B
Python
from scapy.all import *
|
|
|
|
def packet_callback(packet):
|
|
print(packet.summary())
|
|
|
|
sniff(iface="eth1", prn=packet_callback, count=10)
|