Step 1 :
If the following packages not installed, you need to install them.
sudo apt-get install ruby1.9.1 build-essentialTo download it.
For 64-bit systems :
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.runFor 32-bit systems :
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x32-installer.run
chmod +x metasploit-latest-linux-x32-installer.run
sudo ./metasploit-latest-linux-x32-installer.runFollow the instruction on the screen. You can choose your installed directory, default is
/opt/metasploit. Select to install Metasploit as service.Step 2 :
To register your community edition. If you don't, you cannot update the Metasploit. Point your Firefox to the following url :
https://localhost/:3790You need to wait for about 5 minutes for the initialization. Please be patient.
Fill in the blank and you will receive the license key for activation. Then, activate the copy.
Step 2a :
sudo update-rc.d metasploit disableStep 3 :
To run it.
sudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
sudo msfconsoleStep 4 :
To update it.
sudo -sH
/etc/init.d/metasploit start
cd /opt/metasploit/app
msfupdate*** Make sure you wait for at least 3 minutes before executing "msfupdate". As it need time to load all the necessary modules after the Metasploit is started.
Remarks :
If you do not select to install as service, you need to do the following to start the Metasploit.
sudo /opt/metasploit/ctlscript.sh startThat's all! See you.
