天天看点

kali 2.0 msf连接数据库问题

1.技术搬运工:官方网址:

https://github.com/rapid7/metasploit-framework/wiki/Setting-Up-a-Metasploit-Development-Environment#set-up-postgresql

其中命令改成shell脚本

2.大神指点:

http://www.myhack58.com/Article/html/3/8/2014/51268_2.htm

本地vim修改地址

/usr/share/metasploit-framework/config/database.yml.example

其中遇到的麻烦事:

postgresql selected, no connection

之前已经开启服务了 > service postgresql start

然后设置连接 > db_connect postgres:[email protected]/postgres

[*] Rebuilding the module cache in the background…

msf > db_status

[*] postgresql connected to postgres