Results 1 to 2 of 2

Thread: interactive script help

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010

    Question interactive script help

    I am writing a script to automate wep cracking for ligament reasons only so my question is this...

    I have a command that looks like this...

    "airodump-ng --bssid (bssid) --channel (CH) --ivs -w (filename1) mon0"

    I would like the script to ask

    "what is the bssid?"

    "what is the channel?"

    "what filename would you like to write to?"

    also note that i will need to use this information other places in the script.
    another example would look like this...

    "packetforge-ng -0 -a (bssid) -h (host mac) -l -k -y (fragment-0327-131221.xor) -w (filename2)"

    script would ask

    "what is name of fragment file?"

    "what filename would you like to write to?"

    I have looked around for a few days now and cant find the information anywhere on google or these forums but i may be asking the wrong questions so anyone please help im sorry if this is a simple question

  2. #2
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010

    Default Re: interactive script help

    This might be more appropriate posted at a general Linux or Linux scripting forum, but OK, I'll play.

    Try Googling for something like "bash script prompt user input"
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2010, 11:40 PM
  2. Replies: 10
    Last Post: 07-12-2010, 03:04 PM
  3. Interactive Packet Replay
    By knickfan5745 in forum Beginners Forum
    Replies: 4
    Last Post: 04-13-2010, 06:19 PM
  4. Replies: 1
    Last Post: 12-26-2008, 09:59 AM
  5. LZM Script/lzm2dir script
    By unseen in forum OLD Tutorials and Guides
    Replies: 2
    Last Post: 11-29-2007, 02:51 AM

Tags for this Thread

Posting Permissions

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