{"action":"created","comment":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/comments/89981698","pull_request_review_id":10506639,"id":89981698,"diff_hunk":"@@ -1000,6 +1000,13 @@ def stdapi_fs_file_move(request, response):\n \treturn ERROR_SUCCESS, response\n \n @meterpreter.register_function\n+def stdapi_fs_file_copy(request, response):\n+\toldname = packet_get_tlv(request, TLV_TYPE_FILE_NAME)['value']\n+\tnewname = packet_get_tlv(request, TLV_TYPE_FILE_PATH)['value']\n+\tshutil.copy(unicode(oldname), unicode(newname))","path":"python/meterpreter/ext_server_stdapi.py","position":7,"original_position":7,"commit_id":"db85f099c3b7e58a802d6a5284342de13515b80e","original_commit_id":"db85f099c3b7e58a802d6a5284342de13515b80e","user":{"login":"busterb","id":4108654,"avatar_url":"https://avatars.githubusercontent.com/u/4108654?v=3","gravatar_id":"","url":"https://api.github.com/users/busterb","html_url":"https://github.com/busterb","followers_url":"https://api.github.com/users/busterb/followers","following_url":"https://api.github.com/users/busterb/following{/other_user}","gists_url":"https://api.github.com/users/busterb/gists{/gist_id}","starred_url":"https://api.github.com/users/busterb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/busterb/subscriptions","organizations_url":"https://api.github.com/users/busterb/orgs","repos_url":"https://api.github.com/users/busterb/repos","events_url":"https://api.github.com/users/busterb/events{/privacy}","received_events_url":"https://api.github.com/users/busterb/received_events","type":"User","site_admin":false},"body":"hmm, probably not a big deal in practice","created_at":"2016-11-29T10:31:39Z","updated_at":"2016-11-29T10:31:39Z","html_url":"https://github.com/rapid7/metasploit-payloads/pull/149#discussion_r89981698","pull_request_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149","_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/comments/89981698"},"html":{"href":"https://github.com/rapid7/metasploit-payloads/pull/149#discussion_r89981698"},"pull_request":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149"}}},"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149","id":95635462,"html_url":"https://github.com/rapid7/metasploit-payloads/pull/149","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/149.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/149.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/149","number":149,"state":"open","locked":false,"title":"stdapi_fs_file_copy","user":{"login":"timwr","id":684924,"avatar_url":"https://avatars.githubusercontent.com/u/684924?v=3","gravatar_id":"","url":"https://api.github.com/users/timwr","html_url":"https://github.com/timwr","followers_url":"https://api.github.com/users/timwr/followers","following_url":"https://api.github.com/users/timwr/following{/other_user}","gists_url":"https://api.github.com/users/timwr/gists{/gist_id}","starred_url":"https://api.github.com/users/timwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwr/subscriptions","organizations_url":"https://api.github.com/users/timwr/orgs","repos_url":"https://api.github.com/users/timwr/repos","events_url":"https://api.github.com/users/timwr/events{/privacy}","received_events_url":"https://api.github.com/users/timwr/received_events","type":"User","site_admin":false},"body":"See framework pull request","created_at":"2016-11-29T06:49:25Z","updated_at":"2016-11-29T10:31:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f40bf7c5444968cf01da80fa0e156bab6ad9f878","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149/comments","review_comment_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/149/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-payloads/statuses/db85f099c3b7e58a802d6a5284342de13515b80e","head":{"label":"timwr:fs_file_copy","ref":"fs_file_copy","sha":"db85f099c3b7e58a802d6a5284342de13515b80e","user":{"login":"timwr","id":684924,"avatar_url":"https://avatars.githubusercontent.com/u/684924?v=3","gravatar_id":"","url":"https://api.github.com/users/timwr","html_url":"https://github.com/timwr","followers_url":"https://api.github.com/users/timwr/followers","following_url":"https://api.github.com/users/timwr/following{/other_user}","gists_url":"https://api.github.com/users/timwr/gists{/gist_id}","starred_url":"https://api.github.com/users/timwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwr/subscriptions","organizations_url":"https://api.github.com/users/timwr/orgs","repos_url":"https://api.github.com/users/timwr/repos","events_url":"https://api.github.com/users/timwr/events{/privacy}","received_events_url":"https://api.github.com/users/timwr/received_events","type":"User","site_admin":false},"repo":{"id":43207762,"name":"metasploit-payloads","full_name":"timwr/metasploit-payloads","owner":{"login":"timwr","id":684924,"avatar_url":"https://avatars.githubusercontent.com/u/684924?v=3","gravatar_id":"","url":"https://api.github.com/users/timwr","html_url":"https://github.com/timwr","followers_url":"https://api.github.com/users/timwr/followers","following_url":"https://api.github.com/users/timwr/following{/other_user}","gists_url":"https://api.github.com/users/timwr/gists{/gist_id}","starred_url":"https://api.github.com/users/timwr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timwr/subscriptions","organizations_url":"https://api.github.com/users/timwr/orgs","repos_url":"https://api.github.com/users/timwr/repos","events_url":"https://api.github.com/users/timwr/events{/privacy}","received_events_url":"https://api.github.com/users/timwr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timwr/metasploit-payloads","description":"Unified repository for different Metasploit Framework payloads","fork":true,"url":"https://api.github.com/repos/timwr/metasploit-payloads","forks_url":"https://api.github.com/repos/timwr/metasploit-payloads/forks","keys_url":"https://api.github.com/repos/timwr/metasploit-payloads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timwr/metasploit-payloads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timwr/metasploit-payloads/teams","hooks_url":"https://api.github.com/repos/timwr/metasploit-payloads/hooks","issue_events_url":"https://api.github.com/repos/timwr/metasploit-payloads/issues/events{/number}","events_url":"https://api.github.com/repos/timwr/metasploit-payloads/events","assignees_url":"https://api.github.com/repos/timwr/metasploit-payloads/assignees{/user}","branches_url":"https://api.github.com/repos/timwr/metasploit-payloads/branches{/branch}","tags_url":"https://api.github.com/repos/timwr/metasploit-payloads/tags","blobs_url":"https://api.github.com/repos/timwr/metasploit-payloads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timwr/metasploit-payloads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timwr/metasploit-payloads/git/refs{/sha}","trees_url":"https://api.github.com/repos/timwr/metasploit-payloads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timwr/metasploit-payloads/statuses/{sha}","languages_url":"https://api.github.com/repos/timwr/metasploit-payloads/languages","stargazers_url":"https://api.github.com/repos/timwr/metasploit-payloads/stargazers","contributors_url":"https://api.github.com/repos/timwr/metasploit-payloads/contributors","subscribers_url":"https://api.github.com/repos/timwr/metasploit-payloads/subscribers","subscription_url":"https://api.github.com/repos/timwr/metasploit-payloads/subscription","commits_url":"https://api.github.com/repos/timwr/metasploit-payloads/commits{/sha}","git_commits_url":"https://api.github.com/repos/timwr/metasploit-payloads/git/commits{/sha}","comments_url":"https://api.github.com/repos/timwr/metasploit-payloads/comments{/number}","issue_comment_url":"https://api.github.com/repos/timwr/metasploit-payloads/issues/comments{/number}","contents_url":"https://api.github.com/repos/timwr/metasploit-payloads/contents/{+path}","compare_url":"https://api.github.com/repos/timwr/metasploit-payloads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timwr/metasploit-payloads/merges","archive_url":"https://api.github.com/repos/timwr/metasploit-payloads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timwr/metasploit-payloads/downloads","issues_url":"https://api.github.com/repos/timwr/metasploit-payloads/issues{/number}","pulls_url":"https://api.github.com/repos/timwr/metasploit-payloads/pulls{/number}","milestones_url":"https://api.github.com/repos/timwr/metasploit-payloads/milestones{/number}","notifications_url":"https://api.github.com/repos/timwr/metasploit-payloads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timwr/metasploit-payloads/labels{/name}","releases_url":"https://api.github.com/repos/timwr/metasploit-payloads/releases{/id}","deployments_url":"https://api.github.com/repos/timwr/metasploit-payloads/deployments","created_at":"2015-09-26T14:08:49Z","updated_at":"2016-09-13T13:06:10Z","pushed_at":"2016-11-29T06:18:08Z","git_url":"git://github.com/timwr/metasploit-payloads.git","ssh_url":"git@github.com:timwr/metasploit-payloads.git","clone_url":"https://github.com/timwr/metasploit-payloads.git","svn_url":"https://github.com/timwr/metasploit-payloads","homepage":"","size":53878,"stargazers_count":0,"watchers_count":0,"language":"C","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":"rapid7:master","ref":"master","sha":"116823c2714219eeb1a5f687260ec83062709295","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":18418533,"name":"metasploit-payloads","full_name":"rapid7/metasploit-payloads","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-payloads","description":"Unified repository for different Metasploit Framework payloads","fork":false,"url":"https://api.github.com/repos/rapid7/metasploit-payloads","forks_url":"https://api.github.com/repos/rapid7/metasploit-payloads/forks","keys_url":"https://api.github.com/repos/rapid7/metasploit-payloads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rapid7/metasploit-payloads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rapid7/metasploit-payloads/teams","hooks_url":"https://api.github.com/repos/rapid7/metasploit-payloads/hooks","issue_events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/events{/number}","events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/events","assignees_url":"https://api.github.com/repos/rapid7/metasploit-payloads/assignees{/user}","branches_url":"https://api.github.com/repos/rapid7/metasploit-payloads/branches{/branch}","tags_url":"https://api.github.com/repos/rapid7/metasploit-payloads/tags","blobs_url":"https://api.github.com/repos/rapid7/metasploit-payloads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rapid7/metasploit-payloads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rapid7/metasploit-payloads/git/refs{/sha}","trees_url":"https://api.github.com/repos/rapid7/metasploit-payloads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rapid7/metasploit-payloads/statuses/{sha}","languages_url":"https://api.github.com/repos/rapid7/metasploit-payloads/languages","stargazers_url":"https://api.github.com/repos/rapid7/metasploit-payloads/stargazers","contributors_url":"https://api.github.com/repos/rapid7/metasploit-payloads/contributors","subscribers_url":"https://api.github.com/repos/rapid7/metasploit-payloads/subscribers","subscription_url":"https://api.github.com/repos/rapid7/metasploit-payloads/subscription","commits_url":"https://api.github.com/repos/rapid7/metasploit-payloads/commits{/sha}","git_commits_url":"https://api.github.com/repos/rapid7/metasploit-payloads/git/commits{/sha}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/comments{/number}","issue_comment_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/comments{/number}","contents_url":"https://api.github.com/repos/rapid7/metasploit-payloads/contents/{+path}","compare_url":"https://api.github.com/repos/rapid7/metasploit-payloads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rapid7/metasploit-payloads/merges","archive_url":"https://api.github.com/repos/rapid7/metasploit-payloads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rapid7/metasploit-payloads/downloads","issues_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues{/number}","pulls_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls{/number}","milestones_url":"https://api.github.com/repos/rapid7/metasploit-payloads/milestones{/number}","notifications_url":"https://api.github.com/repos/rapid7/metasploit-payloads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels{/name}","releases_url":"https://api.github.com/repos/rapid7/metasploit-payloads/releases{/id}","deployments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/deployments","created_at":"2014-04-03T21:18:24Z","updated_at":"2016-11-29T06:52:21Z","pushed_at":"2016-11-29T09:47:34Z","git_url":"git://github.com/rapid7/metasploit-payloads.git","ssh_url":"git@github.com:rapid7/metasploit-payloads.git","clone_url":"https://github.com/rapid7/metasploit-payloads.git","svn_url":"https://github.com/rapid7/metasploit-payloads","homepage":"","size":57842,"stargazers_count":207,"watchers_count":207,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":21,"forks":126,"open_issues":21,"watchers":207,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149"},"html":{"href":"https://github.com/rapid7/metasploit-payloads/pull/149"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/149"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/149/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149/comments"},"review_comment":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/149/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/statuses/db85f099c3b7e58a802d6a5284342de13515b80e"}}}}
{"actor":{"display_login":"busterb"}}