metasploit更新后msfconsole报错的解决方法
1、首先更新apt程序库apt update

3、运行msfconsole发现报错了,报错信息为/usr/lib/ruby/vendor_ruby/rubygems/defaults/operating_system.rb:10: warning: constant Gem::ConfigMap is deprecatedCould not find io-console-0.5.6 in any of the sourcesRun `bundle install` to install missing gems提示需要执行bundle install

6、安装对应版本的bundlergem install bundler -v 2.1.4

8、进入metasploit目录,执行bundle install 安装cd /usr/share/metasploit-framework/bundle install

9、执行msfconsole成功启动,但会出现下面警告提示。/usr/lib/rub鲻戟缒男y/vendor_ruby/rubygems/defaults/op髫潋啜缅erating_system.rb:10: warning: constant Gem::ConfigMap is deprecated

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。