{"action":"closed","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7160","repository_url":"https://api.github.com/repos/rapid7/metasploit-framework","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7160/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7160/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/7160/events","html_url":"https://github.com/rapid7/metasploit-framework/issues/7160","id":168352357,"number":7160,"title":"Auxiliary failed: NoMethodError undefined method `auth_info' for #<Net::SSH::Connection::Session:0x1232f6ec>","user":{"login":"kingkod","id":20727216,"avatar_url":"https://avatars.githubusercontent.com/u/20727216?v=3","gravatar_id":"","url":"https://api.github.com/users/kingkod","html_url":"https://github.com/kingkod","followers_url":"https://api.github.com/users/kingkod/followers","following_url":"https://api.github.com/users/kingkod/following{/other_user}","gists_url":"https://api.github.com/users/kingkod/gists{/gist_id}","starred_url":"https://api.github.com/users/kingkod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingkod/subscriptions","organizations_url":"https://api.github.com/users/kingkod/orgs","repos_url":"https://api.github.com/users/kingkod/repos","events_url":"https://api.github.com/users/kingkod/events{/privacy}","received_events_url":"https://api.github.com/users/kingkod/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-29T15:36:08Z","updated_at":"2016-08-23T19:55:01Z","closed_at":"2016-08-23T19:55:01Z","body":"## Steps to reproduce\r\nI apologize in advanced if I did not do this correctly.  I am newbie.\r\n\r\nHow'd you do it?\r\n\r\n1. ran msfupdate  - note this just worked before I ran this\r\n2. use auxiliary/scanner/ssh/ssh_login_pubkey\r\n3.  Set the parameters and ran\r\n[*] 10.11.1.136:22 SSH - Testing Cleartext Keys\r\n[*] SSH - Testing 1 keys from /home/k0d/10.11.1.x/f1fb2162a02f0f7c40c210e6167f05ca-16858\r\n[+] SSH - Success: 'bob:-----BEGIN DSA PRIVATE KEY-----\r\nMIIBvAIBAAKBgQDoM8zAg9yJuW0ZwFXVd8i8E7MjQItyIhUoSH8fW1HFDZshQzO0\r\nmha1QbriFvtqpwxe78mz4jDSPf3UO3JNoC1Kj7theIH15pfFvUSnKkzlZLEZkObN\r\nDuHPPJgqldxdZ8yijEmWyvcmFm2n2m1/dX9kopwUGW3zBr/Pkdk8hO/C4wIVANe0\r\nns\r\n-----END DSA PRIVATE KEY-----\r\n' 'uid=1001(bob) gid=1001(bob) groups=1001(bob) Linux sufferance 2.6.30.5-ph33r #1 SMP Sat Aug 29 16:20:59 EDT 2009 i686 GNU/Linux '\r\n[-] Auxiliary failed: NoMethodError undefined method `auth_info' for #<Net::SSH::Connection::Session:0x1232f6ec>\r\n[-] Call stack:\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:160:in `session_setup'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:232:in `block in run_host'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/login_scanner/base.rb:225:in `block in scan!'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/login_scanner/base.rb:179:in `block in each_credential'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:304:in `block in each'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:311:in `block in each_key'\r\n[-]   /opt/metasploit-framework/embedded/lib/ruby/2.1.0/set.rb:263:in `each_key'\r\n[-]   /opt/metasploit-framework/embedded/lib/ruby/2.1.0/set.rb:263:in `each'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:310:in `each_key'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:303:in `each'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/login_scanner/base.rb:141:in `each_credential'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/metasploit/framework/login_scanner/base.rb:204:in `scan!'\r\n[-]   /opt/metasploit-framework/embedded/framework/modules/auxiliary/scanner/ssh/ssh_login_pubkey.rb:220:in `run_host'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/msf/core/auxiliary/scanner.rb:133:in `block (2 levels) in run'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:100:in `call'\r\n[-]   /opt/metasploit-framework/embedded/framework/lib/msf/core/thread_manager.rb:100:in `block in spawn'\r\n\r\n\r\nThis section should also tell us any relevant information about the\r\nenvironment; for example, if an exploit that used to work is failing,\r\ntell us the victim operating system and service versions.\r\n\r\n## Expected behavior\r\nIt just worked before I issued msfupdate.  It broke on my Kali instance and now on my Debian.\r\n\r\nWhat should happen?\r\nIt should have given me a session.\r\n\r\n## Current behavior\r\n\r\n\r\nWhat happens instead?\r\n\r\nYou might also want to check the last ~1k lines of\r\n`/opt/metasploit/apps/pro/engine/config/logs/framework.log` or\r\n`~/.msf4/logs/framework.log` for relevant stack traces\r\n\r\n\r\n## System stuff\r\n\r\n### Metasploit version \r\nmetasploit v4.12.16-dev-c682490c1b6f15f69f979fccd0a0cf2fe6b976e7\r\n\r\nGet this with the `version` command in msfconsole (or `git log -1 --pretty=oneline` for a source install).\r\nFramework: 4.12.16-dev-c682490c1b6f15f69f979fccd0a0cf2fe6b976e7\r\nConsole  : 4.12.16-dev-c682490c1b6f15f69f979fccd0a0cf2fe6b976e7\r\n\r\n### I installed Metasploit with:\r\n- [ ] Kali package via git\r\n\r\n\r\n### OS\r\n\r\nWhat OS are you running Metasploit on? \r\nLinux debian 4.6.0-1-686-pae #1 SMP Debian 4.6.4-1 (2016-07-18) i686 GNU/Linux\r\n\r\n\r\n"}}
{"actor":{"display_login":"pbarry-r7"}}