问题
I am trying to install Metasploit Framework on OS X Yosemite and whilst running bundle install
the installer gets stuck on trying to install metasploit-framework -v '4.10.1.pre.dev'.
When I run gem install metasploit-framework -v '4.10.1.pre.dev'
on it's own I get this error:
ERROR: Could not find a valid gem 'metasploit-framework' (= 4.10.1.pre.dev) in any repository
ERROR: Possible alternatives: test_framework, metasploit-yard, metasploit-runner, metasploit-erd,
metasploit-concern
Has anyone successfully installed msf on Yosemite that could help me out?
回答1:
It seems like Gem needs more access, so if you are using RVM then Try this:
rvmsudo bundle install
回答2:
Solved by going to the github page for the framework and cloning it into my /opt directory. After I just ran msfupdate
everything installed as normal!
来源:https://stackoverflow.com/questions/26497981/installing-metasploit-framework-on-os-x-yosemite-metasploit-framework-v-4-10