msfconsole
Console for the Metasploit Framework. Note: Run
sudo msfdb initto enable the Metasploit database backend prior to launchingmsfconsole. More information: https://docs.rapid7.com/metasploit/msf-overview/.
- Launch the interactive console (append
--quietto suppress the startup banner):
sudo msfconsole
- Execute console commands (Note: Use
;for passing multiple commands):
sudo msfconsole ""
- Run a specific resource file:
sudo msfconsole
- [Interactive] Show specific type of modules:
show
- [Interactive] Use a module:
use
- [Interactive] Show module options (module needs to be loaded first):
show options
- [Interactive] Set value of variable:
set
- [Interactive] Run a module (module needs to be loaded and options need to be set first):
``
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
