Jump to content

(updated) Metasploit Installation Script For Ubuntu 10.10


Trip
 Share

Recommended Posts

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 by Trip
Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...