kali 中service metasploit start 报错

kali中使用 service metasploit start时,报错:

Failed to start metasploit.service: Unit metasploit.service not found.

这是因为kali新版进行了更新。

正确的使用方法是:

1.启动postgresql:

service postgresql start

2.初始化metasploit postgresql数据库

msfdb init

3.启动msfconsole并验证是否连接数据库成功:

输入命令:msfconsole进入msf5

 

 输入db_status:

posted @ 2020-01-02 22:25  walkwater  阅读(987)  评论(0编辑  收藏  举报