kali msfconsole报错

报错内容

1

命令行执行msfconsole
报错
Could not find nokogiri-1.10.10 in any of the sources
You may need to uninstall or upgrade bundler

2

根据该链接https://blog.csdn.net/weixin_39875675/article/details/110300023
下如图方法执行,
image
报错:
An error occurred while installing nokogiri (1.10.10), and Bundler cannot continue. Make sure that ``gem install nokogiri -v '1.10.10' --source 'https://rubygems.org/'`` succeeds before bundling.
执行命令gem install nokogiri -v '1.10.10' --source 'https://rubygems.org/'
报错:
ERROR: Error installing nokogiri: ERROR: Failed to build gem native extension.

解决办法

应该nokogiri和gem版本问题
下载最新版kali镜像直接msfconsole成功打开
image

posted @ 2022-10-11 17:21  B0t1  阅读(48)  评论(0编辑  收藏  举报