Before we can start using Metasploit, we need to install it. Follow these steps:
- Installing Metasploit on *nix can be done by downloading and executing the Metasploit Nightly Installer for Linux and macOS systems or by using the following commands (CLI):
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
The following screenshot shows the output of the preceding command:
The preceding command will download a shell script that will import the Rapid7 signing key (PGP) ...