{"action":"created","comment":{"url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/comments/36718634","id":36718634,"diff_hunk":"@@ -0,0 +1,13 @@\n+// Captures Server header from the application response and searches cvedetails.com for known target server vulnerabilities.\n+\n+\n+function invokeWith(msg) {\n+\thost = msg.getRequestHeader().getURI().getHost(); ","path":"targeted/search cvedetails using target server header.js","position":5,"original_position":5,"commit_id":"15828a90f67b21b4057dbc6916d7d2a8a754c201","original_commit_id":"15828a90f67b21b4057dbc6916d7d2a8a754c201","user":{"login":"thc202","id":4639210,"avatar_url":"https://avatars.githubusercontent.com/u/4639210?v=3","gravatar_id":"","url":"https://api.github.com/users/thc202","html_url":"https://github.com/thc202","followers_url":"https://api.github.com/users/thc202/followers","following_url":"https://api.github.com/users/thc202/following{/other_user}","gists_url":"https://api.github.com/users/thc202/gists{/gist_id}","starred_url":"https://api.github.com/users/thc202/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thc202/subscriptions","organizations_url":"https://api.github.com/users/thc202/orgs","repos_url":"https://api.github.com/users/thc202/repos","events_url":"https://api.github.com/users/thc202/events{/privacy}","received_events_url":"https://api.github.com/users/thc202/received_events","type":"User","site_admin":false},"body":"This statement should be removed, ```host``` is not used.","created_at":"2015-08-11T07:39:21Z","updated_at":"2015-08-11T07:39:21Z","html_url":"https://github.com/zaproxy/community-scripts/pull/12#discussion_r36718634","pull_request_url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/comments/36718634"},"html":{"href":"https://github.com/zaproxy/community-scripts/pull/12#discussion_r36718634"},"pull_request":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12","id":42075967,"html_url":"https://github.com/zaproxy/community-scripts/pull/12","diff_url":"https://github.com/zaproxy/community-scripts/pull/12.diff","patch_url":"https://github.com/zaproxy/community-scripts/pull/12.patch","issue_url":"https://api.github.com/repos/zaproxy/community-scripts/issues/12","number":12,"state":"open","locked":false,"title":"created search cvedetails using target server header.js","user":{"login":"snoopythesecuritydog","id":12512020,"avatar_url":"https://avatars.githubusercontent.com/u/12512020?v=3","gravatar_id":"","url":"https://api.github.com/users/snoopythesecuritydog","html_url":"https://github.com/snoopythesecuritydog","followers_url":"https://api.github.com/users/snoopythesecuritydog/followers","following_url":"https://api.github.com/users/snoopythesecuritydog/following{/other_user}","gists_url":"https://api.github.com/users/snoopythesecuritydog/gists{/gist_id}","starred_url":"https://api.github.com/users/snoopythesecuritydog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoopythesecuritydog/subscriptions","organizations_url":"https://api.github.com/users/snoopythesecuritydog/orgs","repos_url":"https://api.github.com/users/snoopythesecuritydog/repos","events_url":"https://api.github.com/users/snoopythesecuritydog/events{/privacy}","received_events_url":"https://api.github.com/users/snoopythesecuritydog/received_events","type":"User","site_admin":false},"body":"scripts takes server header, opens the web browser and conducts a search on cvedetails.com","created_at":"2015-08-10T22:58:47Z","updated_at":"2015-08-11T07:39:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2266d221d0ef8ccae9cd848f448fbfe94a8f447a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12/commits","review_comments_url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12/comments","review_comment_url":"https://api.github.com/repos/zaproxy/community-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zaproxy/community-scripts/issues/12/comments","statuses_url":"https://api.github.com/repos/zaproxy/community-scripts/statuses/15828a90f67b21b4057dbc6916d7d2a8a754c201","head":{"label":"snoopythesecuritydog:snoopythesecuritydog-patch-2","ref":"snoopythesecuritydog-patch-2","sha":"15828a90f67b21b4057dbc6916d7d2a8a754c201","user":{"login":"snoopythesecuritydog","id":12512020,"avatar_url":"https://avatars.githubusercontent.com/u/12512020?v=3","gravatar_id":"","url":"https://api.github.com/users/snoopythesecuritydog","html_url":"https://github.com/snoopythesecuritydog","followers_url":"https://api.github.com/users/snoopythesecuritydog/followers","following_url":"https://api.github.com/users/snoopythesecuritydog/following{/other_user}","gists_url":"https://api.github.com/users/snoopythesecuritydog/gists{/gist_id}","starred_url":"https://api.github.com/users/snoopythesecuritydog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoopythesecuritydog/subscriptions","organizations_url":"https://api.github.com/users/snoopythesecuritydog/orgs","repos_url":"https://api.github.com/users/snoopythesecuritydog/repos","events_url":"https://api.github.com/users/snoopythesecuritydog/events{/privacy}","received_events_url":"https://api.github.com/users/snoopythesecuritydog/received_events","type":"User","site_admin":false},"repo":{"id":40509392,"name":"community-scripts","full_name":"snoopythesecuritydog/community-scripts","owner":{"login":"snoopythesecuritydog","id":12512020,"avatar_url":"https://avatars.githubusercontent.com/u/12512020?v=3","gravatar_id":"","url":"https://api.github.com/users/snoopythesecuritydog","html_url":"https://github.com/snoopythesecuritydog","followers_url":"https://api.github.com/users/snoopythesecuritydog/followers","following_url":"https://api.github.com/users/snoopythesecuritydog/following{/other_user}","gists_url":"https://api.github.com/users/snoopythesecuritydog/gists{/gist_id}","starred_url":"https://api.github.com/users/snoopythesecuritydog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoopythesecuritydog/subscriptions","organizations_url":"https://api.github.com/users/snoopythesecuritydog/orgs","repos_url":"https://api.github.com/users/snoopythesecuritydog/repos","events_url":"https://api.github.com/users/snoopythesecuritydog/events{/privacy}","received_events_url":"https://api.github.com/users/snoopythesecuritydog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/snoopythesecuritydog/community-scripts","description":"A collection of ZAP scripts provided by the community - pull requests very welcome!","fork":true,"url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts","forks_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/forks","keys_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/teams","hooks_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/hooks","issue_events_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/events","assignees_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/tags","blobs_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/languages","stargazers_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/stargazers","contributors_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/contributors","subscribers_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/subscribers","subscription_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/subscription","commits_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/merges","archive_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/downloads","issues_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/labels{/name}","releases_url":"https://api.github.com/repos/snoopythesecuritydog/community-scripts/releases{/id}","created_at":"2015-08-10T22:35:16Z","updated_at":"2015-08-10T22:35:17Z","pushed_at":"2015-08-10T23:02:38Z","git_url":"git://github.com/snoopythesecuritydog/community-scripts.git","ssh_url":"git@github.com:snoopythesecuritydog/community-scripts.git","clone_url":"https://github.com/snoopythesecuritydog/community-scripts.git","svn_url":"https://github.com/snoopythesecuritydog/community-scripts","homepage":null,"size":550,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"zaproxy:master","ref":"master","sha":"c03f05aa3e89293b5258fd116e0322a869758e0f","user":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"repo":{"id":28714269,"name":"community-scripts","full_name":"zaproxy/community-scripts","owner":{"login":"zaproxy","id":6716868,"avatar_url":"https://avatars.githubusercontent.com/u/6716868?v=3","gravatar_id":"","url":"https://api.github.com/users/zaproxy","html_url":"https://github.com/zaproxy","followers_url":"https://api.github.com/users/zaproxy/followers","following_url":"https://api.github.com/users/zaproxy/following{/other_user}","gists_url":"https://api.github.com/users/zaproxy/gists{/gist_id}","starred_url":"https://api.github.com/users/zaproxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaproxy/subscriptions","organizations_url":"https://api.github.com/users/zaproxy/orgs","repos_url":"https://api.github.com/users/zaproxy/repos","events_url":"https://api.github.com/users/zaproxy/events{/privacy}","received_events_url":"https://api.github.com/users/zaproxy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zaproxy/community-scripts","description":"A collection of ZAP scripts provided by the community - pull requests very welcome!","fork":false,"url":"https://api.github.com/repos/zaproxy/community-scripts","forks_url":"https://api.github.com/repos/zaproxy/community-scripts/forks","keys_url":"https://api.github.com/repos/zaproxy/community-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zaproxy/community-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zaproxy/community-scripts/teams","hooks_url":"https://api.github.com/repos/zaproxy/community-scripts/hooks","issue_events_url":"https://api.github.com/repos/zaproxy/community-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/zaproxy/community-scripts/events","assignees_url":"https://api.github.com/repos/zaproxy/community-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/zaproxy/community-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/zaproxy/community-scripts/tags","blobs_url":"https://api.github.com/repos/zaproxy/community-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zaproxy/community-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zaproxy/community-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/zaproxy/community-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zaproxy/community-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/zaproxy/community-scripts/languages","stargazers_url":"https://api.github.com/repos/zaproxy/community-scripts/stargazers","contributors_url":"https://api.github.com/repos/zaproxy/community-scripts/contributors","subscribers_url":"https://api.github.com/repos/zaproxy/community-scripts/subscribers","subscription_url":"https://api.github.com/repos/zaproxy/community-scripts/subscription","commits_url":"https://api.github.com/repos/zaproxy/community-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/zaproxy/community-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/zaproxy/community-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/zaproxy/community-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/zaproxy/community-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/zaproxy/community-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zaproxy/community-scripts/merges","archive_url":"https://api.github.com/repos/zaproxy/community-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zaproxy/community-scripts/downloads","issues_url":"https://api.github.com/repos/zaproxy/community-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/zaproxy/community-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/zaproxy/community-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/zaproxy/community-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zaproxy/community-scripts/labels{/name}","releases_url":"https://api.github.com/repos/zaproxy/community-scripts/releases{/id}","created_at":"2015-01-02T13:39:26Z","updated_at":"2015-08-10T21:52:22Z","pushed_at":"2015-08-10T23:08:32Z","git_url":"git://github.com/zaproxy/community-scripts.git","ssh_url":"git@github.com:zaproxy/community-scripts.git","clone_url":"https://github.com/zaproxy/community-scripts.git","svn_url":"https://github.com/zaproxy/community-scripts","homepage":null,"size":550,"stargazers_count":92,"watchers_count":92,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":4,"forks":19,"open_issues":4,"watchers":92,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12"},"html":{"href":"https://github.com/zaproxy/community-scripts/pull/12"},"issue":{"href":"https://api.github.com/repos/zaproxy/community-scripts/issues/12"},"comments":{"href":"https://api.github.com/repos/zaproxy/community-scripts/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zaproxy/community-scripts/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/zaproxy/community-scripts/statuses/15828a90f67b21b4057dbc6916d7d2a8a754c201"}}}}