Metasploit is popular penetration tools exists by using exploitation of operating system, application, or other exploit.
In this article we will discuss about how to install Metasploit for Ubuntu. For this purpose I use Ubuntu. Any version and any architecture is fine. However in this article I will use Ubuntu 12.10 desktop edition.
The metasploit version used here is the one used by Backtrack. You can also use the version used by Kali Linux. However, let’s stick to Backtrack’s version.
wget http://all.repository.backtrack-linux.org/backtrack.gpg apt-key add backtrack.gpg
Now edit /etc/apt/source.list. Add backtrack’s official repository, or alternatively the mirror. Here I (in my case) have two options:
Using official repository:
deb http://all.repository.backtrack-linux.org revolution main microverse non-free testing deb http://32.repository.backtrack-linux.org revolution main microverse non-free testing deb http://source.repository.backtrack-linux.org revolution main microverse non-free testing
using repository from IDWS:
deb http://backtrack.indowebster.com/repo/all revolution main microverse non-free testing deb http://backtrack.indowebster.com/repo/32 revolution main microverse non-free testing deb http://backtrack.indowebster.com/repo/source revolution main microverse non-free testing
Both are fine. Save the file and do update to download list of packages.
Installation is as easy as other software installation. Enter this command into terminal:
apt-get install metasploit
Once the installation complete, we have successfully install metasploit.
Let’s test whether our metasploit work or not. Before running metasploit, let’s do update.
Next, try to run it.
msfconsolelinux, metasploit, ubuntu