Time for action – experimenting with your adapter
Follow these instructions carefully:
- To set the card on a particular channel, we use the
iwconfig wlan0mon 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 useairodump-ng
with options to either hop channels arbitrarily, use only a subset, or use only selected bands. All these options are illustrated in the following screenshot 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. Furthermore, this 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.
Pop quiz – WLAN packet sniffing and injection
Q1. Which frame types are responsible for authentication in WLANs?
- Control
- Management
- Data
- QoS
Q2. What is the name of the second monitor mode interface that can be created on wlan0
using airmon-ng
?
wlan0mon
wlan0mon1
1mon
monb
Q3. What is the filter expression to view all non-beacon frames in Wireshark?
!(wlan.fc.type_subtype == 0x08)
wlan.fc.type_subtype == 0x08
(no beacon)
wlan.fc.type == 0x08
- 手機(jī)安全和可信應(yīng)用開發(fā)指南:TrustZone與OP-TEE技術(shù)詳解
- ReSharper Essentials
- Arduino by Example
- 控糖控脂健康餐
- MongoDB for Java Developers
- Java加密與解密的藝術(shù)
- R Data Analysis Cookbook(Second Edition)
- Keras深度學(xué)習(xí)實(shí)戰(zhàn)
- Nginx Lua開發(fā)實(shí)戰(zhàn)
- Android嵌入式系統(tǒng)程序開發(fā):基于Cortex-A8(第2版)
- Everyday Data Structures
- Mastering Embedded Linux Programming
- C# 7.0本質(zhì)論
- 你必須知道的.NET(第2版)
- H5頁面設(shè)計(jì)與制作(全彩慕課版·第2版)