Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
from scapy.all import *
def r(a):
if(a[3].qd is None or 1 != a[3].qd.qtype ):return
sniff(filter="udp and port 5353",prn=r,count=10000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment