curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && ??chmod 755 msfinstall && ??./msfinstall
安装后msfconsole启动
一键安装metasploit(linux,os x)
原文地址:https://www.cnblogs.com/hookjoy/p/9551728.html