Files
cheatsheet-tldr/tldr/msfconsole
2024-07-22 00:15:48 +00:00

30 lines
630 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# msfconsole
> Console for the Metasploit Framework.
> More information: <https://docs.rapid7.com/metasploit/msf-overview>.
- Launch the console:
`msfconsole`
- Launch the console [q]uietly without any banner:
`msfconsole --quiet`
- Do [n]ot enable database support:
`msfconsole --no-database`
- E[x]ecute console commands (Note: use `;` for passing multiple commands):
`msfconsole --execute-command "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"`
- Display [v]ersion:
`msfconsole --version`