标签: python python-3.x scapy
我正在尝试使用scapy3k进行嗅探,但是它会大量打印“”,而且我不知道如何隐藏它
def dns_sniff(): sniff(lfilter = lambda pack:DNS in pack and pack [UDP] .sport == 53,prn = lambda pack:pack [DNS] .summary()。split(“'”)[1])