Installing Metasploit Framework on OS X Yosemite,

2019-08-02 17:27发布

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?

2条回答
闹够了就滚
2楼-- · 2019-08-02 18:03

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!

查看更多
在下西门庆
3楼-- · 2019-08-02 18:05

It seems like Gem needs more access, so if you are using RVM then Try this:

rvmsudo bundle install
查看更多
登录 后发表回答