{"action":"closed","number":5507,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507","id":37136737,"html_url":"https://github.com/rapid7/metasploit-framework/pull/5507","diff_url":"https://github.com/rapid7/metasploit-framework/pull/5507.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/5507.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5507","number":5507,"state":"closed","locked":false,"title":"Update nessus_xmlrpc_logic to use the new creds API","user":{"login":"void-in","id":1746697,"avatar_url":"https://avatars.githubusercontent.com/u/1746697?v=3","gravatar_id":"","url":"https://api.github.com/users/void-in","html_url":"https://github.com/void-in","followers_url":"https://api.github.com/users/void-in/followers","following_url":"https://api.github.com/users/void-in/following{/other_user}","gists_url":"https://api.github.com/users/void-in/gists{/gist_id}","starred_url":"https://api.github.com/users/void-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/void-in/subscriptions","organizations_url":"https://api.github.com/users/void-in/orgs","repos_url":"https://api.github.com/users/void-in/repos","events_url":"https://api.github.com/users/void-in/events{/privacy}","received_events_url":"https://api.github.com/users/void-in/received_events","type":"User","site_admin":false},"body":"This PR updates the modules/auxiliary/scanner/nessus/nessus_xmlrpc_login module to use the new creds API.\r\n\r\nNessus version 5 or later are using REST API and not XMLRPC. This module is to keep it for legacy Nessus installations. The following procedure was used for testing the module changes:\r\n* Start msfconsole\r\n* Do: irb\r\n* Run the following commands<br/>\r\nmod = framework.auxiliary.create('scanner/nessus/nessus_xmlrpc_login')\r\n<br/>\r\nmod.report_cred(ip: '1.1.1.1', port: '8834', user: 'admin', password: 'mypassword', service_name: 'nessus-xmlrpc')\r\n* Exit the irb through exit command\r\n* Run creds command. You should see:\r\n```ruby\r\nCredentials\r\n===========\r\n\r\nhost     service                   public  private     realm  private_type\r\n----     -------                   ------  -------     -----  ------------\r\n1.1.1.1  8834/tcp (nessus-xmlrpc)  admin   mypassword         Password\r\n```","created_at":"2015-06-08T09:47:16Z","updated_at":"2015-06-15T07:59:33Z","closed_at":"2015-06-15T07:59:33Z","merged_at":"2015-06-15T07:59:33Z","merge_commit_sha":"6787a0ad554b696e2903f3e2444aa575be59be71","assignee":{"login":"wchen-r7","id":1170914,"avatar_url":"https://avatars.githubusercontent.com/u/1170914?v=3","gravatar_id":"","url":"https://api.github.com/users/wchen-r7","html_url":"https://github.com/wchen-r7","followers_url":"https://api.github.com/users/wchen-r7/followers","following_url":"https://api.github.com/users/wchen-r7/following{/other_user}","gists_url":"https://api.github.com/users/wchen-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/wchen-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchen-r7/subscriptions","organizations_url":"https://api.github.com/users/wchen-r7/orgs","repos_url":"https://api.github.com/users/wchen-r7/repos","events_url":"https://api.github.com/users/wchen-r7/events{/privacy}","received_events_url":"https://api.github.com/users/wchen-r7/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507/comments","review_comment_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5507/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/3fe6ddd10a00cb9cb565d1f32a14feadc8fec94b","head":{"label":"void-in:nessus_xml_rpc_creds_api","ref":"nessus_xml_rpc_creds_api","sha":"3fe6ddd10a00cb9cb565d1f32a14feadc8fec94b","user":{"login":"void-in","id":1746697,"avatar_url":"https://avatars.githubusercontent.com/u/1746697?v=3","gravatar_id":"","url":"https://api.github.com/users/void-in","html_url":"https://github.com/void-in","followers_url":"https://api.github.com/users/void-in/followers","following_url":"https://api.github.com/users/void-in/following{/other_user}","gists_url":"https://api.github.com/users/void-in/gists{/gist_id}","starred_url":"https://api.github.com/users/void-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/void-in/subscriptions","organizations_url":"https://api.github.com/users/void-in/orgs","repos_url":"https://api.github.com/users/void-in/repos","events_url":"https://api.github.com/users/void-in/events{/privacy}","received_events_url":"https://api.github.com/users/void-in/received_events","type":"User","site_admin":false},"repo":{"id":30133969,"name":"metasploit-framework","full_name":"void-in/metasploit-framework","owner":{"login":"void-in","id":1746697,"avatar_url":"https://avatars.githubusercontent.com/u/1746697?v=3","gravatar_id":"","url":"https://api.github.com/users/void-in","html_url":"https://github.com/void-in","followers_url":"https://api.github.com/users/void-in/followers","following_url":"https://api.github.com/users/void-in/following{/other_user}","gists_url":"https://api.github.com/users/void-in/gists{/gist_id}","starred_url":"https://api.github.com/users/void-in/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/void-in/subscriptions","organizations_url":"https://api.github.com/users/void-in/orgs","repos_url":"https://api.github.com/users/void-in/repos","events_url":"https://api.github.com/users/void-in/events{/privacy}","received_events_url":"https://api.github.com/users/void-in/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/void-in/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/void-in/metasploit-framework","forks_url":"https://api.github.com/repos/void-in/metasploit-framework/forks","keys_url":"https://api.github.com/repos/void-in/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/void-in/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/void-in/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/void-in/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/void-in/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/void-in/metasploit-framework/events","assignees_url":"https://api.github.com/repos/void-in/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/void-in/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/void-in/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/void-in/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/void-in/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/void-in/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/void-in/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/void-in/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/void-in/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/void-in/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/void-in/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/void-in/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/void-in/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/void-in/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/void-in/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/void-in/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/void-in/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/void-in/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/void-in/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/void-in/metasploit-framework/merges","archive_url":"https://api.github.com/repos/void-in/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/void-in/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/void-in/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/void-in/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/void-in/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/void-in/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/void-in/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/void-in/metasploit-framework/releases{/id}","created_at":"2015-02-01T02:35:12Z","updated_at":"2015-05-08T17:53:58Z","pushed_at":"2015-06-10T09:23:17Z","git_url":"git://github.com/void-in/metasploit-framework.git","ssh_url":"git@github.com:void-in/metasploit-framework.git","clone_url":"https://github.com/void-in/metasploit-framework.git","svn_url":"https://github.com/void-in/metasploit-framework","homepage":"http://www.metasploit.com/","size":460308,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"a39539f8efcde6d950c24ef449b449570592ec1e","user":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"repo":{"id":2293158,"name":"metasploit-framework","full_name":"rapid7/metasploit-framework","owner":{"login":"rapid7","id":1013671,"avatar_url":"https://avatars.githubusercontent.com/u/1013671?v=3","gravatar_id":"","url":"https://api.github.com/users/rapid7","html_url":"https://github.com/rapid7","followers_url":"https://api.github.com/users/rapid7/followers","following_url":"https://api.github.com/users/rapid7/following{/other_user}","gists_url":"https://api.github.com/users/rapid7/gists{/gist_id}","starred_url":"https://api.github.com/users/rapid7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rapid7/subscriptions","organizations_url":"https://api.github.com/users/rapid7/orgs","repos_url":"https://api.github.com/users/rapid7/repos","events_url":"https://api.github.com/users/rapid7/events{/privacy}","received_events_url":"https://api.github.com/users/rapid7/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rapid7/metasploit-framework","description":"Metasploit Framework","fork":false,"url":"https://api.github.com/repos/rapid7/metasploit-framework","forks_url":"https://api.github.com/repos/rapid7/metasploit-framework/forks","keys_url":"https://api.github.com/repos/rapid7/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/rapid7/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/metasploit-framework/events","assignees_url":"https://api.github.com/repos/rapid7/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/rapid7/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/rapid7/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/rapid7/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/rapid7/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/metasploit-framework/merges","archive_url":"https://api.github.com/repos/rapid7/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/metasploit-framework/releases{/id}","created_at":"2011-08-30T06:13:20Z","updated_at":"2015-06-14T23:18:47Z","pushed_at":"2015-06-15T07:59:28Z","git_url":"git://github.com/rapid7/metasploit-framework.git","ssh_url":"git@github.com:rapid7/metasploit-framework.git","clone_url":"https://github.com/rapid7/metasploit-framework.git","svn_url":"https://github.com/rapid7/metasploit-framework","homepage":"http://www.metasploit.com/","size":1067791,"stargazers_count":3924,"watchers_count":3924,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3150,"mirror_url":null,"open_issues_count":221,"forks":3150,"open_issues":221,"watchers":3924,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/5507"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5507"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5507/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5507/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/3fe6ddd10a00cb9cb565d1f32a14feadc8fec94b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"wchen-r7","id":1170914,"avatar_url":"https://avatars.githubusercontent.com/u/1170914?v=3","gravatar_id":"","url":"https://api.github.com/users/wchen-r7","html_url":"https://github.com/wchen-r7","followers_url":"https://api.github.com/users/wchen-r7/followers","following_url":"https://api.github.com/users/wchen-r7/following{/other_user}","gists_url":"https://api.github.com/users/wchen-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/wchen-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wchen-r7/subscriptions","organizations_url":"https://api.github.com/users/wchen-r7/orgs","repos_url":"https://api.github.com/users/wchen-r7/repos","events_url":"https://api.github.com/users/wchen-r7/events{/privacy}","received_events_url":"https://api.github.com/users/wchen-r7/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":35,"deletions":13,"changed_files":1}}