正在尝试按照this guide在OS X Maverick上安装Metasploit框架。我进入了第15步,但在运行bundle install时,安装程序在尝试安装metasploit-framework -v '4.10.1.pre.dev‘时遇到以下错误:
Errno::EACCES: Permission denied - metasploit-framework-db-4.11.0.pre.dev.gem An error occurred while installing metasploit-framework-db (4.11.0.pre.dev), and Bundler cannot continue. Make sure that gem install metasploit-framework-db -v '4.11.0.pre.dev' succeeds before bundling.
我知道this是存在的,但是克隆对我不起作用。运行mfsupdate为:
Using metasploit-framework-db 4.11.0.pre.dev from source at .
尝试运行rvssudo包安装--> ./msfconsole --> Rails Error: Unable to access log file. Please ensure that /opt/msf/log/production.log exists and is chmod 0666.[*] Starting the Metasploit Framework console...[*] The initial module cache will be built in the background, this can take 2-5 minutes... /opt/msf/modules/payloads/singles/java/shell_reverse_tcp.rb:54:in initialize': No such file or directory - /opt/msf/data/java/metasploit/Payload.class (Errno::ENOENT)
担心我的反病毒软件可能会导致一些问题。在OS或Maverick上成功安装Metasploit框架的人有什么想法吗?
rvmsudo可以在mfsconsole上运行,但这一次错误为:/opt/msf/modules/payloads/singles/java/shell_reverse_tcp.rb:54:in initialize: No such file or directory - /opt/msf/data/java/metasploit/Payload.class – aietsg Dec 31 '14 at 10:34查看下面的详细信息
发布于 2014-12-28 14:23:08
看起来Gem似乎需要更多的访问权限,而不是您试图从哪个上下文安装包。如果您使用的是RVM,如博客所示,那么您应该尝试使用"rvmsudo bundle install“。
https://stackoverflow.com/questions/27674033
复制相似问题