Page 3 of 3 FirstFirst 123
Results 21 to 28 of 28

Thread: scripting question

  1. #21
    Senior Member shamanvirtuel's Avatar
    Join Date
    Mar 2010
    Location
    Somewhere in the "Ex" human right country
    Posts
    2,988

    Default

    Now I can take the airodump TXT and not cap file
    grep awk it with aps and client
    you just choose aps and associated clients in list.....extracted from airodump txt files........

    just like in airodump
    Watch your back, your packetz will belong to me soon... xD

    BackTrack :
    Giving Machine Guns to Monkeys since 2006

  2. #22
    Senior Member shamanvirtuel's Avatar
    Join Date
    Mar 2010
    Location
    Somewhere in the "Ex" human right country
    Posts
    2,988

    Talking

    Quote Originally Posted by Baxter View Post
    OH LOL,
    i thought he ment reading the info from the .cap or .ivs and have it printed out.
    then just choose the ap you want to test and all the info will automatically used in the rest of the script. saves typing everything in. thats what i was trying to do.
    just to be more precise

    i don't need to use the CAP file my choice goes to TXT file created by airodump during its scan.......

    after airo close i read directly in the txt file and sort infos via grep and awk commands.

    i read apmac client mac channel essid and all params i need in the txt file, sort them and export them as variables for using them later in the script....

    i create my output array with the variable containg all params

    i choose vict and client

    i use these variables for attack....and save typing a simple command by user, all is choosen by txt menu...

    here is an exemple : the awk grep command i use on iwconfig output in order to sorting cards wich are upped....after i list them...and use the selected in script later

    [code]
    ########GLOBAL VARIABLE#########
    ncard="" #default netcard
    installpath="/root/AIR" #just modify this according where is installed AIR
    scdir="$installpath/SCRIPTS" #path to scripts dir
    dpdir="$installpath/DUMPS" #path to dumps dir
    scanpath="$dpdir/Discovery-Scan-Using-$dev" #path to scan result of airodump not locked
    dumppath="$dpdir/Capture-From-$ap-Using-$dev" #path to the scan result of airodump locked to an ap clear
    ########GLOBAL VARIABLE#########

    clear
    echo "STEP 1 : CHOOSE NETWORK CARD YOU WANT TO WORK WITH :"
    netcards=`iwconfig | grep ESSID | awk '{ print $1 }'| grep -v lo | grep -v inet*`
    clear
    if [ $ncard = ]
    then
    select netcard in $netcards; do
    break;
    done
    else
    clear
    fi
    echo
    echo "Network Card "$netcard" Selectioned"
    echo
    declare dev=$netcard
    sleep 1
    echo "### STEP 2 : INITIALISATION OF NETWORK CARD "$dev
    sleep 3
    konsole -e $scdir/initnc.sh $dev[/code]


    Hope helps....
    hope you achieve yours, will really happy to test it..........
    Watch your back, your packetz will belong to me soon... xD

    BackTrack :
    Giving Machine Guns to Monkeys since 2006

  3. #23
    Junior Member
    Join Date
    Apr 2007
    Posts
    46

    Default

    I am using the code above and it works fine but i am failing to understand exactly how it works.
    any chance someone could just quickly comment it..

    sorry for being such a n00b lol

    enigma

  4. #24
    Senior Member
    Join Date
    Apr 2007
    Posts
    3,385

    Default

    Sorry enigmaticzidon, but you have to Google this one. Learn all your aircrack commands and look at the script, and with basic knowledge of bash scripting..you'll see how and why it works.
    [CENTER][FONT=Book Antiqua][SIZE=5][B][COLOR=blue][FONT=Courier New][COLOR=red]--=[/COLOR][/FONT]Xploitz[FONT=Courier New][COLOR=red]=--[/COLOR][/FONT][/COLOR][/B][/SIZE][/FONT][FONT=Courier New][COLOR=Black][SIZE=6][B] ®[/B][/SIZE][/COLOR][/FONT][/CENTER]
    [CENTER][SIZE=4][B]Remote-Exploit.orgs Master Tutorialist.[/B][/SIZE][SIZE=6][B]™
    [/B][/SIZE]
    [URL="http://forums.remote-exploit.org/showthread.php?t=9063"][B]VIDEO: Volume #1 "E-Z No Client WEP Cracking Tutorial"[/B]
    [/URL]
    [URL="http://forums.remote-exploit.org/showthread.php?t=7872"][B]VIDEO: Volume #2 "E-Z No Client Korek Chopchop Attack Tutorial"[/B]
    [/URL]
    [URL="http://forums.remote-exploit.org/showthread.php?t=8230"][B]VIDEO: Volume #3 "E-Z WPA/WPA2 Cracking Tutorial"[/B][/URL]

    [URL="http://forums.remote-exploit.org/showthread.php?t=8041"][B]VIDEO: Volume #4 "E-Z Cracking WPA/WPA2 With Airolib-ng Databases"[/B][/URL]
    [/CENTER]

  5. #25
    Junior Member
    Join Date
    Apr 2007
    Posts
    46

    Default

    thanks anyway its just that im trying to implement it into kommander and im having some difficulties in working out how to do that since i don't understand it.

    Any help?

    Enigma

  6. #26
    Senior Member shamanvirtuel's Avatar
    Join Date
    Mar 2010
    Location
    Somewhere in the "Ex" human right country
    Posts
    2,988

    Default

    you can't incorporate such a script in kmdr....you need to restructure it.......
    Watch your back, your packetz will belong to me soon... xD

    BackTrack :
    Giving Machine Guns to Monkeys since 2006

  7. #27
    Junior Member
    Join Date
    Apr 2007
    Posts
    46

    Default

    any help on how to do that...
    or if you could atleast point me in the right direction..
    im googling and looking just now but i cant seem to find what im looking for.

    Thanks again

  8. #28
    Developer
    Join Date
    Mar 2007
    Posts
    6,124

    Default

    sounds to me like you should invest some hard earned cash in a book on the bash shell. There a several good ones as i had to buy one to learn

Page 3 of 3 FirstFirst 123

Posting Permissions

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