Table of Contents

On this basic Metasploit tutorial I will explain how to install it and

Install Metasploit

curl > msfinstall && chmod 755 msfinstall && ./msfinstall

Start msfconsole

Install Metasploit
Install Metasploit

Managing the Database

Metasploit has its own database to keep track of everything done inside the framework

Metasploit Tutorial
msf > db_connect your_msfdb_user:[email protected]:5432/msf_database
vim /opt/framework/config/database.yml
msf > db_connect -y /opt/metasploit/config/database.yml

Automatically Connecting to the Database

cp /opt/framework/config/database.yml /root/.msf4/

Managing Workspaces

msf > workspace -a TryHackMe
msf > workspace -a HackTheBox
msf > workspace
msf > workspace HackTheBox
workspace -d TryHackMe

Metasploit Modules

Metasploit Tutorial

Metasploit plugins

Metasploit Tutorial