View Issue Details

IDProjectCategoryView StatusLast Update
0001731Kali Linux[All Projects] Kali Package Bugpublic2020-12-01 10:48
Reporterpepelegal Assigned Tomuts  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.0.9 
Target VersionFixed in Version1.1.0 
Summary0001731: Metasploit 4.10.0-2014091001 crashs on creds command
DescriptionWhe the user runs the command 'creds' on console the msf crashs showing this:
[-] Error while running command creds: Could not find the inverse association for service (:logins in Mdm::Service)

Call stack:
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/reflection.rb:246:in `check_validity_of_inverse!'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/reflection.rb:240:in `check_validity!'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations/association.rb:26:in `initialize'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations.rb:160:in `new'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations.rb:160:in `association'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations/builder/association.rb:44:in `block in define_readers'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/db.rb:882:in `block (3 levels) in creds_search'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations/collection_proxy.rb:91:in `each'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/associations/collection_proxy.rb:91:in `method_missing'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/db.rb:866:in `block (2 levels) in creds_search'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/relation/delegation.rb:6:in `each'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/relation/delegation.rb:6:in `each'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/db.rb:840:in `block in creds_search'
/opt/metasploit/apps/pro/vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:129:in `with_connection'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/db.rb:835:in `creds_search'
/usr/share/metasploit-framework/lib/msf/ui/console/command_dispatcher/db.rb:942:in `cmd_creds'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:427:in `run_command'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:389:in `block in run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `each'
/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:383:in `run_single'
/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:200:in `run'
/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:15:in `start'
/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'
/opt/metasploit/apps/pro/msf3/msfconsole:22:in `<main>'
Steps To Reproduce1) Start postgresql service;
2) Start metasploit service;
3) Start msfconsole;
4) Type creds then press ENTER.
Additional InformationNone.

Activities

pepelegal

2014-09-23 12:08

reporter   ~0002520

The bug happens only if there is credentials on the database.

pepelegal

2014-09-26 15:55

reporter   ~0002527

Last edited: 2014-09-26 15:56

View 2 revisions

Ok. Today, 2014-09-26, the bug dissapeared after the las update (4.10.0-2014092501).
Any admin please close the thread.

muts

2014-09-26 16:03

reporter   ~0002528

Good to hear, thanks!

Issue History

Date Modified Username Field Change
2014-09-22 23:46 pepelegal New Issue
2014-09-23 12:08 pepelegal Note Added: 0002520
2014-09-26 15:55 pepelegal Note Added: 0002527
2014-09-26 15:56 pepelegal Note Edited: 0002527 View Revisions
2014-09-26 16:03 muts Note Added: 0002528
2014-09-26 16:03 muts Status new => closed
2014-09-26 16:03 muts Assigned To => muts
2014-09-26 16:03 muts Resolution open => fixed
2014-09-26 16:03 muts Fixed in Version => 1.1.0
2014-09-26 16:03 muts Status closed => resolved
2014-10-14 11:11 jukkapach1 Issue cloned: 0001822
2020-12-01 10:48 g0tmi1k Priority high => normal