April 2017
Intermediate to advanced
350 pages
8h 35m
English
Now, I know there are already plenty of wireless sniffers out there, but with scapy you'll grasp a better understanding of how it works. There's already a sniff function but there are several parameters we haven't yet discussed. Well start with iface, you need to define the connection interface you wish to use. prn is an argument to apply to every packet:
>>> sniff(iface="ath0",prn=lambda x:x.sprintf("{Dot11Beacon:%Dot11.addr3%\t%Dot11Beacon.info%\t%PrismHeader.channel%\tDot11Beacon.cap%}"))
Read now
Unlock full access