Linux command
aircrack-ng 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Crack WPA/WPA2
aircrack-ng -w [wordlist.txt] [capture.cap]
Example
aircrack-ng [capture.cap]
Example
aircrack-ng -b [00:11:22:33:44:55] [capture.cap]
Example
aircrack-ng -w [list1.txt],[list2.txt] [capture.cap]
Example
aircrack-ng -S [capture.cap]
说明
aircrack-ng is a WiFi security auditing tool that cracks WEP and WPA/WPA2-PSK encryption keys. For WPA/WPA2, it uses dictionary attacks against captured 4-way handshakes. For WEP, it exploits cryptographic weaknesses using statistical methods. The tool reads packet capture files containing wireless traffic, identifies encryption types and captured handshakes, and attempts to recover the passphrase.
参数
- -w _file_
- Wordlist for WPA/WPA2 cracking
- -b _bssid_
- Target access point MAC address
- -e _essid_
- Target network name
- -a _mode_
- Attack mode (1: WEP, 2: WPA/WPA2)
- -l _file_
- Write found key to file
- -q
- Quiet mode (no status display)
- -S
- WPA cracking speed test (benchmark)
- -p _threads_
- Number of CPU threads to use
- -K
- Use KoreK attack instead of PTW for WEP cracking (PTW is the faster modern default)
- -x
- Disable last keybyte brute-force (WEP). -x1 enables (default), -x2 brute-forces last two keybytes
- -y
- Experimental single brute-force attack, used when standard attacks fail with over 1 million IVs
- -z
- Use PTW attack for WEP cracking (default)
- -D, --wep-decloak
- WEP decloak mode, skips broken keystreams
- -M _num_
- Maximum number of IVs to use for WEP cracking
- -1, --oneshot
- Run only one try to crack key with PTW
FAQ
What is the aircrack-ng command used for?
aircrack-ng is a WiFi security auditing tool that cracks WEP and WPA/WPA2-PSK encryption keys. For WPA/WPA2, it uses dictionary attacks against captured 4-way handshakes. For WEP, it exploits cryptographic weaknesses using statistical methods. The tool reads packet capture files containing wireless traffic, identifies encryption types and captured handshakes, and attempts to recover the passphrase.
How do I run a basic aircrack-ng example?
Run `aircrack-ng -w [wordlist.txt] [capture.cap]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -w _file_ do in aircrack-ng?
Wordlist for WPA/WPA2 cracking