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
- SPSS數據挖掘與案例分析應用實踐
- What's New in TensorFlow 2.0
- MongoDB for Java Developers
- Practical Windows Forensics
- PostgreSQL 11從入門到精通(視頻教學版)
- 編譯系統透視:圖解編譯原理
- Node Cookbook(Second Edition)
- C++語言程序設計
- BeagleBone Robotic Projects(Second Edition)
- SwiftUI極簡開發
- Learning Jakarta Struts 1.2: a concise and practical tutorial
- 超好玩的Scratch 3.5少兒編程
- 從“1”開始3D編程
- 大話代碼架構:項目實戰版
- 算法訓練營:海量圖解+競賽刷題(入門篇)