- Kali Linux Wireless Penetration Testing:Beginner's Guide
- Vivek Ramachandran Cameron Buchanan
- 223字
- 2025-02-20 14:56:26
Time for action – experimenting with your adapter
Follow the instructions below carefully:
- Enter the
iwconfig wlan0
command to check the capabilities of your card. As you can see in the figure below, my adapter can operate in the b, g, and n bands. - To set the card on a particular channel, we use the
iwconfig mon0 channel X
commands. - The
iwconfig
series of commands does not have a channel hopping mode. One could write a simple script over it to make it do so. An easier way is to use Airodump-NG with options to either hop channels arbitrarily, use only a subset, or use only selected bands. All these options are illustrated in the screenshot below when we runairodump-ng --help
:
What just happened?
We understood that both wireless sniffing and packet injection depend on the hardware support available. This means that we can only operate on bands and channels allowed by our card. Also, the wireless card radio can only be on one channel at a time. This further means that we can only sniff or inject in one channel at a time.
Have a go hero – sniffing multiple channels
If you need to simultaneously sniff on multiple channels, you will require multiple physical Wi-Fi cards. If you can procure additional cards, then try to sniff on multiple channels simultaneously.