Installing Metasploit Framework on *nix

Before we can start using Metasploit, we need to install it. Follow these steps:

  1. 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) ...

Get Hands-On Web Penetration Testing with Metasploit now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.