Page cover

Metasploit

Basic Sheet

Basic commands
Search Examples
search cve:2009 type:exploit platform:-linux
search type:exploit platform:windows cve:2021 rank:excellent microsoft
search cve:2009 -s name
search type:exploit -s type -r
Use
use <number>
Display options
options
Module Information
info
Set options
set <option>
Set options permanently until the program is restarted
setg
Sessions
List active sessions
sessions
On meterpreter
background
Set session
set session <sessionID>
Modules
Check Modules
ls /opt/metasploit/modules
Recon
use post/multi/recon
Muli handler
use exploit/multi/handler
Local exploits
use post/multi/recon/local_exploit_suggester
Plugins
Check Existent Plugins
ls /opt/metasploit/plugins
Scripts
Check Existent Scripts
ls /opt/metasploit/scripts
Tools
Check Existent Tools
ls /opt/metasploit/tools

Last updated