OBJECTIVE
Essentially, my goal is to emulate something like airodump-ng wlan0
Here is a link just in case ... airodump-ng
- Collects raw 802.11 frames
- Displays nearby access points and data
GAMEPLAN / OBSERVATIONS
I did a quick airodump
to see if my results would be close to the same. I see that airodump
is hopping channels !!!!, collecting beacons, and displaying the nearby aps.
I want to see what I can pick up using Scapy and sniff()
without hopping channels.
So, I close airodump
and fix my wireless card to channel 1 with iwconfig wlan0 channel 1
.
Then, I use Scapy to sniff()
beacon frames subtype=8
from APs within range of my wireless card.
However, I compare my results to what I got from airodump
and I see that I've got a bunch of beacons from APs on all different channels. I was expecting to only see beacons from channel 1.
QUESTION
Is this a glitch? Is there some sort of benefit that airodump
gets from hopping channels or is it unnecessary to be on a specific channel to collect beacon frames from all channels?
Or does sniff
have channel hopping built in?