MSF中/usr/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'rex-text' (>= 0) among 78 total gem(s) (Gem::MissingSpecError)故障处理

msf运行ruby脚本报/usr/lib/ruby/2.7.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'rex-text' (>= 0) among 78 total gem(s) (Gem::MissingSpecError)错误时处理方式:

使用msf自带的ruby(/opt/metasploit-framework/embedded/bin/ruby)执行脚本,如/opt/metasploit-framework/embedded/bin/ruby pattern_create.rb -l 1000

引自:https://github.com/rapid7/metasploit-framework/issues/13411

posted @ 2020-08-14 10:51  总得前行  阅读(2222)  评论(0编辑  收藏  举报