0%

问题解决-kali的msfconsole突然用不了

问题

更新了kali的镜像源为阿里镜像源之后,msfconsole突然无法使用了。

1
2
3
4
5
6
kali@kali:~$ msfconsole 
[*] Bundler failed to load and returned this error:

'cannot load such file -- bundler/setup'

[*] You may need to uninstall or upgrade bundler

解决方法

安装指定版本号的bundler:sudo gem install bundler:1.17.3

1
2
3
4
5
6
7
8
kali@kali:/usr/share/metasploit-framework$ sudo gem install bundler:1.17.3
[sudo] password for kali:
Fetching: bundler-1.17.3.gem (100%)
Successfully installed bundler-1.17.3
Parsing documentation for bundler-1.17.3
Installing ri documentation for bundler-1.17.3
Done installing documentation for bundler after 28 seconds
1 gem installed

参考博文

https://www.cnblogs.com/daxueba-ITdaren/p/12326036.html

-------------本文结束感谢您的阅读-------------