1.安装msf
curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod 755 msfinstall && ./msfinstall
image.png

2.安装postgresql供msf使用
sudo apt install postgresql
image.png

3.测试
查看数据库状态
systemctl status postgresql
image.png
设置数据开机自启动
systemctl enable postgresql
启动msf
msfconsole
image.png

4.引用:
https://blog.csdn.net/kui576/article/details/126920839

更多推荐