安裝
首先打開終端輸入:
-
擷取超級使用者權限
sudo su
- cd /opt
- 下載下傳以及安裝
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
如果需要翻牆:
到/tec/hosts 檔案下填寫raw.githubusercontent.com 的ip位址
需要到https://www.ipaddress.com/ 檢視該網址ip,
填寫如下: 199.232.68.133 raw.githubusercontent.com