{"action":"created","issue":{"url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/9","repository_url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins","labels_url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/9/comments","events_url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/9/events","html_url":"https://github.com/darkoperator/Metasploit-Plugins/issues/9","id":191680217,"number":9,"title":"Error running discover_db with pentest plugin","user":{"login":"jetster426","id":11777258,"avatar_url":"https://avatars.githubusercontent.com/u/11777258?v=3","gravatar_id":"","url":"https://api.github.com/users/jetster426","html_url":"https://github.com/jetster426","followers_url":"https://api.github.com/users/jetster426/followers","following_url":"https://api.github.com/users/jetster426/following{/other_user}","gists_url":"https://api.github.com/users/jetster426/gists{/gist_id}","starred_url":"https://api.github.com/users/jetster426/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jetster426/subscriptions","organizations_url":"https://api.github.com/users/jetster426/orgs","repos_url":"https://api.github.com/users/jetster426/repos","events_url":"https://api.github.com/users/jetster426/events{/privacy}","received_events_url":"https://api.github.com/users/jetster426/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-11-25T11:19:16Z","updated_at":"2016-11-25T21:59:15Z","closed_at":"2016-11-25T21:59:15Z","body":"Morning wondering if you could assist please.\r\nI have updated my metasploit install to 4.13.0-dev\r\nI tried to use the plugin and tried discover_db and network_discover, following the update the following error was returned:\r\n[-] Error while running command network_discover: undefined method `find_all_by_state' for #<Mdm::Host::ActiveRecord_Associations_CollectionProxy:0x007f4419531448>\r\n\r\nCall stack:\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/relation/delegation.rb:136:in `method_missing'\r\n/usr/share/metasploit-framework/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.7.1/lib/active_record/relation/delegation.rb:99:in `method_missing'\r\n/usr/share/metasploit-framework/plugins/pentest.rb:1409:in `cmd_network_discover'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:430:in `run_command'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:392:in `block in run_single'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `each'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/dispatcher_shell.rb:386:in `run_single'\r\n/usr/share/metasploit-framework/lib/rex/ui/text/shell.rb:205:in `run'\r\n/usr/share/metasploit-framework/lib/metasploit/framework/command/console.rb:48:in `start'\r\n/usr/share/metasploit-framework/lib/metasploit/framework/command/base.rb:82:in `start'\r\n/usr/bin/msfconsole:48:in `<main>'\r\n\r\nAny assistance would be greatly appreciated.\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/comments/263026528","html_url":"https://github.com/darkoperator/Metasploit-Plugins/issues/9#issuecomment-263026528","issue_url":"https://api.github.com/repos/darkoperator/Metasploit-Plugins/issues/9","id":263026528,"user":{"login":"darkoperator","id":521246,"avatar_url":"https://avatars.githubusercontent.com/u/521246?v=3","gravatar_id":"","url":"https://api.github.com/users/darkoperator","html_url":"https://github.com/darkoperator","followers_url":"https://api.github.com/users/darkoperator/followers","following_url":"https://api.github.com/users/darkoperator/following{/other_user}","gists_url":"https://api.github.com/users/darkoperator/gists{/gist_id}","starred_url":"https://api.github.com/users/darkoperator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkoperator/subscriptions","organizations_url":"https://api.github.com/users/darkoperator/orgs","repos_url":"https://api.github.com/users/darkoperator/repos","events_url":"https://api.github.com/users/darkoperator/events{/privacy}","received_events_url":"https://api.github.com/users/darkoperator/received_events","type":"User","site_admin":false},"created_at":"2016-11-25T21:59:15Z","updated_at":"2016-11-25T21:59:15Z","body":"just pushed version 1.4 with a fix"}}
{"actor":{"display_login":"darkoperator"}}