
1. 抓包环境1. windows 112. wireshark 4.6.93. 无线网卡2. 准备工作1. 确认设备管理器有无线网卡“802.11ac Wireless LAN Card”2. 确认无线网卡名称“WLAN 2”这个WLAN 2不是随便取的需要匹配刚才网络设备的名字“802.11ac Wireless LAN Card”3. 安装网卡的设置工具wlanhelper.exe是ncap工具的一部分在安装wireshakr时选中就好了C:\Users\auguswlanhelper.exe -h WlanHelper for Npcap 1.88 ( https://npcap.com ) Usage: WlanHelper [Commands] or: WlanHelper {Interface Name or GUID} [Options] OPTIONS: mode : Get interface operation mode mode managed|monitor|master|.. : Set interface operation mode modes : Get all operation modes supported by the interface, comma-separated channel : Get interface channel channel 1-14 : Set interface channel (only works in monitor mode) freq : Get interface frequency freq VALUE : Set interface frequency (only works in monitor mode) modu : Get interface modulation modu dsss|fhss|irbaseband|ofdm|hrdsss|erp|ht|vht|ihv (VALUE)|.. : Set interface modulation modus : Get all modulations supported by the interface, comma-separated COMMANDS: -i : Enter the interactive mode -h : Print this help summary page OPERATION MODES: managed : The Extensible Station (ExtSTA) operation mode monitor : The Network Monitor (NetMon) operation mode master : The Extensible Access Point (ExtAP) operation mode (supported from Windows 7 and later) wfd_device : The Wi-Fi Direct Device operation mode (supported from Windows 8 and later) wfd_owner : The Wi-Fi Direct Group Owner operation mode (supported from Windows 8 and later) wfd_client : The Wi-Fi Direct Client operation mode (supported from Windows 8 and later) 802.11 MODULATIONS (https://en.wikipedia.org/wiki/IEEE_802.11): 802.11-1997 : dsss, fhss 802.11a : ofdm 802.11b : dsss 802.11g : ofdm 802.11n : mimo-ofdm 802.11ac : mimo-ofdm EXAMPLES: WlanHelper Wi-Fi mode WlanHelper 42dfd47a-2764-43ac-b58e-3df569c447da channel 11 WlanHelper 42dfd47a-2764-43ac-b58e-3df569c447da freq 2 WlanHelper Wireless Network Connection mode monitor SEE THE MAN PAGE (https://github.com/nmap/npcap) FOR MORE OPTIONS AND EXAMPLES4. 设置网卡的监听模式C:\Users\auguswlanhelper.exe WLAN 2 mode monitor Success注意:必须使用管理员模式执行“wlanhelper.exe”5. 设置网卡的抓包信道C:\Users\auguswlanhelper.exe WLAN 2 channel 8 Success注意:必须使用管理员模式执行“wlanhelper.exe”3. 启动wireshark抓包