我正在尝试在Raspberry Pi型号B +上安装Metasploit
因为我是Metasploit和Gems环境的新手,所以我关注此链接中的详细信息在Raspberry上安装Metasploit之前,一切正常,直到达到捆绑状态
root@ raspberrypi: ~/msf3# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
sh: 1: cannot create /2015110401 / null: Directory nonexistent
fatal: Not a git repository(or any of the parent directories): .git
Fetching gem metadata from https: //rubygems.org/.........
Fetching version metadata from https: //rubygems.org/..
Resolving dependencies............................................................................
Using rake 10.4.2
Using i18n 0.7.0
Using minitest 4.7.5
Using multi_json 1.11.2
Using thread_safe 0.3.5
Using tzinfo 0.3.44
Using activesupport 4.0.13
Using builder 3.1.4
Using erubis 2.7.0
Using rack 1.5.5
Using rack - test 0.6.3
Using actionpack 4.0.13
Using mime - types 2.6.1
Using mail 2.6.3
Using actionmailer 4.0.13
Using activemodel 4.0.13
Using activerecord - deprecated_finders 1.0.4
Using arel 4.0.2
Using activerecord 4.0.13
Using arel - helpers 2.1.0
Using ffi 1.9.8
Using childprocess 0.5.5
Using diff - lcs 1.2.5
Using gherkin 2.12.2
Using multi_test 0.1.2
Using cucumber 1.3.19
Using rspec - expectations 2.99.2
Using aruba 0.6.2
Using bcrypt 3.1.10
Using bundler 1.10.6
Using mini_portile 0.6.2
Using nokogiri 1.6.6.2
Using xpath 2.0.0
Using capybara 2.4.4
Using coderay 1.1.0
Using thor 0.19.1
Using railties 4.0.13
Using hike 1.2.3
Using tilt 1.4.1
Using sprockets 2.12.3
Using sprockets - rails 2.2.4
Using rails 4.0.13
Using cucumber - rails 1.4.2
Using docile 1.1.5
Using factory_girl 4.5.0
Using factory_girl_rails 4.5.0
Using fivemat 1.2.1
Using rkelly - remix 0.0.6
Using jsobfu 0.2.1
Using json 1.8.3
Using metasm 1.0.2
Installing metasploit - concern 1.0.0
Gem::InstallError: metasploit - concern requires Ruby version >= 2.1.
An error occurred
while installing metasploit - concern(1.0.0), and Bundler
cannot
continue.
Make sure that `gem install metasploit-concern -v '1.0.0'`
succeeds before
bundling.
所以说我应该安装metasploit-concern v 1.0.0
然后,我尝试同时使用以下两个代码gem install metasploit-concern -v '1.0.0'
,gem install metasploit-concern
ERROR: Error installing metasploit-concern:
metasploit-concern requires Ruby version >= 2.1.
所以我尝试安装Ruby 2.1和ruby
root@raspberrypi:~/msf3# gem install Ruby -v '2.1' ERROR: Could not find a valid gem 'Ruby' (= 2.1) in any repository ERROR: Possible alternatives: ruby
root@raspberrypi:~/msf3# gem install ruby ERROR: Could not find a valid gem 'ruby' (>= 0) in any repository ERROR: Possible alternatives: ruby
现在,您可以看到它是一个漏洞,我被卡住了
ps *也已经安装了ruby-dev *尝试在R uby和r uby之间进行每次切换*捆绑时说(使用)而不是(安装),因为我尝试重新运行该捆绑包以查看它是否可以工作)*我也尝试了采购gem sources -a https://rubygems.org
。和gem sources -a https://rubygems.org
我试图提供所有可能的信息,也许有用,也许没有用..以防万一
我将非常感谢您的帮助预先感谢
欢呼班达尔
Ruby不是宝石。Ruby是编程语言。
该错误告诉您的是,您计算机上的Ruby版本(尝试运行ruby --version
)低于您尝试安装的应用程序所需的版本。
我特别不熟悉Metasploit,但是您的选择似乎是:
尝试升级您已安装的(apt-get update && apt-get upgrade
),
如果您正在使用存储库中提供的最新版本的Ruby,请尝试使用Ruby版本管理器(我的首选是rbenv,但是每个都有其优点),或者
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句