May 2018
Beginner
230 pages
4h 49m
English
You might want to obtain all the clients of a particular AP. In this situation, you have to capture the probe request frame. In scapy, this is called Dot11ProbeReq.
Let's check out the frame in Wireshark in the following screenshot:

The probe request frame contains some interesting information, such as the source address and SSID, as highlighted in the preceding screenshot.
Now, it's time to see the code as follows:
from scapy.all import * interface ='mon0' probe_req = [] ap_name = raw_input("Please enter the AP name ") def probesniff(fm): if fm.haslayer(Dot11ProbeReq): client_name = fm.info ...Read now
Unlock full access