Kali(2020.4版本)遇到的metasploit启动崩溃问题


Kali Linux 2.0 本身已内置metasploit-framework,已经没有metasploit 这个服务了,所以命令service metasploit start 不起作用。

 

启动postgresql直接运行msf命令行会报错,并且我卸载了metasploit-framework重新安装之后依然如此:

msfconsole
Unable to find a spec satisfying metasploit-framework (>= 0) in the set. Perhaps the lockfile is corrupted?
Run bundle install to install missing gems.

 

解决办法:

sudo gem install bundler -v 2.2.4

sudo msfdb reinit
sudo msfconsole

可能的原因是Kali Linux内置的metasploit-framework与bundler版本的不匹配导致的,详见StackOverFlow上的帖子。

 


免责声明!

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



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