标签: python-2.7 scapy sniffing
我在python解释器中尝试以下命令,但它没有捕获任何数据包。
a = sniff(prn = prnp0f)
答案 0 :(得分:0)
You probably should try add callback in sniff
sniff(iface == "mon0", prn == PacketHandler())
Where PacketHandler YOUR callback