GitHub PullRequestEvent at 2014-03-07 14:12:50
Repository: metasploit-framework
Actor: 0x41414141
Payload: {"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1","id":13308196,"html_url":"https://github.com/0x41414141/metasploit-framework/pull/1","diff_url":"https://github.com/0x41414141/metasploit-framework/pull/1.diff","patch_url":"https://github.com/0x41414141/metasploit-framework/pull/1.patch","issue_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/1","number":1,"state":"closed","title":"Implement SMBFileServer mixin.","user":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"body":"In order to accomplish remote file injection (e.g. DLL) this module\r\nemulates an SMB service process to allow clients to load a file from a\r\nnetwork share.\r\n\r\nThis commit implements the SMBFileServer exploit module utilising the\r\n::Rex::Proto::SMB::Server module to export the \"start_smb_server\"\r\nfunction.\r\n\r\nUtilising the module (example):\r\n  include Msf::Exploit::Remote::SMBFileServer\r\n  exe = generate_payload_dll\r\n  @exe_file = rand_text_alpha(7) + \".dll\"\r\n  @share = rand_text_alpha(5)\r\n  my_host = (datastore['SRVHOST'] == '0.0.0.0') ?\r\n  Rex::Socket.source_address : datastore['SRVHOST']\r\n  @unc = \"\\\\\\\\#{my_host}\\\\#{@share}\\\\#{@exe_file}\"\r\n  start_smb_server(@unc, exe, @exe_file)\r\n  // Inject DLL\r\n  handle\r\n\r\nA separate commit will provide a sample implementation of utilising this\r\nmodule within a generic webserver DLL injection exploit:\r\n  ./exploits/windows/http/generic_http_dllinject.rb","created_at":"2014-03-07T12:57:26Z","updated_at":"2014-03-07T14:12:50Z","closed_at":"2014-03-07T14:12:50Z","merged_at":"2014-03-07T14:12:50Z","merge_commit_sha":"b797b9d4bcb92c824c4850da114b87aa7161bb08","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1/commits","review_comments_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1/comments","review_comment_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/comments/{number}","comments_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/1/comments","statuses_url":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/e92c24bf1cc33799116d446405da668355a8f9dd","head":{"label":"0x41414141:module-exploitsmbfileserver","ref":"module-exploitsmbfileserver","sha":"e92c24bf1cc33799116d446405da668355a8f9dd","user":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"repo":{"id":17412223,"name":"metasploit-framework","full_name":"0x41414141/metasploit-framework","owner":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0x41414141/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/0x41414141/metasploit-framework","forks_url":"https://api.github.com/repos/0x41414141/metasploit-framework/forks","keys_url":"https://api.github.com/repos/0x41414141/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0x41414141/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0x41414141/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/0x41414141/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/0x41414141/metasploit-framework/events","assignees_url":"https://api.github.com/repos/0x41414141/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/0x41414141/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/0x41414141/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/0x41414141/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/0x41414141/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/0x41414141/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/0x41414141/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/0x41414141/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/0x41414141/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/comments/{number}","contents_url":"https://api.github.com/repos/0x41414141/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/0x41414141/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0x41414141/metasploit-framework/merges","archive_url":"https://api.github.com/repos/0x41414141/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0x41414141/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/0x41414141/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/0x41414141/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0x41414141/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/0x41414141/metasploit-framework/releases{/id}","created_at":"2014-03-04T18:26:32Z","updated_at":"2014-03-07T14:12:50Z","pushed_at":"2014-03-07T14:12:50Z","git_url":"git://github.com/0x41414141/metasploit-framework.git","ssh_url":"git@github.com:0x41414141/metasploit-framework.git","clone_url":"https://github.com/0x41414141/metasploit-framework.git","svn_url":"https://github.com/0x41414141/metasploit-framework","homepage":"http://www.metasploit.com/","size":205319,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"0x41414141:module-smbfileserver","ref":"module-smbfileserver","sha":"de3bb64f0902ef44819eeb2576fd4b4e44286211","user":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"repo":{"id":17412223,"name":"metasploit-framework","full_name":"0x41414141/metasploit-framework","owner":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/0x41414141/metasploit-framework","description":"Metasploit Framework","fork":true,"url":"https://api.github.com/repos/0x41414141/metasploit-framework","forks_url":"https://api.github.com/repos/0x41414141/metasploit-framework/forks","keys_url":"https://api.github.com/repos/0x41414141/metasploit-framework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0x41414141/metasploit-framework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0x41414141/metasploit-framework/teams","hooks_url":"https://api.github.com/repos/0x41414141/metasploit-framework/hooks","issue_events_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/events{/number}","events_url":"https://api.github.com/repos/0x41414141/metasploit-framework/events","assignees_url":"https://api.github.com/repos/0x41414141/metasploit-framework/assignees{/user}","branches_url":"https://api.github.com/repos/0x41414141/metasploit-framework/branches{/branch}","tags_url":"https://api.github.com/repos/0x41414141/metasploit-framework/tags","blobs_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/refs{/sha}","trees_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/{sha}","languages_url":"https://api.github.com/repos/0x41414141/metasploit-framework/languages","stargazers_url":"https://api.github.com/repos/0x41414141/metasploit-framework/stargazers","contributors_url":"https://api.github.com/repos/0x41414141/metasploit-framework/contributors","subscribers_url":"https://api.github.com/repos/0x41414141/metasploit-framework/subscribers","subscription_url":"https://api.github.com/repos/0x41414141/metasploit-framework/subscription","commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/commits{/sha}","git_commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/git/commits{/sha}","comments_url":"https://api.github.com/repos/0x41414141/metasploit-framework/comments{/number}","issue_comment_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/comments/{number}","contents_url":"https://api.github.com/repos/0x41414141/metasploit-framework/contents/{+path}","compare_url":"https://api.github.com/repos/0x41414141/metasploit-framework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0x41414141/metasploit-framework/merges","archive_url":"https://api.github.com/repos/0x41414141/metasploit-framework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0x41414141/metasploit-framework/downloads","issues_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues{/number}","pulls_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls{/number}","milestones_url":"https://api.github.com/repos/0x41414141/metasploit-framework/milestones{/number}","notifications_url":"https://api.github.com/repos/0x41414141/metasploit-framework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0x41414141/metasploit-framework/labels{/name}","releases_url":"https://api.github.com/repos/0x41414141/metasploit-framework/releases{/id}","created_at":"2014-03-04T18:26:32Z","updated_at":"2014-03-07T14:12:50Z","pushed_at":"2014-03-07T14:12:50Z","git_url":"git://github.com/0x41414141/metasploit-framework.git","ssh_url":"git@github.com:0x41414141/metasploit-framework.git","clone_url":"https://github.com/0x41414141/metasploit-framework.git","svn_url":"https://github.com/0x41414141/metasploit-framework","homepage":"http://www.metasploit.com/","size":205319,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1"},"html":{"href":"https://github.com/0x41414141/metasploit-framework/pull/1"},"issue":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/1"},"comments":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/e92c24bf1cc33799116d446405da668355a8f9dd"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"0x41414141","id":6853837,"avatar_url":"https://gravatar.com/avatar/f33f0bb0472b436afdddc22b158d9756?d=https%3A%2F%2Fidenticons.github.com%2F46770d9db92fdfc81b4e14b91c923065.png&r=x","gravatar_id":"f33f0bb0472b436afdddc22b158d9756","url":"https://api.github.com/users/0x41414141","html_url":"https://github.com/0x41414141","followers_url":"https://api.github.com/users/0x41414141/followers","following_url":"https://api.github.com/users/0x41414141/following{/other_user}","gists_url":"https://api.github.com/users/0x41414141/gists{/gist_id}","starred_url":"https://api.github.com/users/0x41414141/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0x41414141/subscriptions","organizations_url":"https://api.github.com/users/0x41414141/orgs","repos_url":"https://api.github.com/users/0x41414141/repos","events_url":"https://api.github.com/users/0x41414141/events{/privacy}","received_events_url":"https://api.github.com/users/0x41414141/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":51,"deletions":801,"changed_files":3}}