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