- 原文地址:https://github.com/rapid7/metasploit-framework/wiki/Using-Metasploit
- 作者:Metasploit Community
- 譯者:王一航 & Google 2018-06-15
- 校對:王一航 2018-06-15
請從這里開始:
- http://www.offensive-security.com/metasploit-unleashed/Main_Page
- https://community.rapid7.com/community/metasploit/
- 躲避反病毒軟件(譯者注:俗稱 免殺)
數(shù)據(jù)庫常見錯誤
如果數(shù)據(jù)庫沒有自動連接,首先需要確保數(shù)據(jù)庫軟件正在運行:
- Linux:
$ netstat -lnt | grep 7337(7337 為你在安裝的時候指定的監(jiān)聽的端口,如果你重新指定了,請自行修改命令。) - Windows: 在任務(wù)管理器中尋找
postgres.exe這個進程。
如果 postgres 沒有運行,那么嘗試手動啟動:
- Linux:
$ sudo /etc/init.d/metasploit start(或者如果你在安裝的時候并沒有選擇將其注冊為一個服務(wù),那么可以運行$ sudo /opt/metasploit*/ctlscript.sh start) - Windows: Start -> Metasploit -> Services -> Start Services
一旦 postgres 正在運行并且開始監(jiān)聽,就可以返回到 msfconsole 中重新運行:
msf > db_connect