So I have a new Ubuntu 12.04 box I am playing with and I decided I wanted to install the Metasploit framework to do some testing with. I found a few guides on the internet on how to install MSF 4 on Ubuntu, but the guides were slightly out of date. Here is what I did to install Metasploit framework 4 on my Ubuntu 12.04 box.
Launch a terminal and type the following command:
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run
After the download completes, make the file executable:
chmod +x metasploit-latest-linux-installer.run
Now execute the installer:
sudo ./metasploit-latest-linux-installer.run
Setup will walk you through the install process.
Now you can update the Metasploit framework by typing this command:
sudo msfupdate
After the update, I launched Metasploit using sudo so the database tables could be created:
sudo msfconsole
And that is it! You should have Metasploit up and running on Ubuntu 12.04.
This comment has been removed by the author.
ReplyDeletealso make sure you install nmap as well
ReplyDeletefor 64 bit system use this
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
chmod +x metasploit-latest-linux-x64-installer.run
sudo ./metasploit-latest-linux-x64-installer.run
i made a quick video and will put a link to your page
http://www.youtube.com/watch?v=2NhTq2JTQqg&feature=youtu.be
great site btw i like the layout
how to update metasploit....
DeleteThanks! Great help
ReplyDelete"has no VFS data to start up"
ReplyDeleteThank u man! great tutorial (:
ReplyDeleteThanks Eric, many thanks for this post. I have completed the installation but am stuck at the registration stage. I am asked to visit a link which I did using lynx. No go, the registration did not complete. I am running ubuntu in a virtual machine and do not have any graphics subsystems installed.
ReplyDeleteWarning: For your protection, access to Metasploit is limited to the local host until the initial user account has been configured. The initial user account can be created manually by launching the "diagnostic_shell" script in the base of the installation and executing "ruby [INSTALL_PATH]/apps/pro/ui/script/createuser".
ReplyDeleteCan you help me resolv this problem!
You actualy need an application called wine from the ubuntu software center.
ReplyDeleteIt has a box of tools as its logo in the center. Download metasploit from the site and right click, properties, and tick the box in permissions column and in the application column make wine as your default application. Then go to terminal cd Downloads, and then type sudo ./metasploit-latest-linux-installer.run YOu can replace metasploit-latest-linux-installer.run with the name of the metasploit installer