Skip to content

Aircrack

ejachan edited this page Mar 10, 2024 · 1 revision

Aircrack

Linux Basics

Specifies your current directory

pwd 

List contents of the current directory

ls 

removes the file words.txt

rm words.txt 

Recursively removes the directory folder

rm -r folder

End a program

ctrl+c

List network interfaces

ifconfig

Opens the help manual for the specified application

man application

airmon-ng

ShowShow current interfaces

airmon-ng  

Start monitoring on the specified interface

airmong-ng start wlan# 

Stop monitoring on the specified interface

airmong-ng start wlan# 

airodump-ng

airodump-ng <options> <mon#>

Start a collecton called prac on mon0

airodump-ng -w prac mon0 

Start a collecton on channel 8 using mon0

airodump-ng --channel 8 mon0 

Start a collection, outputting to a .pcap file using mon0

airodump-ng --output­format pcap mon0 

Available formats are: pcap, ivs, csv, csv, gps, kismet and/or netxml

airodump-ng --bssid ##:##:­##:­##:­##:## mon0 Starts collecting on BSSID ##:##:­##:­##:­##:## using mon0

Starts collecting on ESSID Redback using mon0

airodump-ng --essid Redback mon0 

Starts collecting on mon0 while excluding unasso­ciated clients

airodump-ng -a mon0 

aircrack-ng

aircrack-ng <op­tio­ns> <.c­ap/.ivs file>

Attemtps to crack the WEP encryption on prac.cap :

aircrack-ng prac.cap

Attemtps to crack the WEP encryption on prac.cap and saves it to password.txt :

aircrack-ng -l passwo­rd.txt prac.cap

Attemtps to crack the WPA encryption on prac.cap using the darkc0de.lst dictionary :

aircrack-ng -w darkc0­de.lst prac.cap

airdecap-ng

-O nmap 192.168.1.1 -O Remote OS detection using TCP/IP stack fingerprinting -O -osscan-limit nmap 192.168.1.1 -O -osscan-limit If at least one open and one closed TCP port are not found it will not try OS detection against host -O -osscan-guess nmap 192.168.1.1 -O -osscan-guess Makes Nmap guess more aggressively -O -max-os-tries nmap 192.168.1.1 -O -max-os-tries 1 Set the maximum number x of OS detection tries against a target -A nmap 192.168.1.1 -A Enables OS detection, version detection, script scanning, and traceroute

Clone this wiki locally