Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pylint:disable=W0312
- from scapy.all import *
- def monitor(pkg):
- if pkg.haslayer(DNS):
- print('dns')
- sniff(iface='wlan0', prn=monitor)
- scapy.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement