天天看點

Ubuntu19 安裝Metasploit

安裝

首先打開終端輸入:

  1. 擷取超級使用者權限

    sudo su

  2. cd /opt
  3. 下載下傳以及安裝

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