Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 48 guests and 4 members online
 
Advertisement

You are here: Home arrow Resourcesarrow Toolsarrow Ubuntu menu help
EH-Net
May 22, 2013, 07:02:35 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Ubuntu menu help  (Read 2598 times)
0 Members and 1 Guest are viewing this topic.
millwalll
Guest
« on: September 01, 2011, 04:22:06 AM »

Hi all,

I am using Ubuntu and the plan is to have a nice menu like the one in BT5 so I know exactly what tools I have to play with and as I get more experience I can add more Tools.

so i done most of the ground work and created the menu but having trouble making all the tools work.

I looked at BT5 and they get the script to run using

Code:
sh -c "cd /pentest/enumeration/dns/dnsenum/ && ./dnsenum.pl ;sudo -s"

I have tried this but it does not work so I asked on the Ubuntu forms and they recommended to do it this way.

Code:
gnome-terminal --working-directory=/pentest/enumeration/dns/dnsenum/ -x perl dnsenum.pl && sudo -i

This worked for some of the script but other seem to not want to work and just close the terminal.

Does anyone have know a easy way to do this ??

* and before anyone says use BT I would love to as it make my life easy. But the company I work for don't like anyone using it. They perter you download install all tools yourself. *


thanks in advance
Logged
tturner
Sr. Member
****
Offline Offline

Posts: 432


View Profile WWW
« Reply #1 on: September 01, 2011, 08:25:52 AM »

I tend to prefer using .sh scripts. I call the script in the menu, that way if it's embedded in several places I only have to modify the scripts in one place. Backtrack is a really great example of why I hate doing it the BT way. Take sqlmap for instance, you can find it in about 15 or so different places in the menu structure. It's one of my pet peeves about BT and one thing I really like about Samurai WTF. For example:

Menu entry:

Code:
/home/[username]/tools/burpsuite.sh

actual script in tools directory:

Code:
#! /bin/bash
cd /usr/bin/tools/burpsuite
java -Xmx512m -jar burpsuite_pro_v1.4.01.jar


Personally for CLI based tools (like sqlmap) I don't bother using or creating shortcuts in the menu at all. I just run them from the CLI the way God intended.
Logged

Certifications:
CISSP, CISA, GPEN, GWAPT, GAWN, GCIA, GCIH, GSEC, OPSE, CSWAE, CSTP, VCP

WIP: OSWP, GSSP-JAVA, GXPN

Udacity on hold, again. I suck.

http://sentinel24.com/blog  @tonylturner http://bsidesorlando.org
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.066 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.