Installation Metasploit Framework 3.5.0 on GNU/Linux Debian Lenny

First, download the Unix tarball from the download page and run the following commands:

# tar -xvvjf framework-3.5.0.tar.bz2
# mkdir -p /opt/metasploit3
# cp -a msf3/ /opt/metasploit3/msf3
# chown root:root -R /opt/metasploit3/msf3
# ln -sf /opt/metasploit3/msf3/msf* /usr/local/bin/

Second, install whatever Subversion package (only the client is needed) is provided with your distribution. Once the package has been installed, test it with the following command:

# svn ls https://www.metasploit.com/svn/framework3/trunk/

If this provides a directory listing, it should be usable. If this does not work, you will need to build a newer version of Subversion from source and skip ahead to the next section.

To determine if the Subversion client is new enough to update from a tarball installation:

# svn update /opt/metasploit3/msf3/

If this succeeds, congratulations, your Subversion client is usable! If this fails, you will need to delete the tarball installation and perform a fresh checkout.

Now that Subversion has been sorted out, we need to test the Ruby installation:

# ruby /opt/metasploit3/msf3/msfconsole

If this brings up a Metasploit Console with no warnings, your Ruby version has support for at least the basic functionality of the framework.

To verify that everything is working:

# ruby -rrubygems -rreadline -ropenssl -rirb -rdl -riconv -e 'p :OK'

Related posts:

4 thoughts on “Installation Metasploit Framework 3.5.0 on GNU/Linux Debian Lenny

  1. Pingback: IndoCisc » Blog Archive » Installation Metasploit Framework 3.5.0 on GNU/Linux Debian Lenny

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s