我已经在我的 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