Time for action – experimenting with your adapter

Follow the instructions below carefully:

  1. 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.
    Time for action – experimenting with your adapter
  2. To set the card on a particular channel, we use the iwconfig mon0 channel X commands.
    Time for action – experimenting with your adapter
  3. 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 run airodump-ng --help:
    Time for action – experimenting with your adapter

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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset