Trip Posted April 1, 2010 Share Posted April 1, 2010 (edited) Installs all required libs for metasploit, nmap, sqlmap, aircrack-ng & wireless-tools (iwconfig etc) using gedit .... copy the text below to a file ... clear echo "Installing metasploit for all users." echo "Process started by $USER" echo "======================================" echo "Installing metasploit dependancies ..." sudo apt-get install ruby libruby rdoc sudo apt-get install libyaml-ruby sudo apt-get install libzlib-ruby sudo apt-get install libopenssl-ruby sudo apt-get install libdl-ruby sudo apt-get install libreadline-ruby sudo apt-get install libiconv-ruby sudo apt-get install rubygems clear echo "Installing additional tools ..." sudo apt-get install nmap sudo apt-get install aircrack-ng sudo apt-get install wireless-tools sudo apt-get install wifi-radar sudo apt-get install sqlmap clear echo "Installing metasploit ..." cd / cd opt svn co http://metasploit.com/svn/framework3/trunk/ metasploit cd metasploit clear echo "Metasploit install complete." echo "Executing metasploit console (msfconsole) ..." ./msfconsole exit 0 save this as "ubuntu_metasploit.sh" in Documents now open click applications > accessories > terminal when terminal has loaded type su press enter, login as super user using the SU password (if you don't know the password chances are you havn't set it up yet in this case type "sudo passwd" press enter, now enter your user password to begin with, then type a password for the root account, now u can login as SU, go login as SU, by typing SU) cd Documents (ensure your in the correct directory, if you saved your file some place other than in Documents) now type chmod -x ubuntu_metasploit.sh chmod 755 ubuntu_metasploit.sh and lastly type ./ubuntu_metasploit.sh confirm the installs as prompted and wait for the msfconsole to load :) peace Trip Edited April 2, 2010 by Trip Quote Link to comment Share on other sites More sharing options...
Netshroud Posted April 1, 2010 Share Posted April 1, 2010 why not just: wget http://www.metasploit.com/releases/framework-3.3.3-linux-i686.run chmod +x framework-3.3.3-linux-i686.run ./framework-3.3.3-linux-i686.run and then run msfupdate? Quote Link to comment Share on other sites More sharing options...
H@L0_F00 Posted April 2, 2010 Share Posted April 2, 2010 Also, use "sudo su" instead of creating a root password. Quote Link to comment Share on other sites More sharing options...
Trip Posted April 2, 2010 Author Share Posted April 2, 2010 (edited) Also, use "sudo su" instead of creating a root password. svn update will not run if the version is the most recent .... i suppose i should take this out as it will almost always be the most recent version lol and thanks h@l0 will update the script when i get chance and please go easy on me im very new to linux .... wanted to help out a little & make some people's lives easier ;0) and i suppose i ought to mention ... that this should be run from /opt not Documents as it will install it to the current folder bbs lol :) Edited April 2, 2010 by Trip Quote Link to comment Share on other sites More sharing options...
Trip Posted April 2, 2010 Author Share Posted April 2, 2010 updated :) works schweeeet & asks for su login when it hits the 1st sudo apt-get Quote Link to comment Share on other sites More sharing options...
LuminousObject Posted April 29, 2010 Share Posted April 29, 2010 Wow, thanks. It installed great on 10.04. Thanks again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.