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

Thread: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

  1. #1
    Just burned his ISO
    Join Date
    May 2010
    Location
    Somewhere...
    Posts
    12

    Default CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    CAG-Script v0.6

    Hi guys,
    This is a script that I wrote that automates running Ettercap-ng, Arpspoof, Sslstrip, the Dsniff suite, Nmap, Airdrop-ng, and other programs. If Airdrop-ng is not installed (as is the case for a BT4 live cd), the script will give you the option to install it.

    Feel free to modify this script, I don't claim to have come up with all of it.
    Thanks to all of the members of the Backtrack forums past and present for your continued help.

    This script is very much a work in progress and therefore any help would be appreciated. After it is "completed", I will hopefully write a tutorial on using it. I the meantime, I will try to answer any questions that I can.

    Main Script: CAG-Script v0.6 (hosted on pastebin.com)

    Script to install Airdrop-ng: Installairdrop-ng-script (hosted on pastebin.com)

    Very simple macchanging script: Macchanger-Script (hosted on pastebin.com)
    Last edited by BobaFett; 06-21-2010 at 04:15 PM.

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

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    You would do well to paste the script here in your above post so that others can review it. Use the code tags.
    There may be those that do not trust the source website.

  3. #3
    Just burned his ISO
    Join Date
    May 2010
    Location
    Somewhere...
    Posts
    12

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Moderators, feel free to delete this post as it is simply clogging up this thread. Thanks
    Last edited by BobaFett; 07-12-2010 at 02:55 PM.

  4. #4
    Just burned his ISO
    Join Date
    May 2010
    Location
    Somewhere...
    Posts
    12

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Moderators, feel free to delete this post as it is simply clogging up this thread. Thanks
    Last edited by BobaFett; 07-12-2010 at 02:55 PM.

  5. #5
    Just burned his ISO
    Join Date
    May 2010
    Location
    Somewhere...
    Posts
    12

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Moderators, feel free to delete this post as it is simply clogging up this thread. Thanks
    Last edited by BobaFett; 07-12-2010 at 02:55 PM.

  6. #6
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    2

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    when I run your script it says

    "line 50: syntax error near unexpected token Configmenufunc()"

  7. #7
    Very good friend of the forum hhmatt's Avatar
    Join Date
    Jan 2010
    Posts
    660

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Quote Originally Posted by farang View Post
    when I run your script it says

    "line 50: syntax error near unexpected token Configmenufunc()"
    It's improper syntax for bash scripting.
    If you want to correct all of them you will need to change functions to:
    Code:
    function FunctionName {
    ...
    }

  8. #8
    Just burned his ISO
    Join Date
    Jan 2010
    Posts
    11

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    I get this error : bash: ./Sniffer_plus.sh: /bin/bash^M: bad interpreter: No such file or directory

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

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Quote Originally Posted by Guerreiro View Post
    I get this error : bash: ./Sniffer_plus.sh: /bin/bash^M: bad interpreter: No such file or directory
    You probably saved this script on a windows machine first.
    If that is the case run the script through dos2unix, and it should fix it right up.

  10. #10
    Junior Member
    Join Date
    Jan 2010
    Posts
    36

    Default Re: CAG-Script - Bash script to automate MITM's, deauth's, passive sniffing, etc

    Just wanted to say thanks

    I only wish i had a bit more time to work with it

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 6
    Last Post: 10-08-2010, 11:40 PM
  2. Soft AP bash script
    By junke1990 in forum OLD Wireless
    Replies: 1
    Last Post: 04-03-2010, 08:30 AM
  3. Bash script examples
    By imported_vvpalin in forum OLD Newbie Area
    Replies: 11
    Last Post: 05-20-2009, 12:02 PM
  4. bash script for idiots
    By Razack in forum OLD Newbie Area
    Replies: 1
    Last Post: 05-10-2009, 07:27 AM
  5. writing bash script help?
    By imported_dragracekid in forum OLD Newbie Area
    Replies: 10
    Last Post: 02-03-2009, 08:31 PM

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
  •