• 最流行的用户接口
  • 几乎可以使用全部 msf 功能
  • 控制台命令支持 TAB 自动补全
  • 支持外部命令的执行(系统命令等)
  • 启动:msfcosole

    MSF控制台命令

    ```powershell Banner̵ Color̵ connect -h show auxiliary / exploits / payloads / encoders / nops search usermap_script / help search – search name:mysql / path:scada / platform:aix / type:aux /author:aaron / cve:2011 / 可多条件同时搜索 use dos/windows/smb/ms09_001_write – show options / payloads / targets / advanced / evasion – info edit Check ̵back set / unset / setg / unsetg / save 模块内命令 Run / exploit jobs / kill 0 load / unload /loadpath Session – session -l / -i(Shell, ̵meterpreter session̵,vnc) route 通过指定sessio路由流量 irb (framework::Version) Resource ҁmsfconsol -r a.rc
  1. <a name="mb7bt"></a>
  2. #### 数据库命令
  3. ```python
  4. db_status / db_rebuild_cache
  5. db_nmap
  6. – Hosts / host 1.1.1.1 / hosts -u / hosts -c address,os_flavor -S Linux
  7. – services -p 80 / services -c info,name -p 1-1000
  8. – vulns / creds mysql_login / loot hashdump
  9. db_disconnect / db_connect
  10. – /usr/share/metasploit-framework/config/database.yml
  11. db_import / db_export
  12. – db_import /root/nmap.xml
  13. – db_export -f xml /root/bak.xm

更多:https://fishpond.blog.csdn.net/article/details/105788305