Install Metasploit SVN in Ubuntu
- Install the required dependencies:
sudo apt-get install build-essential ruby libruby rdoc libyaml-ruby libzlib-ruby libopenssl-ruby libdl-ruby libreadline-ruby libiconv-ruby libgtk2-ruby libglade2-ruby subversion sqlite3 libsqlite3-ruby irb
- Install ruby gems manually:
wget -c http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz
tar -xvzf rubygems-1.3.1.tgz -C /tmp/
cd /tmp/rubygems-1.3.1/
sudo ruby setup.rb
- Install rails:
sudo /usr/bin/gem1.8 install rails
- Check out the latest Metasploit from SVN:
cd ~/
mkdir bin
cd bin
svn co http://metasploit.com/svn/framework3/trunk/ metasploit
- Metasploit is now ready to be executed:
./msfconsole
- You can update Metasploit to the latest version by:
cd metasploit
svn up
Referenced from: http://wiredbytes.com/
