Linux command
airtun-ng 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Create
sudo airtun-ng -a [AP_BSSID] [wlan0mon]
Example
sudo airtun-ng -a [AP_BSSID] -w [hex_key] [wlan0mon]
Example
sudo airtun-ng -a [AP_BSSID] -p [passphrase] -e [SSID] [wlan0mon]
Example
sudo airtun-ng -a [AP_BSSID] -r [capture.cap] [wlan0mon]
说明
airtun-ng creates virtual tunnel interfaces (at0, at1, etc.) that allow sending and receiving decrypted traffic to/from a wireless network. This enables using standard network tools with encrypted WiFi networks when you know the key. The tool can operate in WEP or WPA mode, creating a virtual ethernet interface that handles encryption/decryption transparently.
参数
- -a _bssid_
- Access point MAC address
- -w _key_
- WEP key in hexadecimal
- -p _passphrase_
- WPA passphrase
- -e _essid_
- Network name (required for WPA)
- -t _flag_
- Tunnel type: 0=auto, 1=WDS, 2=normal
- -r _file_
- Replay packets from capture file
- -h _mac_
- Source MAC address
FAQ
What is the airtun-ng command used for?
airtun-ng creates virtual tunnel interfaces (at0, at1, etc.) that allow sending and receiving decrypted traffic to/from a wireless network. This enables using standard network tools with encrypted WiFi networks when you know the key. The tool can operate in WEP or WPA mode, creating a virtual ethernet interface that handles encryption/decryption transparently.
How do I run a basic airtun-ng example?
Run `sudo airtun-ng -a [AP_BSSID] [wlan0mon]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -a _bssid_ do in airtun-ng?
Access point MAC address