Installing Metasploit Framework on OS X Yosemite, metasploit-framework -v '4.10.1.pre.dev' not found

孤者浪人 提交于 2020-01-06 02:20:37

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!