1

尝试按照本指南在 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.

我知道存在,但克隆对我不起作用。运行 mfsupdate 读取:

Using metasploit-framework-db 4.11.0.pre.dev from source at .

试图运行 rvssudo bundle install --> ./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)

担心我的 AV 软件可能会导致一些问题。在 OS X 或 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 有关更多信息,请参见下文

4

1 回答 1

1

看起来 Gem 需要比您尝试安装包的任何上下文更多的访问权限。如果您像博客文章所示那样使用 RVM,那么您应该尝试使用“rvmsudo bundle install”

于 2014-12-28T06:23:07.827 回答