neutralboy Posted November 17, 2016 Share Posted November 17, 2016 Whenever I type the following: pc@pc-eME732Z ~/Downloads/metasploit-framework-master $ msfconsole /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- robots (LoadError) from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require' from /opt/metasploit-framework/lib/metasploit/framework.rb:18:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/database.rb:1:in `require' from /opt/metasploit-framework/lib/metasploit/framework/database.rb:1:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in `require' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/base.rb:17:in `<top (required)>' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in `require' from /opt/metasploit-framework/lib/metasploit/framework/parsed_options/console.rb:2:in `<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `const_get' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `block in constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:73:in `parsed_options_class' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:69:in `parsed_options' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:47:in `require_environment!' from /opt/metasploit-framework/lib/metasploit/framework/command/base.rb:81:in `start' from /usr/local/bin/msfconsole:48:in `<main>' Please help !!! I use LInux Mint 32 bit Quote Link to comment Share on other sites More sharing options...
m40295 Posted November 17, 2016 Share Posted November 17, 2016 ./msfconsole or python msfconsole should work Or sudo Quote Link to comment Share on other sites More sharing options...
jermzz Posted November 18, 2016 Share Posted November 18, 2016 (edited) Cd metaspoit-framework directory. Gem install activesupport or gem install bundler bundle install Edited November 18, 2016 by jermzz Quote Link to comment Share on other sites More sharing options...
neutralboy Posted November 19, 2016 Author Share Posted November 19, 2016 @m40295 The metasploit framework is built in Ruby, so python msfconsole does not work. By executing ./msfconsole I have the following errors, pc@pc-eME732Z ~/Downloads/metasploit-framework-master $ ./msfconsole fatal: Not a git repository (or any of the parent directories): .git /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- robots (LoadError) from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `block in require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:240:in `load_dependency' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/dependencies.rb:274:in `require' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework.rb:18:in `<top (required)>' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/database.rb:1:in `require' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/database.rb:1:in `<top (required)>' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/parsed_options/base.rb:17:in `require' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/parsed_options/base.rb:17:in `<top (required)>' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/parsed_options/console.rb:2:in `require' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/parsed_options/console.rb:2:in `<top (required)>' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `require' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `const_get' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:263:in `block in constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `each' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `inject' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/inflector/methods.rb:259:in `constantize' from /var/lib/gems/2.3.0/gems/activesupport-4.2.7.1/lib/active_support/core_ext/string/inflections.rb:66:in `constantize' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/command/base.rb:73:in `parsed_options_class' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/command/base.rb:69:in `parsed_options' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/command/base.rb:47:in `require_environment!' from /home/pc/Downloads/metasploit-framework-master/lib/metasploit/framework/command/base.rb:81:in `start' from ./msfconsole:48:in `<main>' and, @jermzz $ sudo gem install bundler didn't work but $sudo gem install activesupport worked thank you!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.