1、安装metasploit
cd /opt && wget https://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run && wget https://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run.sha1 && echo $(cat metasploit-latest-linux-x64-installer.run.sha1)’ 'metasploit-latest-linux-x64-installer.run > metasploit-latest-linux-x64-installer.run.sha1 && shasum -c metasploit-latest-linux-x64-installer.run.sha1 && chmod +x ./metasploit-latest-linux-x64-installer.run && sudo ./metasploit-latest-linux-x64-installer.run
2、web访问
由于第一次配置完只允许本地访问web页面,而且我的VPS也没有图形化,所以使用frp在VPS做个socks5代理,然后用proxifier把chrome加入socks5代理后访问https://localhost:3790/就可以了