Created
July 26, 2021 12:46
-
-
Save akirayou/44840d9d2374430c400c97a66904f226 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import * | |
def r(a): | |
if(a[3].qd is None or 1 != a[3].qd.qtype ):return | |
print(a[3].qd.qname.decode('utf-8')) | |
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