2024-07-21 19:48:05 +10:00
|
|
|
# msfconsole
|
|
|
|
|
|
|
|
> Console for the Metasploit Framework.
|
|
|
|
> More information: <https://docs.rapid7.com/metasploit/msf-overview>.
|
|
|
|
|
|
|
|
- Launch the console:
|
|
|
|
|
|
|
|
`msfconsole`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Launch the console quietly without any banner:
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`msfconsole {{[-q|--quiet]}}`
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Do not enable database support:
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`msfconsole {{[-n|--no-database]}}`
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Execute console commands (Note: use `;` for passing multiple commands):
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`msfconsole {{[-x|--execute-command]}} "{{use auxiliary/server/capture/ftp; set SRVHOST 0.0.0.0; set SRVPORT 21; run}}"`
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Display help:
|
2024-07-21 19:48:05 +10:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`msfconsole {{[-h|--help]}}`
|
|
|
|
|
|
|
|
- Display version:
|
|
|
|
|
|
|
|
`msfconsole {{[-v|--version]}}`
|