Results 1 to 3 of 3

Thread: [FIX] Multiple Tools

Hybrid View

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

    Exclamation [FIX] Tools located in /misc

    This FIX is in regards to the tools located at
    Code:
     root@bt:/pentest/misc#
    The following tools are available.
    dnsrecon.rb goorecon.rb kmsapng.sh mitmap.sh mysqlaudit.py

    using kmsapng.sh or mitmap.sh without the fix returns an error of
    Code:
    /bin/bash^M: bad interpreter: No such file or directory
    There are other ways to fix these problems by using vi/m or sed.
    But this is the lazy mans way of doing it.
    If you want to use those programs you can.

    For mitmap.sh
    Navigate to the directory above
    and then use dos2unix to fix the program
    Code:
    # dos2unix mitmap.sh
    Then for kmsapng.sh
    Code:
    #dos2unix kmsapng.sh

    Next open the K menu and you can add the items that are missing
    select New item
    Icon: "cache"
    Name Field: mitmap
    Command Field: ./mitmap.sh; sudo -s
    Work Path: /pentest/misc/
    Check box for "run in terminal"
    Save

    Select new item
    kmsapng.sh
    Icon: "cache"
    Name Field: Karmetesploit AP Launcher
    Command Field: ./kmsapng.sh; sudo -s
    Work Path: /pentest/misc/
    Check box for "run in terminal"

    Select new item
    mysqlaudit.py
    Icon: "cache"
    Name Field: MySqlAudit
    Command Field: python mysqlaudit.py; sudo -s
    Work Path: /pentest/misc/
    Check box for "run in terminal"

    Select new item
    dnsrecon.rb
    Icon: "cache"
    Name Field: DNSRecon
    Command field: ruby dnsrecon.rb; sudo -s
    Work Path: /pentest/misc/
    Check box for "run in terminal"

    Select new item
    GooRecon.rb
    Icon "cache"
    Name Field: GooRecon
    Command Field: ruby goorecon.rb; sudo -s
    Work Path: /pentest/misc/
    Check box for "run in terminal"

    That's it. Might wanna test and save as you work your way through.
    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.

  2. #2

    Default

    Thanks for posting the fixes to my tools, sadly they where rushed in to the beta do to time constraints, Muts already has the fix for all the scripts and their dependencies. If you would like to test them you can download a lzm with with all dependencies, scripts in their proper locations as well and shortcuts in the menu. Thank again

    http://www.darkoperator.com/darkoperator_scripts.lzm

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

    Default

    Quote Originally Posted by BadKarmaPR View Post
    Thanks for posting the fixes to my tools,
    No problem at all. Actually it's a good learning experience.
    I spent a bit of time looking at mitmap trying to figure out what was going wrong. The "^M: " does not show up in nano. Then I found reference that stated this can be caused by a script being done up in notepad. Not sure if that was the case or not.

    Thanks for the link I will d/l and have a look at them.
    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.

Posting Permissions

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