TOOL TUTORIAL · Security Testing & Validation Framework

How to install and use Metasploit-framework

The Metasploit Framework is a powerful open-source platform for developing, testing, and executing exploits against remote targets. It is widely used by penetration testers, security researchers, and IT professionals for vulnerability assessment, security audits, and penetration…

Quick install: curl https://raw.githubusercontent.com/rapid7/metasploit-framework/master/msfinstall | sh

Installation steps

  1. Update your package list with sudo apt update
  2. Download and run the official installer using the curl command above
  3. Wait for the script to add the Rapid7 repository and install the package
  4. Start the console by running msfconsole in a terminal
  5. The first launch sets up the local database automatically

See the full Metasploit-framework reference →