|
|
Thanks. The R7 team are aware of this and are working on fix. |
|
|
|
Until we have a fix, a workaround is to run "msfpro" instead of "msfconsole". If you don't have msfpro, install the metasploit package. |
|
|
|
An updated Kali package has been pushed to the repos. The package now works, although it loads with a cosmetic warning message:
/usr/share/metasploit-framework/config/boot.rb:4: warning: already initialized constant GEMFILE_EXTENSIONS
You did not specify how you would like Rails to report deprecation notices for your production environment, please set config.active_support.deprecation to :notify at config/environments/production.rb
[-] WARNING! The following modules could not be loaded!
[-] /opt/metasploit/apps/pro/metamodules/firewall_egress/modules/auxiliary/metamodule/firewall_egress.rb: NameError uninitialized constant Msf::Pro::Task
This will be addressed in the next MSF release. |
|
|
|
After update, app crashes.
root@kali:~# msfconsole
/usr/share/metasploit-framework/config/boot.rb:4: warning: already initialized constant GEMFILE_EXTENSIONS
You did not specify how you would like Rails to report deprecation notices for your production environment, please set config.active_support.deprecation to :notify at config/environments/production.rb
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in initialize': could not connect to server: Connection refused (PG::ConnectionBad) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:innew'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:1222:in connect' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:324:ininitialize'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:28:in new' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/postgresql_adapter.rb:28:inpostgresql_connection'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in new_connection' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:incheckout_new_connection'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in block (2 levels) in checkout' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:inloop'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in block in checkout' from /usr/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in checkout' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:inblock in connection'
from /usr/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:inconnection'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in retrieve_connection' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:inretrieve_connection'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in connection' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/model_schema.rb:310:inclear_cache!'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/railtie.rb:103:in block (2 levels) in <class:Railtie>' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:418:in_run1074960142519877751prepare3861920060903562650callbacks'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:405:in __run_callback' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:385:in_run_prepare_callbacks'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/callbacks.rb:81:in run_callbacks' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.17/lib/action_dispatch/middleware/reloader.rb:74:inprepare!'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.17/lib/action_dispatch/middleware/reloader.rb:48:in prepare!' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/application/finisher.rb:47:inblock in <module:Finisher>'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/initializable.rb:30:in instance_exec' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/initializable.rb:30:inrun'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/initializable.rb:55:in block in run_initializers' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/initializable.rb:54:ineach'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/initializable.rb:54:in run_initializers' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/application.rb:136:ininitialize!'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/railtie/configurable.rb:30:in method_missing' from /usr/share/metasploit-framework/config/environment.rb:5:in<top (required)>'
from /usr/share/metasploit-framework/lib/fastlib.rb:374:in require' from /usr/share/metasploit-framework/lib/fastlib.rb:374:inrequire'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/polyglot-0.3.3/lib/polyglot.rb:63:in require' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:inblock in require'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:236:in load_dependency' from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.17/lib/active_support/dependencies.rb:251:inrequire'
from /opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/railties-3.2.17/lib/rails/application.rb:103:in require_environment!' from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:68:inrequire_environment!'
from /usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:86:in start' from /opt/metasploit/apps/pro/msf3/msfconsole:26:in<main>' |
|
|
|
Looks like you haven't started postgresql. |
|
|
|
Works, thx for the quick fix! |
|
|
|
upstream bug https://dev.metasploit.com/redmine/issues/8839 |
|
|
|
thanks rapid7 quick work. |
|
|
|
The issue I'm still having is after getting into msfconsole the go_pro doesn't work. Here is the error I'm getting:
msf > go_pro
[-] Unable to access log file: /usr/share/engine/prosvc_stdout.log
On an unrelated side note: great to meet muts at the Rapid7 party in Vegas. |
|
|
|
I get the same error for go_pro. |
|
|
|
I've opened an issue in the private Metasploit issue tracker for the go_pro command. Thank you for reporting this. |
|
|
|
Get the same error for pro as well. |
|
|
|
same issue as above +1 more confirm. |
|
|
|
Fixed in 1.1.0a |
|