You are hereHOWTO: Install Metasploit 3.2 svn in Ubuntu Intrepid Ibex
HOWTO: Install Metasploit 3.2 svn in Ubuntu Intrepid Ibex
UPDATED: Installing Metasploit on Ubuntu Lucid Lynx 10.04
Metasploit is another one of those best of breed applications found in many computer security experts' tool shed. Metasploit.com has instructions for installing Metasploit on Ubuntu/Kubuntu/Debian Linux on their website (http://trac.metasploit.com/wiki/Metasploit3/InstallUbuntu). I find that there are a lot of forums trying to get through the vague instructions.
Here are my steps for getting metasploit installed on Ubuntu Intrepid Ibex. Even the GUI works, which seems to be one of the biggest challenges.
First, install all the dependencies, Ruby on Rails and subversion.
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
Next, we need the Ruby package manager; RubyGems. I believe this is where most users are having issues. Their seems to be an issue with the Ubuntu repositories' version of RubyGems. The solution is to use the updated source code version:
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
With RubyGems installed, we can now install Rails:
sudo /usr/bin/gem1.8 install rails
OK, it took a while to get here but we are finally ready to install metasploit. Here we use subversion, the open-source version control software.
cd ~/
mkdir bin
cd bin
svn co http://metasploit.com/svn/framework3/trunk/ metasploit
That's it. Metasploit is installed in your ~/bin/metasploit directory. We can update the code by issuing the svn up command.
cd metasploit
svn up
Finally, execute the application.
./msfconsole
or
./msfgui &
Original information gathered from:
http://techwoo.com/howto-install-metasploit-31-svn-in-ubuntu-hardy-heron/
The metasploit webserver has changed port from 80 to 8000. You need to use the following line to be able to check out the repository.
svn co http://metasploit.com:8000/svn/framework3/trunk/ metasploitLooks like the metasploit URL has changed from .com to .org
I tried this and it worked as opposed to the other which didn't.
svn co http://metasploit.ORG/svn/framework3/trunk metasploit
metasploit.com seems to be back up now. You can read about the DDoS attempts at their blog. http://blog.metasploit.com/2009/02/pathetic-ddos-vs-metasploit-round-3.html
thx for this how to compile the best framework
Very good post, thanks a lot.
Post new comment