使用 metasploit 时,
1. 启动 postgresql
service postgresql start
2. 自行测试 postgresql 是否安装成功
根据需要,自行 修改 postgres 默认密码,是否允许远程登录
3. 初始化MSF数据库(关键步骤!)
msfdb init4. 启动 msfconsole
msfconsole
5. 检测 db 连接状态
db_status6. 如果连接异常会显示
msf > db_status
[*] postgresql selected, no connection
7. 手动连接数据库

本文介绍了如何在Kali Linux上启动Postgresql,并修改默认密码,以及进行Metasploit框架的数据库初始化,确保能成功连接到Postgresql。
1万+

被折叠的 条评论
为什么被折叠?



