【问题标题】:Error when running msfconsole in arch linux在 Arch linux 中运行 msfconsole 时出错
【发布时间】:2018-12-20 07:07:04
【问题描述】:

在 Arch linux 中运行 msfconsole 时出现此错误

$ msfconsole         
Could not find rake-12.3.1 in any of the sources
Run `bundle install` to install missing gems.

我正在谷歌搜索解决方案,我发现在 msfconsole 目录上安装 gem 文件可以解决问题。

所以我cd/opt/metasploit

然后bundle install

最终在此目录中运行msfconsole 有效。

问题是如果我在这个目录之外,它会再次给我错误。 此错误的可能原因是什么? 此错误有哪些可能的修复方法?

谢谢。

【问题讨论】:

    标签: archlinux metasploit


    【解决方案1】:

    Metasploit 需要在自己的安装目录的上下文中运行。

    如果您从 https://www.archlinux.org/packages/community/x86_64/metasploit/ 安装官方 metasploit 社区包,那么它将正常工作并设置为从 $PATH 运行。

    (如果您以其他方式安装它,那么显然您需要解释它是如何安装的,以便让人们知道如何调试/修复它。)

    【讨论】:

    • 您好,我是使用社区包和黑拱包安装的。他们有同样的错误。我的猜测是因为用户许可?在安装 arch linux 的过程中,我将当前用户添加到组“wheel”中。我只是在关注 YouTube 视频。我还应该怎么做才能使我当前的用户可以有效地访问文件
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-04-03
    • 1970-01-01
    • 2018-04-05
    • 2016-11-26
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多