Metasploit ---- Could not find rake

2024-05-31 02:08
文章标签 could find metasploit rake

本文主要是介绍Metasploit ---- Could not find rake,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

昨天更新了一下系统,今天Metasploit出了点问题,如下所示:

nixawk@paul:~/sectools/metasploit-framework$ ./msfconsole
/home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `map!'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `materialize'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in `specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in `specs_for'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in `requested_specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in `requested_specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in `setup'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler.rb:121:in `setup'
    from /home/nixawk/sectools/metasploit-framework/config/boot.rb:33:in `<top (required)>'
    from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./msfconsole:45:in `<main>'
offensive@paul:~/sectools/metasploit-framework$ ./msfconsole -L
/home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find rake-10.3.2 in any of the sources (Bundler::GemNotFound)
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `map!'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/spec_set.rb:85:in `materialize'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:132:in `specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:177:in `specs_for'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/definition.rb:166:in `requested_specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/environment.rb:18:in `requested_specs'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler/runtime.rb:13:in `setup'
    from /home/nixawk/.rvm/gems/ruby-1.9.3-p550@metasploit-framework/gems/bundler-1.7.4/lib/bundler.rb:121:in `setup'
    from /home/nixawk/sectools/metasploit-framework/config/boot.rb:33:in `<top (required)>'
    from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /home/nixawk/.rvm/rubies/ruby-1.9.3-p550/lib/ruby/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:55:in `require'
    from ./msfconsole:45:in `<main>'
nixawk@paul:~/sectools/metasploit-framework$ bundle install --path vendor/cache
Fetching gem metadata from https://rubygems.org/.........

解决方法:

bundle install --path vendor/cache



参考链接:
http://stackoverflow.com/questions/14247996/could-not-find-rake-10-0-3-in-any-of-the-sources-when-working-with-whenever-and

这篇关于Metasploit ---- Could not find rake的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1017242

相关文章

Caused by: org.hibernate.MappingException: Could not determine type for: org.cgh.ssh.pojo.GoodsType,

MappingException:这个主要是类映射上的异常,Could not determine type for: org.cgh.ssh.pojo.GoodsType,这句话表示GoodsType这个类没有被映射到

MongoDB学习—(6)MongoDB的find查询比较符

首先,先通过以下函数向BookList集合中插入10000条数据 function insertN(obj,n){var i=0;while(i<n){obj.insert({id:i,name:"bookNumber"+i,publishTime:i+2000})i++;}}var BookList=db.getCollection("BookList")调用函数,这样,BookList

Hibernate插入数据时,报错:org.springframework.dao.DataIntegrityViolationException: could not insert: [cn.itc

在用junit测试:插入数据时,报一下错误: 错误原因: package junit;import org.junit.Test;import cn.itcast.crm.container.ServiceProvinder;import cn.itcast.crm.dao.ISysUserDao;import cn.itcast.crm.domain.SysRole;

【NodeJS】Error: Cannot find module 'ms'

转载自:http://blog.csdn.net/echo_ae/article/details/75097004 问题: Error: Cannot find module 'ms'at Function.Module._resolveFilename (module.js:469:15)at Function.Module._load (module.js:417:25)at Module

leetCode#448. Find All Numbers Disappeared in an Array

Description Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] inclusive that do not appear in this

访问controller404:The origin server did not find a current representation for the target resource

ider build->rebuild project。Rebuild:对选定的目标(Project),进行强制性编译,不管目标是否是被修改过。由于 Rebuild 的目标只有 Project,所以 Rebuild 每次花的时间会比较长。 参考:资料

mybatis错误——java.io.IOException Could not find resource comxxxxxxMapper.xml

在学习Mybatis的时候,参考网上的教程进行简单demo的搭建,配置的没有问题,然后出现了下面的错误! Exception in thread "main" java.lang.RuntimeException: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause:

Docker容器创建时,无法访问镜像源:Could not connect to archive.ubuntu.com:80

1.问题描述 当基于dockerfile创建容器时,遇到Could not connect to ...、Failed to fetch ...等异常时,大概原因是没有配置好容器创建所需的镜像源。这里以Ubuntu基础镜像源为例。 dockerfile内容 FROM ubuntuRUN apt update && apt install python3 -y && apt install

the following classes could not be found android.support.v7.internal.

打开XML的界面时候显示 rendering problems: the following classes could not be found android.support.v7.internal.....。 后来发现http://stackoverflow.com/questions/33742114/the-following-classes-could-not-be-fou

解决Metasploit调用Nessus报错问题

问题描述 Error while running command nessus_scan_new: undefined method `[]’ for nil:NilClass 解决方法 发现报错,经过网上查询解决方法 在Nessus服务器执行,下面的版本号可能有所不同,根据自己的情况更改,需要管理员身份执行。 curl "https://raw.githubuserconte