Channels
Could you give an estimate as to what percentage is being detected with this script? I assume it is single channel or is it switching? Thanks!
It is a single channel as there is no hopping mechanism built in.
You even have to switch to the channel you desire to listen to with iw command before running the script.
At that point you might think, you will loose most of the traffic of probe request available. But a research paper (https://frdgr.ch/wp-content/uploads/2015/06/Freudiger15.pdf), let me believed it is enough to listen to the main 1,6,13 channel to get maximum probe request.
I have no idea of the behavior of each device but we could hope they broadcast probe request on every channel.
Thanks for your reply. The paper is also quite helpful. I managed to monitor the main channels by using the os module to pass the iw commands to the system in a for loop. Make sure to add a timeout to the sniff function of Scapy with the amount of time for each channel scan.
I have made a fork of this repo, you might like it: https://github.com/solsticedhiver/probemon. But it only scans on one channel. But you can easily change it like you already did.
I just finished a quick bash script to scan every channel, it switches to the next channel every X amount of seconds. The only issue I've noticed so far is unless you use stats.py to view individual mac addresses all the information is separated in the sql database.
I don't know what you have done . What do you mean separated ?
Also, asking for support for your issue about a project on the repo of another project is not really, mmh, the correct way to do it ?
Open an issue in my project ? Even though issues are not meant to deal with the modification you made to the code...