Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env python
- from scapy.all import *
- def PacketHandler(pkt) :
- if pkt.haslayer(Dot11) :
- if pkt.type == 0 and pkt.subtype == 4 :
- if pkt.type :
- print"Client: %s SSID: %s" % pkt.addr2, pkt.info)
- sniff(iface="mon0", prn = PacketHandler)
Advertisement
Add Comment
Please, Sign In to add comment