Running everything on kali.
I found all wifi networks nearby and their BSSIDs. I am using a network card with monitor mode on. Now I want to find all clients that connected to that specific BSSID
Here is how this achieved with airodump-ng
airodump-ng -d "target's BSSID" -c "target's channel number" "wireless adapter monitor mode name"
I want to achieve the same effect using scapy.
Can't find any proper reference to achieve that.
Thanks
from scapy.layers import dot11, this should be semi-straight-forward. With an interface in monitor mode, you can see the raw 802.11 headers. You'd just need to look at all the frames coming in, filter out the ones with the wrong BSSID/irrelevant content, then look to see what MACs are associated with those frames. - Carcigenicatesniff, dopackets[0].show()to some packets to see a breakdown of the fields, and then try to manipulate the packets in the REPL. So far, it's proven to be a good way to figure out how to use scapy to manipulate traffic. - Carcigenicate