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:


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM