Metasploit Section 1 of 10

Installation

Install Metasploit on your preferred platform. Kali Linux ships with it pre-installed.

Kali Linux

Metasploit Framework comes pre-installed on Kali Linux.

bash
1msfconsole --version
bash
1msfupdate

Linux (Debian/Ubuntu)

bash
1curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-installer.sh -o msfinstall && chmod 755 msfinstall && sudo ./msfinstall

macOS

bash
1brew install metasploit

Database Setup

Metasploit uses PostgreSQL for workspace management.

bash
1sudo systemctl start postgresql\nsudo msfdb init

Verify connection in msfconsole: db_status