![我在 ubuntu 12.04 上安装 metasploit 时遇到问题](https://linux22.com/image/1115986/%E6%88%91%E5%9C%A8%20ubuntu%2012.04%20%E4%B8%8A%E5%AE%89%E8%A3%85%20metasploit%20%E6%97%B6%E9%81%87%E5%88%B0%E9%97%AE%E9%A2%98.png)
我已经在我的 ubuntu 12.04 上安装了 metasploit,但是当我写入
aboziad@aboziad:~$ msfconsole
Could not find rake-10.0.4 in any of the sources
Run `bundle install` to install missing gems.
我是 root,即 aboziad,当我安装 bundle 时
aboziad@aboziad:~$ bundle install
/usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/vendor/thor/shell/basic.rb:336: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
Bundler::GemfileNotFound
有什么问题,有人能帮忙吗,谢谢你的努力
答案1
尝试:
aboziad@aboziad:~$ sudo -i
root@aboziad:~# cd ..
root@aboziad:/ cd opt
root@aboziad:/opt# cd metasploit
root@aboziad:/opt/metasploit# ./msfpro
如果它给你一个错误,请返回并输入:
root@aboziad:~# sudo servcie metasploit start
这应该可以修复错误,在终端上启动 metasploit