HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

msfconsole — Console for the Metasploit Framework. More information: <https://docs.rapid7.com/metasploit/msf-over

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommandframeworkmetasploitmsfconsolecliconsolefor

Problem

How to use the msfconsole command: Console for the Metasploit Framework. More information: <https://docs.rapid7.com/metasploit/msf-overview/>.

Solution

msfconsole — Console for the Metasploit Framework. More information: <https://docs.rapid7.com/metasploit/msf-overview/>.

Launch the console:
msfconsole


Launch the console quietly without any banner:
msfconsole {{[-q|--quiet]}}


Do not enable database support:
msfconsole {{[-n|--no-database]}}


Execute console commands (Note: Use ; for passing multiple commands):
msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"


Display help:
msfconsole {{[-h|--help]}}


Display version:
msfconsole {{[-v|--version]}}

Code Snippets

Launch the console

msfconsole

Launch the console quietly without any banner

msfconsole {{[-q|--quiet]}}

Do not enable database support

msfconsole {{[-n|--no-database]}}

Execute console commands (Note: Use `;` for passing multiple commands)

msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"

Display help

msfconsole {{[-h|--help]}}

Context

tldr-pages: common/msfconsole

Revisions (0)

No revisions yet.