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