Results 1 to 10 of 16

Thread: Looking for a Script.

Hybrid View

  1. #1
    Just burned his ISO Steel9's Avatar
    Join Date
    Mar 2009
    Posts
    10

    Question Looking for a Script.

    Can anyone post a script that would do the following commands.

    airmon-ng stop wlan0
    ifconfig wlan0 down
    macchanger --mac 00:11:22:33:44:55 wlan0
    airmon-ng start wlan0

    and end with terminal displayed with all results of each process?

  2. #2
    Junior Member
    Join Date
    Mar 2008
    Posts
    96

    Default

    The following should work nicely

    Code:
    #!/bin/bash
    airmon-ng stop wlan0
    ifconfig wlan0 down
    macchanger --mac 00:11:22:33:44:55 wlan0
    airmon-ng start wlan0

  3. #3
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default

    Quote Originally Posted by Steel9 View Post
    Can anyone post a script that would do the following commands.

    airmon-ng stop wlan0
    ifconfig wlan0 down
    macchanger --mac 00:11:22:33:44:55 wlan0
    airmon-ng start wlan0

    and end with terminal displayed with all results of each process?
    Seriously, if you can't figure out how to write a little script like that you should stop using BT and learn about the basics at first.
    Tiocfaidh ár lá

  4. #4
    Super Moderator Archangel-Amael's Avatar
    Join Date
    Jan 2010
    Location
    Somewhere
    Posts
    8,012

    Default

    That is sad.
    Man there are only like a thousand examples of that very thing on the inturwub.
    To be successful here you should read all of the following.
    ForumRules
    ForumFAQ
    If you are new to Back|Track
    Back|Track Wiki
    Failure to do so will probably get your threads deleted or worse.

  5. #5
    Developer
    Join Date
    Mar 2007
    Posts
    6,126

    Default

    Its to bad we don't have a thread called the Learning Disabled section because that's where this would go.

  6. #6
    Member cr1spyj0nes's Avatar
    Join Date
    Sep 2008
    Posts
    164

    Default

    put it in a file call script.sh and run
    sh script.sh
    I would rather be hated for what i am,
    Then loved for what i am not.

  7. #7
    Just burned his ISO Steel9's Avatar
    Join Date
    Mar 2009
    Posts
    10

    Smile Thanks

    Thankyou that worked out great, I made a llink to app shortcut as well.

Posting Permissions

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