Skip to content

Commit

Permalink
updates for metasploit
Browse files Browse the repository at this point in the history
  • Loading branch information
ninewires committed Dec 12, 2015
1 parent 2cb13f6 commit 8515d7c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/exploitation/metasploit.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
FEDORA="git,make,automake,gcc,gcc-c++,kernel-devel,postgresql-server,postgresql-devel,libpcap-devel,sqlite-devel,ruby-irb,rubygems,rubygem-nokogiri,rubygem-ffi,rubygem-bigdecimal,rubygem-rake,rubygem-i18n,rubygem-bundler,ruby-devel,sqlite,rubygem-sqlite3,git,libxml2-devel,patch"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},gem outdated,gem update,gem install rails,gem install bundler,bundle install,cd /usr/local/bin,gem outdated,gem update,gem install rails,gem install bundler,bundle install,cd {INSTALL_LOCATION},gem install bundler,bundler install,bundle install"
AFTER_COMMANDS="cd {INSTALL_LOCATION},gem outdated,gem update,gem install rails,gem install bundler,bundle install,cd /usr/local/bin,gem outdated,gem update,gem install rails,gem install bundler,bundle install,cd {INSTALL_LOCATION},gem install bundler,bundler install,bundle install,ln -s /pentest/exploitation/metasploit/msfconsole /usr/local/bin/msfconsole"

# THIS WILL CREATE AN AUTOMATIC LAUNCHER FOR THE TOOL
LAUNCHER="msfconsole,msfbinscan,msfd,msfelfscan,msfmachscan,msfpescan,msfrop,msfrpc,msfrpcd,msfupdate,msfvenom"
LAUNCHER="msfbinscan,msfd,msfelfscan,msfmachscan,msfpescan,msfrop,msfrpc,msfrpcd,msfupdate,msfvenom"
2 changes: 1 addition & 1 deletion modules/intelligence-gathering/discover.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
INSTALL_LOCATION="discover"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="whois, traceroute, whatweb, arp-scan xdotool"
DEBIAN="whois, traceroute, whatweb, arp-scan"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS=""
Expand Down
2 changes: 1 addition & 1 deletion src/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def launcher(filename, install_location):
# if we found filetype
if point != "":
filewrite = file("/usr/local/bin/" + launchers, "w")
filewrite.write('#!/bin/sh\ncd %s\nchmod +x %s\n%s "$*"' % (install_location,file_point,point))
filewrite.write('#!/bin/sh\ncd %s\nchmod +x %s\n%s $*' % (install_location,file_point,point))
filewrite.close()
subprocess.Popen("chmod +x /usr/local/bin/%s" % (launchers), shell=True).wait()
print_status("Created automatic launcher, you can run the tool from anywhere by typing: " + launchers)
Expand Down

0 comments on commit 8515d7c

Please sign in to comment.