{"action":"created","comment":{"url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/comments/66724554","id":66724554,"diff_hunk":"@@ -154,15 +172,16 @@ def isScript(self, requestResponse):\n             if len(contentTypeL) == 1:\n                 contentType = contentTypeL[0].lower()\n             statusCode = responseInfo.getStatusCode()\n-            if (any(content in contentType for content in possibleContentTypes) or \"script\" in inferredMimeType or \"script\" in mimeType) and (int(statusCode) < 300 or int(statusCode) > 399):\n-                return True\n+            if (any(content in contentType for content in possibleContentTypes) or \"script\" in inferredMimeType or \"script\" in mimeType):\n+              return True","path":"DetectDynamicJS.py","position":61,"original_position":61,"commit_id":"e4a367169e6aa236c02c5e9b1ba9f4bda22c7956","original_commit_id":"e4a367169e6aa236c02c5e9b1ba9f4bda22c7956","user":{"login":"luh2","id":2047083,"avatar_url":"https://avatars.githubusercontent.com/u/2047083?v=3","gravatar_id":"","url":"https://api.github.com/users/luh2","html_url":"https://github.com/luh2","followers_url":"https://api.github.com/users/luh2/followers","following_url":"https://api.github.com/users/luh2/following{/other_user}","gists_url":"https://api.github.com/users/luh2/gists{/gist_id}","starred_url":"https://api.github.com/users/luh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luh2/subscriptions","organizations_url":"https://api.github.com/users/luh2/orgs","repos_url":"https://api.github.com/users/luh2/repos","events_url":"https://api.github.com/users/luh2/events{/privacy}","received_events_url":"https://api.github.com/users/luh2/received_events","type":"User","site_admin":false},"body":"As soon as the right indendation is used, i'm happy to merge this. Nice additions!","created_at":"2016-06-12T17:40:45Z","updated_at":"2016-06-12T17:40:45Z","html_url":"https://github.com/luh2/DetectDynamicJS/pull/4#discussion_r66724554","pull_request_url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/comments/66724554"},"html":{"href":"https://github.com/luh2/DetectDynamicJS/pull/4#discussion_r66724554"},"pull_request":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4","id":73226233,"html_url":"https://github.com/luh2/DetectDynamicJS/pull/4","diff_url":"https://github.com/luh2/DetectDynamicJS/pull/4.diff","patch_url":"https://github.com/luh2/DetectDynamicJS/pull/4.patch","issue_url":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/4","number":4,"state":"open","locked":false,"title":"statusCode check added","user":{"login":"1lastBr3ath","id":7494618,"avatar_url":"https://avatars.githubusercontent.com/u/7494618?v=3","gravatar_id":"","url":"https://api.github.com/users/1lastBr3ath","html_url":"https://github.com/1lastBr3ath","followers_url":"https://api.github.com/users/1lastBr3ath/followers","following_url":"https://api.github.com/users/1lastBr3ath/following{/other_user}","gists_url":"https://api.github.com/users/1lastBr3ath/gists{/gist_id}","starred_url":"https://api.github.com/users/1lastBr3ath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1lastBr3ath/subscriptions","organizations_url":"https://api.github.com/users/1lastBr3ath/orgs","repos_url":"https://api.github.com/users/1lastBr3ath/repos","events_url":"https://api.github.com/users/1lastBr3ath/events{/privacy}","received_events_url":"https://api.github.com/users/1lastBr3ath/received_events","type":"User","site_admin":false},"body":"Please check and verify it on your end.","created_at":"2016-06-09T14:41:05Z","updated_at":"2016-06-12T17:40:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6b1f864a56a35d4161cf8944fd273bdcb69beefe","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4/commits","review_comments_url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4/comments","review_comment_url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/4/comments","statuses_url":"https://api.github.com/repos/luh2/DetectDynamicJS/statuses/e4a367169e6aa236c02c5e9b1ba9f4bda22c7956","head":{"label":"1lastBr3ath:master","ref":"master","sha":"e4a367169e6aa236c02c5e9b1ba9f4bda22c7956","user":{"login":"1lastBr3ath","id":7494618,"avatar_url":"https://avatars.githubusercontent.com/u/7494618?v=3","gravatar_id":"","url":"https://api.github.com/users/1lastBr3ath","html_url":"https://github.com/1lastBr3ath","followers_url":"https://api.github.com/users/1lastBr3ath/followers","following_url":"https://api.github.com/users/1lastBr3ath/following{/other_user}","gists_url":"https://api.github.com/users/1lastBr3ath/gists{/gist_id}","starred_url":"https://api.github.com/users/1lastBr3ath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1lastBr3ath/subscriptions","organizations_url":"https://api.github.com/users/1lastBr3ath/orgs","repos_url":"https://api.github.com/users/1lastBr3ath/repos","events_url":"https://api.github.com/users/1lastBr3ath/events{/privacy}","received_events_url":"https://api.github.com/users/1lastBr3ath/received_events","type":"User","site_admin":false},"repo":{"id":60781646,"name":"DetectDynamicJS-1","full_name":"1lastBr3ath/DetectDynamicJS-1","owner":{"login":"1lastBr3ath","id":7494618,"avatar_url":"https://avatars.githubusercontent.com/u/7494618?v=3","gravatar_id":"","url":"https://api.github.com/users/1lastBr3ath","html_url":"https://github.com/1lastBr3ath","followers_url":"https://api.github.com/users/1lastBr3ath/followers","following_url":"https://api.github.com/users/1lastBr3ath/following{/other_user}","gists_url":"https://api.github.com/users/1lastBr3ath/gists{/gist_id}","starred_url":"https://api.github.com/users/1lastBr3ath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1lastBr3ath/subscriptions","organizations_url":"https://api.github.com/users/1lastBr3ath/orgs","repos_url":"https://api.github.com/users/1lastBr3ath/repos","events_url":"https://api.github.com/users/1lastBr3ath/events{/privacy}","received_events_url":"https://api.github.com/users/1lastBr3ath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/1lastBr3ath/DetectDynamicJS-1","description":"The DetectDynamicJS Burp Extension provides an additional passive scanner that tries to find differing content in JavaScript files and aid in finding user/session data.","fork":true,"url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1","forks_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/forks","keys_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/teams","hooks_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/hooks","issue_events_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/issues/events{/number}","events_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/events","assignees_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/assignees{/user}","branches_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/branches{/branch}","tags_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/tags","blobs_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/statuses/{sha}","languages_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/languages","stargazers_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/stargazers","contributors_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/contributors","subscribers_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/subscribers","subscription_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/subscription","commits_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/contents/{+path}","compare_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/merges","archive_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/downloads","issues_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/issues{/number}","pulls_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/pulls{/number}","milestones_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/milestones{/number}","notifications_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/labels{/name}","releases_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/releases{/id}","deployments_url":"https://api.github.com/repos/1lastBr3ath/DetectDynamicJS-1/deployments","created_at":"2016-06-09T14:35:50Z","updated_at":"2016-06-09T14:35:51Z","pushed_at":"2016-06-12T15:40:57Z","git_url":"git://github.com/1lastBr3ath/DetectDynamicJS-1.git","ssh_url":"git@github.com:1lastBr3ath/DetectDynamicJS-1.git","clone_url":"https://github.com/1lastBr3ath/DetectDynamicJS-1.git","svn_url":"https://github.com/1lastBr3ath/DetectDynamicJS-1","homepage":null,"size":86,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"luh2:master","ref":"master","sha":"5b55342b3f6e7644712df4e884068d6197a7ac9c","user":{"login":"luh2","id":2047083,"avatar_url":"https://avatars.githubusercontent.com/u/2047083?v=3","gravatar_id":"","url":"https://api.github.com/users/luh2","html_url":"https://github.com/luh2","followers_url":"https://api.github.com/users/luh2/followers","following_url":"https://api.github.com/users/luh2/following{/other_user}","gists_url":"https://api.github.com/users/luh2/gists{/gist_id}","starred_url":"https://api.github.com/users/luh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luh2/subscriptions","organizations_url":"https://api.github.com/users/luh2/orgs","repos_url":"https://api.github.com/users/luh2/repos","events_url":"https://api.github.com/users/luh2/events{/privacy}","received_events_url":"https://api.github.com/users/luh2/received_events","type":"User","site_admin":false},"repo":{"id":48038942,"name":"DetectDynamicJS","full_name":"luh2/DetectDynamicJS","owner":{"login":"luh2","id":2047083,"avatar_url":"https://avatars.githubusercontent.com/u/2047083?v=3","gravatar_id":"","url":"https://api.github.com/users/luh2","html_url":"https://github.com/luh2","followers_url":"https://api.github.com/users/luh2/followers","following_url":"https://api.github.com/users/luh2/following{/other_user}","gists_url":"https://api.github.com/users/luh2/gists{/gist_id}","starred_url":"https://api.github.com/users/luh2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luh2/subscriptions","organizations_url":"https://api.github.com/users/luh2/orgs","repos_url":"https://api.github.com/users/luh2/repos","events_url":"https://api.github.com/users/luh2/events{/privacy}","received_events_url":"https://api.github.com/users/luh2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luh2/DetectDynamicJS","description":"The DetectDynamicJS Burp Extension provides an additional passive scanner that tries to find differing content in JavaScript files and aid in finding user/session data.","fork":false,"url":"https://api.github.com/repos/luh2/DetectDynamicJS","forks_url":"https://api.github.com/repos/luh2/DetectDynamicJS/forks","keys_url":"https://api.github.com/repos/luh2/DetectDynamicJS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luh2/DetectDynamicJS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luh2/DetectDynamicJS/teams","hooks_url":"https://api.github.com/repos/luh2/DetectDynamicJS/hooks","issue_events_url":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/events{/number}","events_url":"https://api.github.com/repos/luh2/DetectDynamicJS/events","assignees_url":"https://api.github.com/repos/luh2/DetectDynamicJS/assignees{/user}","branches_url":"https://api.github.com/repos/luh2/DetectDynamicJS/branches{/branch}","tags_url":"https://api.github.com/repos/luh2/DetectDynamicJS/tags","blobs_url":"https://api.github.com/repos/luh2/DetectDynamicJS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luh2/DetectDynamicJS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luh2/DetectDynamicJS/git/refs{/sha}","trees_url":"https://api.github.com/repos/luh2/DetectDynamicJS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luh2/DetectDynamicJS/statuses/{sha}","languages_url":"https://api.github.com/repos/luh2/DetectDynamicJS/languages","stargazers_url":"https://api.github.com/repos/luh2/DetectDynamicJS/stargazers","contributors_url":"https://api.github.com/repos/luh2/DetectDynamicJS/contributors","subscribers_url":"https://api.github.com/repos/luh2/DetectDynamicJS/subscribers","subscription_url":"https://api.github.com/repos/luh2/DetectDynamicJS/subscription","commits_url":"https://api.github.com/repos/luh2/DetectDynamicJS/commits{/sha}","git_commits_url":"https://api.github.com/repos/luh2/DetectDynamicJS/git/commits{/sha}","comments_url":"https://api.github.com/repos/luh2/DetectDynamicJS/comments{/number}","issue_comment_url":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/comments{/number}","contents_url":"https://api.github.com/repos/luh2/DetectDynamicJS/contents/{+path}","compare_url":"https://api.github.com/repos/luh2/DetectDynamicJS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luh2/DetectDynamicJS/merges","archive_url":"https://api.github.com/repos/luh2/DetectDynamicJS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luh2/DetectDynamicJS/downloads","issues_url":"https://api.github.com/repos/luh2/DetectDynamicJS/issues{/number}","pulls_url":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls{/number}","milestones_url":"https://api.github.com/repos/luh2/DetectDynamicJS/milestones{/number}","notifications_url":"https://api.github.com/repos/luh2/DetectDynamicJS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luh2/DetectDynamicJS/labels{/name}","releases_url":"https://api.github.com/repos/luh2/DetectDynamicJS/releases{/id}","deployments_url":"https://api.github.com/repos/luh2/DetectDynamicJS/deployments","created_at":"2015-12-15T11:34:28Z","updated_at":"2016-04-18T13:15:13Z","pushed_at":"2016-06-12T15:40:57Z","git_url":"git://github.com/luh2/DetectDynamicJS.git","ssh_url":"git@github.com:luh2/DetectDynamicJS.git","clone_url":"https://github.com/luh2/DetectDynamicJS.git","svn_url":"https://github.com/luh2/DetectDynamicJS","homepage":null,"size":160,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":4,"forks":6,"open_issues":4,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4"},"html":{"href":"https://github.com/luh2/DetectDynamicJS/pull/4"},"issue":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/4"},"comments":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/luh2/DetectDynamicJS/statuses/e4a367169e6aa236c02c5e9b1ba9f4bda22c7956"}}}}
{"actor":{"display_login":"luh2"}}