安装Kali系统
推荐使用虚拟机,太简单不赘述。
配置数据库
开启开机启动
1 | vim /etc/rc.local 添加 |
启动数据库
1 | service postgresql start |
创建新用户
1 | >> su postgres |
编辑database.yml文件
1 | >>cd /usr/share/metasploit-framework/config |
编辑postgresql,本地启动
1 | >> cd /etc/postgresql/10/main |
启动msf,查看状态
1 | >> msfconsole |
Reference
https://www.secpulse.com/archives/33281.html
https://www.jianshu.com/p/9c82ccb2aaf7
https://blog.csdn.net/sanbingyutuoniao123/article/details/52209653
https://docs.kali.org/general-use/starting-metasploit-framework-in-kali