Metasploit Cheat Sheet

Help link:

# This is initial SetUp and needed to be done only once. When you run metasploit for first time.
# We will start the database service.
sudo msfdb init

# We will enable postgresql at boot time.
sudo systemctl enable postgresql

# We will start the Metasploit 
sudo msfconsole

# Check if you are connected with database or not.
db_status

Getting familar with command and interface

Creating work space in metasploit

Understanding Database backend command

Auxiliary Modules

Detecting vulnerability automatically and saving credential

Exploit modules

Payload Generation.

Below is online payload generator tool.

Click on "msfvenom" tab.

Type of payload

Meterpreter Payload

Executable payloads

Post Exploitation With metasploit.

Pivoting

Automating task using resource script.

Last updated