BT5下的metasploit貌似不能用,所以我选择重新安装一下,安装之前必须把原来的卸载掉。
1.卸载原来自带metasploit
cd /opt/metasploit
./uninstall
2.从官网下载,我的是32位的,下载相应版本
http://www.rapid7.com/products/metasploit/download.jsp
3.增加执行权限,并安装
chmod +x /opt/metasploit-latest-linux-installer.run
./metasploit-latest-linux-installer.run
4.启动程序
msfconsole
5.漏洞库升级
msfupdate
转载于:https://blog.51cto.com/hackerwang/1243415