版权声明:转载请注明出处:http://blog.csdn.net/dajitui2024 https://blog.csdn.net/dajitui2024/article/details/79396630
官方提供了这样一条命令:
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && \
chmod 755 msfinstall && \
./msfinstall
真的不需要sudo
,然而还是报错了。bash: msfinstall: Permission denied
解决办法:
cd /opt
sudo wget https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb
mv msfupdate.erb msfinstall
sudo mv msfupdate.erb msfinstall
sudo chmod 755 msfinstall
./msfinstall
msfconsole
快速的完成了metasploit的安装。
另:最近kali更新以后,总是有故障,于是,选择基于ubuntu直接安装工具来用。