【问题标题】:Installation of metasploit on Ubuntu 16.04 [closed]在 Ubuntu 16.04 上安装 metasploit [关闭]
【发布时间】:2016-11-12 06:33:37
【问题描述】:

我正在尝试在 Ubuntu 16.04 上安装 metasploit。我尝试使用命令安装依赖项

sudo apt-get install ruby libopenssl-ruby libyaml-ruby libdl-ruby libiconv-ruby libreadline-ruby irb ri rubygems

但出现以下错误

Building dependency tree       
Reading state information... Done
Note, selecting 'ruby' instead of 'irb'
Note, selecting 'ruby' instead of 'rubygems'
Package libopenssl-ruby is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libopenssl-ruby' has no installation candidate
E: Unable to locate package libyaml-ruby
E: Unable to locate package libdl-ruby
E: Unable to locate package libiconv-ruby
E: Unable to locate package libreadline-ruby 

我也尝试使用命令安装 rvm

 \curl -L https://get.rvm.io | bash -s stable

但它也会出现以下错误

% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: get.rvm.io

谁能为此提出解决方案?

【问题讨论】:

  • 我忘了说,ubuntu 在 vnware 工作站中

标签: ubuntu rvm metasploit


【解决方案1】:

我以前遇到过这个问题,我必须添加一个 ruby​​ 资源/存储库来下载 ruby​​ 模块。您应该将 kali linux 存储库添加到您的资源文件中。

darkoperator 提供替代示例来帮助您:

http://www.darkoperator.com/installing-metasploit-in-ubunt/

【讨论】:

    猜你喜欢
    • 2017-01-18
    • 1970-01-01
    • 2017-01-04
    • 2017-12-31
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-04-12
    • 2018-01-06
    相关资源
    最近更新 更多