Aircrack-ng is a well-known wireless security tool used to analyze WiFi networks and test password strength. It works through a set of command-line utilities that help capture and process network data. It is mainly used by learners to understand how WiFi security works in real scenarios.
Installation Commands
Update Termux and install required packages:
pkg update && pkg upgrade && pkg install git clang make autoconf automake libtool pkg-config libpcap openssl -yClone the GitHub repository:
git clone https://github.com/aircrack-ng/aircrack-ng.gitMove into the directory:
cd aircrack-ngGenerate configure script:
autoreconf -iConfigure the build:
./configureBuild the tool:
makeInstall Aircrack-ng:
make installVerify installation:
./aircrack-ngUsage Commands
Check network interfaces:
ifconfigStart monitor mode (if supported):
./airmon-ng start wlan0Scan networks:
./airodump-ng wlan0Capture packets:
./airodump-ng -c 6 --bssid XX:XX:XX:XX:XX:XX -w capture wlan0Crack password using wordlist:
./aircrack-ng capture.cap -w wordlist.txtNote
Termux (without root + external WiFi adapter) usually:
- cannot enable monitor mode
- cannot capture real WiFi packets
