Metasploit连接数据库失败

来源:互联网 发布:淘宝文案风格好的推荐 编辑:程序博客网 时间:2024/04/30 21:37

之前一直出现:

Failed to connect to the database: could not connect to server: Connection refusedIs the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

今天用msfdb的命令查询了一下,才知道需要输入msfdb start才行。
这里写图片描述
输入

msfdb start

这里写图片描述
然后输入msfconsole即可。

msfconsole
0 0
原创粉丝点击