November 2017
Intermediate to advanced
226 pages
5h 59m
English
Following are the steps to write a SSID sniffer script with scapy module:
from scapy.all import *
def parseSSID(pkt):
if pkt.haslayer(Dot11):
print(pkt.show())
if pkt.type == 0 and pkt.subtype == 8:
ap_list.append(pkt.addr2)
print("SSID:" + pkt.info)
sniff(iface='en0', prn=ssid, count=10, timeout=3, store=0)
$ sudo python3 sniff-ssid.py
Read now
Unlock full access