kali2020.3 msf报错解决:Could not find reline-0.1.5 in any of the sources
前言
ruby --version
版本为2.7.1-3
kali 2020.3执行命令msfconsole报错:Could not find reline-0.1.5 in any of the sources
,执行gem install reline:0.1.5
安装,gem list
查看版本为reline 0.1.5,但仍报错。
解决方法:
升级版本为ruby2.7.2
sudo apt-get install libruby2.7 ruby2.7-dev ruby2.7
再次运行msfconsole,运行成功
如有疑问欢迎留言。
(简化:查看msf官方文档, We updated Metasploit services to use Ruby 2.7.2.
,说msf使用Ruby 2.7.2,查看本地版本为Ruby 2.7.1。搜索 reline报错解决方案时,发现reline与ruby相关)