Installing Metasploit on Linux
For the scope of this book, we will be installing the Metasploit Framework on Ubuntu (Debian based) system. Before we begin the installation, we first need to download the latest installer. This can be done using wget
command as follows:
- Open a terminal window and type:
wgethttp://downloads.metasploit.com/data/releases/metasploit-latest-linux-installer.run
- Once the installer has been downloaded, we need to change the mode of the installer to be executable. This can be done as follows:
- For 64-bit systems:
chmod +x /path/to/metasploit-latest-linux-x64-installer.run
- For 32-bit systems:
chmod +x /path/to/metasploit-latest-linux-installer.run
- For 64-bit systems:
Now we are ready to launch the installer using the following command:
- For 64-bit systems:
sudo /path/to/metasploit-latest-linux-x64-installer.run
- For 32-bit systems:
sudo /path/to/metasploit-latest-linux-installer.run
- For 64-bit systems:
- We can see the following installer:
- Accept the license agreement:
- Choose the installation directory (It's recommended...