{"action":"opened","number":51,"pull_request":{"url":"https://api.github.com/repos/lanjelot/patator/pulls/51","id":92454460,"html_url":"https://github.com/lanjelot/patator/pull/51","diff_url":"https://github.com/lanjelot/patator/pull/51.diff","patch_url":"https://github.com/lanjelot/patator/pull/51.patch","issue_url":"https://api.github.com/repos/lanjelot/patator/issues/51","number":51,"state":"open","locked":false,"title":"Added AJP fuzzing support","user":{"login":"hypn0s","id":1299578,"avatar_url":"https://avatars.githubusercontent.com/u/1299578?v=3","gravatar_id":"","url":"https://api.github.com/users/hypn0s","html_url":"https://github.com/hypn0s","followers_url":"https://api.github.com/users/hypn0s/followers","following_url":"https://api.github.com/users/hypn0s/following{/other_user}","gists_url":"https://api.github.com/users/hypn0s/gists{/gist_id}","starred_url":"https://api.github.com/users/hypn0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypn0s/subscriptions","organizations_url":"https://api.github.com/users/hypn0s/orgs","repos_url":"https://api.github.com/users/hypn0s/repos","events_url":"https://api.github.com/users/hypn0s/events{/privacy}","received_events_url":"https://api.github.com/users/hypn0s/received_events","type":"User","site_admin":false},"body":"This commit adds the support of fuzzing over AJP.\r\nIt only requires the AJPy pip package (https://pypi.python.org/pypi/ajpy/)\r\n\r\nIt supports only a few options:\r\n```\r\n$ python patator.py ajp_fuzz\r\nPatator v0.7-beta (https://github.com/lanjelot/patator)\r\nUsage: ajp_fuzz <module-options ...> [global-options ...]\r\n\r\nExamples:\r\n  ajp_fuzz url=ajp://10.0.0.1/FILE0 0=paths.txt -x ignore:code=404 -x ignore,retry:code=500\r\n  ajp_fuzz url=ajp://10.0.0.1/manager/html user_pass=COMBO00:COMBO01 0=combos.txt -x ignore:code=401\r\n\r\nModule options:\r\n  url           : target url (ajp://host[:port]/path?query)\r\n  header        : use custom headers\r\n  user_pass     : username and password for HTTP authentication (user:pass) \r\n\r\nERROR: wrong usage. Please read the README inside for more information.\r\n```\r\n\r\nI used tomcat 8 to test the code:\r\n```\r\n$ python patator.py ajp_fuzz url=ajp://172.17.0.2/FILE0 0=test.dict\r\n14:59:11 patator    INFO - Starting Patator v0.7-beta (https://github.com/lanjelot/patator) at 2016-11-05 14:59 CET\r\n14:59:11 patator    INFO -                                                                              \r\n14:59:11 patator    INFO - code size:clen       time | candidate                          |   num | mesg\r\n14:59:11 patator    INFO - -----------------------------------------------------------------------------\r\n14:59:11 patator    INFO - 401  2475:2474      0.002 | /manager/html                      |     1 | Unauthorized\r\n14:59:11 patator    INFO - 404  1005:1004      0.001 | /test                              |     2 | Not Found\r\n14:59:11 patator    INFO - 200  16583:16580    0.001 | /docs/                             |     3 | OK\r\n14:59:11 patator    INFO - 401  2475:2474      0.001 | /manager/status                    |     4 | Unauthorized\r\n14:59:11 patator    INFO - Hits/Done/Skip/Fail/Size: 4/4/0/0/4, Avg: 6 r/s, Time: 0h 0m 0s\r\n\r\n$ python patator.py ajp_fuzz url=ajp://172.17.0.2/FILE0 0=test.dict  -x ignore:fgrep=\"The requested resource is not available.\" user_pass=tomcat:tomcat\r\n14:56:07 patator    INFO - Starting Patator v0.7-beta (https://github.com/lanjelot/patator) at 2016-11-05 14:56 CET\r\n14:56:07 patator    INFO -                                                                              \r\n14:56:07 patator    INFO - code size:clen       time | candidate                          |   num | mesg\r\n14:56:07 patator    INFO - -----------------------------------------------------------------------------\r\n14:56:07 patator    INFO - 200  16418:0        0.005 | /manager/html                      |     1 | OK\r\n14:56:07 patator    INFO - 200  16583:16580    0.001 | /docs/                             |     3 | OK\r\n14:56:07 patator    INFO - 200  7111:7110      0.004 | /manager/status                    |     4 | OK\r\n14:56:07 patator    INFO - Hits/Done/Skip/Fail/Size: 3/4/0/0/4, Avg: 6 r/s, Time: 0h 0m 0s\r\n```","created_at":"2016-11-05T14:04:44Z","updated_at":"2016-11-05T14:04:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lanjelot/patator/pulls/51/commits","review_comments_url":"https://api.github.com/repos/lanjelot/patator/pulls/51/comments","review_comment_url":"https://api.github.com/repos/lanjelot/patator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lanjelot/patator/issues/51/comments","statuses_url":"https://api.github.com/repos/lanjelot/patator/statuses/bc7940179d464f311b6a833cf01857b92ab9146f","head":{"label":"hypn0s:master","ref":"master","sha":"bc7940179d464f311b6a833cf01857b92ab9146f","user":{"login":"hypn0s","id":1299578,"avatar_url":"https://avatars.githubusercontent.com/u/1299578?v=3","gravatar_id":"","url":"https://api.github.com/users/hypn0s","html_url":"https://github.com/hypn0s","followers_url":"https://api.github.com/users/hypn0s/followers","following_url":"https://api.github.com/users/hypn0s/following{/other_user}","gists_url":"https://api.github.com/users/hypn0s/gists{/gist_id}","starred_url":"https://api.github.com/users/hypn0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypn0s/subscriptions","organizations_url":"https://api.github.com/users/hypn0s/orgs","repos_url":"https://api.github.com/users/hypn0s/repos","events_url":"https://api.github.com/users/hypn0s/events{/privacy}","received_events_url":"https://api.github.com/users/hypn0s/received_events","type":"User","site_admin":false},"repo":{"id":72921929,"name":"patator","full_name":"hypn0s/patator","owner":{"login":"hypn0s","id":1299578,"avatar_url":"https://avatars.githubusercontent.com/u/1299578?v=3","gravatar_id":"","url":"https://api.github.com/users/hypn0s","html_url":"https://github.com/hypn0s","followers_url":"https://api.github.com/users/hypn0s/followers","following_url":"https://api.github.com/users/hypn0s/following{/other_user}","gists_url":"https://api.github.com/users/hypn0s/gists{/gist_id}","starred_url":"https://api.github.com/users/hypn0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hypn0s/subscriptions","organizations_url":"https://api.github.com/users/hypn0s/orgs","repos_url":"https://api.github.com/users/hypn0s/repos","events_url":"https://api.github.com/users/hypn0s/events{/privacy}","received_events_url":"https://api.github.com/users/hypn0s/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hypn0s/patator","description":"Patator is a multi-purpose brute-forcer, with a modular design and a flexible usage.","fork":true,"url":"https://api.github.com/repos/hypn0s/patator","forks_url":"https://api.github.com/repos/hypn0s/patator/forks","keys_url":"https://api.github.com/repos/hypn0s/patator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hypn0s/patator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hypn0s/patator/teams","hooks_url":"https://api.github.com/repos/hypn0s/patator/hooks","issue_events_url":"https://api.github.com/repos/hypn0s/patator/issues/events{/number}","events_url":"https://api.github.com/repos/hypn0s/patator/events","assignees_url":"https://api.github.com/repos/hypn0s/patator/assignees{/user}","branches_url":"https://api.github.com/repos/hypn0s/patator/branches{/branch}","tags_url":"https://api.github.com/repos/hypn0s/patator/tags","blobs_url":"https://api.github.com/repos/hypn0s/patator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hypn0s/patator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hypn0s/patator/git/refs{/sha}","trees_url":"https://api.github.com/repos/hypn0s/patator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hypn0s/patator/statuses/{sha}","languages_url":"https://api.github.com/repos/hypn0s/patator/languages","stargazers_url":"https://api.github.com/repos/hypn0s/patator/stargazers","contributors_url":"https://api.github.com/repos/hypn0s/patator/contributors","subscribers_url":"https://api.github.com/repos/hypn0s/patator/subscribers","subscription_url":"https://api.github.com/repos/hypn0s/patator/subscription","commits_url":"https://api.github.com/repos/hypn0s/patator/commits{/sha}","git_commits_url":"https://api.github.com/repos/hypn0s/patator/git/commits{/sha}","comments_url":"https://api.github.com/repos/hypn0s/patator/comments{/number}","issue_comment_url":"https://api.github.com/repos/hypn0s/patator/issues/comments{/number}","contents_url":"https://api.github.com/repos/hypn0s/patator/contents/{+path}","compare_url":"https://api.github.com/repos/hypn0s/patator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hypn0s/patator/merges","archive_url":"https://api.github.com/repos/hypn0s/patator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hypn0s/patator/downloads","issues_url":"https://api.github.com/repos/hypn0s/patator/issues{/number}","pulls_url":"https://api.github.com/repos/hypn0s/patator/pulls{/number}","milestones_url":"https://api.github.com/repos/hypn0s/patator/milestones{/number}","notifications_url":"https://api.github.com/repos/hypn0s/patator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hypn0s/patator/labels{/name}","releases_url":"https://api.github.com/repos/hypn0s/patator/releases{/id}","deployments_url":"https://api.github.com/repos/hypn0s/patator/deployments","created_at":"2016-11-05T11:29:06Z","updated_at":"2016-11-05T11:29:07Z","pushed_at":"2016-11-05T13:50:44Z","git_url":"git://github.com/hypn0s/patator.git","ssh_url":"git@github.com:hypn0s/patator.git","clone_url":"https://github.com/hypn0s/patator.git","svn_url":"https://github.com/hypn0s/patator","homepage":null,"size":341,"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":"lanjelot:master","ref":"master","sha":"96eb9f96046cde36469796ad061c70c0b31b00f4","user":{"login":"lanjelot","id":214154,"avatar_url":"https://avatars.githubusercontent.com/u/214154?v=3","gravatar_id":"","url":"https://api.github.com/users/lanjelot","html_url":"https://github.com/lanjelot","followers_url":"https://api.github.com/users/lanjelot/followers","following_url":"https://api.github.com/users/lanjelot/following{/other_user}","gists_url":"https://api.github.com/users/lanjelot/gists{/gist_id}","starred_url":"https://api.github.com/users/lanjelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanjelot/subscriptions","organizations_url":"https://api.github.com/users/lanjelot/orgs","repos_url":"https://api.github.com/users/lanjelot/repos","events_url":"https://api.github.com/users/lanjelot/events{/privacy}","received_events_url":"https://api.github.com/users/lanjelot/received_events","type":"User","site_admin":false},"repo":{"id":23297444,"name":"patator","full_name":"lanjelot/patator","owner":{"login":"lanjelot","id":214154,"avatar_url":"https://avatars.githubusercontent.com/u/214154?v=3","gravatar_id":"","url":"https://api.github.com/users/lanjelot","html_url":"https://github.com/lanjelot","followers_url":"https://api.github.com/users/lanjelot/followers","following_url":"https://api.github.com/users/lanjelot/following{/other_user}","gists_url":"https://api.github.com/users/lanjelot/gists{/gist_id}","starred_url":"https://api.github.com/users/lanjelot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanjelot/subscriptions","organizations_url":"https://api.github.com/users/lanjelot/orgs","repos_url":"https://api.github.com/users/lanjelot/repos","events_url":"https://api.github.com/users/lanjelot/events{/privacy}","received_events_url":"https://api.github.com/users/lanjelot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lanjelot/patator","description":"Patator is a multi-purpose brute-forcer, with a modular design and a flexible usage.","fork":false,"url":"https://api.github.com/repos/lanjelot/patator","forks_url":"https://api.github.com/repos/lanjelot/patator/forks","keys_url":"https://api.github.com/repos/lanjelot/patator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lanjelot/patator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lanjelot/patator/teams","hooks_url":"https://api.github.com/repos/lanjelot/patator/hooks","issue_events_url":"https://api.github.com/repos/lanjelot/patator/issues/events{/number}","events_url":"https://api.github.com/repos/lanjelot/patator/events","assignees_url":"https://api.github.com/repos/lanjelot/patator/assignees{/user}","branches_url":"https://api.github.com/repos/lanjelot/patator/branches{/branch}","tags_url":"https://api.github.com/repos/lanjelot/patator/tags","blobs_url":"https://api.github.com/repos/lanjelot/patator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lanjelot/patator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lanjelot/patator/git/refs{/sha}","trees_url":"https://api.github.com/repos/lanjelot/patator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lanjelot/patator/statuses/{sha}","languages_url":"https://api.github.com/repos/lanjelot/patator/languages","stargazers_url":"https://api.github.com/repos/lanjelot/patator/stargazers","contributors_url":"https://api.github.com/repos/lanjelot/patator/contributors","subscribers_url":"https://api.github.com/repos/lanjelot/patator/subscribers","subscription_url":"https://api.github.com/repos/lanjelot/patator/subscription","commits_url":"https://api.github.com/repos/lanjelot/patator/commits{/sha}","git_commits_url":"https://api.github.com/repos/lanjelot/patator/git/commits{/sha}","comments_url":"https://api.github.com/repos/lanjelot/patator/comments{/number}","issue_comment_url":"https://api.github.com/repos/lanjelot/patator/issues/comments{/number}","contents_url":"https://api.github.com/repos/lanjelot/patator/contents/{+path}","compare_url":"https://api.github.com/repos/lanjelot/patator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lanjelot/patator/merges","archive_url":"https://api.github.com/repos/lanjelot/patator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lanjelot/patator/downloads","issues_url":"https://api.github.com/repos/lanjelot/patator/issues{/number}","pulls_url":"https://api.github.com/repos/lanjelot/patator/pulls{/number}","milestones_url":"https://api.github.com/repos/lanjelot/patator/milestones{/number}","notifications_url":"https://api.github.com/repos/lanjelot/patator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lanjelot/patator/labels{/name}","releases_url":"https://api.github.com/repos/lanjelot/patator/releases{/id}","deployments_url":"https://api.github.com/repos/lanjelot/patator/deployments","created_at":"2014-08-25T00:56:21Z","updated_at":"2016-11-03T12:08:47Z","pushed_at":"2016-09-12T10:12:48Z","git_url":"git://github.com/lanjelot/patator.git","ssh_url":"git@github.com:lanjelot/patator.git","clone_url":"https://github.com/lanjelot/patator.git","svn_url":"https://github.com/lanjelot/patator","homepage":null,"size":341,"stargazers_count":630,"watchers_count":630,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":191,"mirror_url":null,"open_issues_count":22,"forks":191,"open_issues":22,"watchers":630,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lanjelot/patator/pulls/51"},"html":{"href":"https://github.com/lanjelot/patator/pull/51"},"issue":{"href":"https://api.github.com/repos/lanjelot/patator/issues/51"},"comments":{"href":"https://api.github.com/repos/lanjelot/patator/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/lanjelot/patator/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/lanjelot/patator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lanjelot/patator/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/lanjelot/patator/statuses/bc7940179d464f311b6a833cf01857b92ab9146f"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":133,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"hypn0s"}}