Trip Posted March 18, 2011 Share Posted March 18, 2011 (edited) I hope you find this useful ... chmod -x msfinstaller.sh chmod 755 msfinstaller.sh sudo ./msfinstaller.sh clear echo "======================================================================" echo "### Metaploit Install Script for Ubuntu 10.10" echo "### Scripted by Tea" echo "### Free for non commercial use." echo "======================================================================" echo "### ENSURE YOUR SCRIPT IS RUN AS ROOT" echo "### IT WILL NOT WORK IF YOU'RE NOT ROOT" echo "### eg. sudo ./msfinstaller.sh" echo "======================================================================" echo "### Installation will continue in 10 seconds" echo "======================================================================" sleep 10 clear echo "=====================================================" echo "### Installing metasploit for all users." echo "### Process started by $USER" echo "=====================================================" echo "### Installing metasploit dependancies ..." echo "=====================================================" 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 sudo apt-get install subversion echo "=====================================================" echo "### Installing additional tools ..." echo "=====================================================" sudo apt-get install nmap sudo apt-get install aircrack-ng sudo apt-get install wireless-tools sudo apt-get install wifi-radar echo "=====================================================" echo "### Installing metasploit ..." echo "=====================================================" cd /opt sudo mkdir metasploit echo "=====================================================" echo "### Grabbing the latest version ..." echo "=====================================================" sudo svn co http://metasploit.com/svn/framework3/trunk/ metasploit cd metasploit echo "=====================================================" echo "### Metasploit install complete." echo "### Executing metasploit console (msfconsole) ..." echo "### Enjoy !!!" echo "=====================================================" sudo ./msfconsole Edited March 18, 2011 by Trip Quote Link to comment Share on other sites More sharing options...
iisjman07 Posted May 23, 2011 Share Posted May 23, 2011 Just tried this on my fresh ubuntu 11.04 installation; it works pretty well, thanks! Much easier than typing loads of commands :) Quote Link to comment Share on other sites More sharing options...
Netshroud Posted May 24, 2011 Share Posted May 24, 2011 If you have to run as root, then why all the 'sudo's? 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.