Aircrack-ng in Termux – Installation & Usage Commands

Aircrack-ng in Termux – Installation & Usage Commands

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 -y

Clone the GitHub repository:

git clone https://github.com/aircrack-ng/aircrack-ng.git

Move into the directory:

cd aircrack-ng

Generate configure script:

autoreconf -i

Configure the build:

./configure

Build the tool:

make

Install Aircrack-ng:

make install

Verify installation:

./aircrack-ng

Usage Commands

Check network interfaces:

ifconfig

Start monitor mode (if supported):

./airmon-ng start wlan0

Scan networks:

./airodump-ng wlan0

Capture packets:

./airodump-ng -c 6 --bssid XX:XX:XX:XX:XX:XX -w capture wlan0

Crack password using wordlist:

./aircrack-ng capture.cap -w wordlist.txt

Note

Termux (without root + external WiFi adapter) usually:

  • cannot enable monitor mode
  • cannot capture real WiFi packets
SHARE THIS POST: