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上的帖子。

 

posted @ 2021-02-24 18:16  Joey44  阅读(1342)  评论(0编辑  收藏  举报
BACK TO TOP