{"action":"closed","number":51,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/51","id":51312806,"html_url":"https://github.com/rapid7/metasploit-payloads/pull/51","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/51.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/51.patch","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/51","number":51,"state":"closed","locked":false,"title":"Stageless extension initialization","user":{"login":"OJ","id":28896,"avatar_url":"https://avatars.githubusercontent.com/u/28896?v=3","gravatar_id":"","url":"https://api.github.com/users/OJ","html_url":"https://github.com/OJ","followers_url":"https://api.github.com/users/OJ/followers","following_url":"https://api.github.com/users/OJ/following{/other_user}","gists_url":"https://api.github.com/users/OJ/gists{/gist_id}","starred_url":"https://api.github.com/users/OJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OJ/subscriptions","organizations_url":"https://api.github.com/users/OJ/orgs","repos_url":"https://api.github.com/users/OJ/repos","events_url":"https://api.github.com/users/OJ/events{/privacy}","received_events_url":"https://api.github.com/users/OJ/received_events","type":"User","site_admin":false},"body":"This PR adds support for the invocation of \"stuff\" on each extension that is wired into a stageless payload. At the moment, the only extension that supports this is the `python` extension.\r\n\r\nExtensions that have support for stageless initialisation receive a pointer to a blob of data that they should know how to handle themselves. In the case of the `python` extension, the data should be the content of a `.py` file. This file is _imported_ as if it was passed using `python_import` from within the Meterpreter console.\r\n\r\nMore information, verification, and sample runs can be found in the MSF PR, located here:  https://github.com/rapid7/metasploit-framework/pull/6264","created_at":"2015-11-20T03:05:09Z","updated_at":"2015-11-26T03:33:36Z","closed_at":"2015-11-26T03:33:36Z","merged_at":"2015-11-26T03:33:36Z","merge_commit_sha":"7456b985bbf8ea98e193d9a4b424616e93957295","assignee":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/51/commits","review_comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/51/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/51/comments","statuses_url":"https://api.github.com/repos/rapid7/metasploit-payloads/statuses/29c86390257651fa517378c41c5a44003a9d49ad","head":{"label":"OJ:stageless-init","ref":"stageless-init","sha":"29c86390257651fa517378c41c5a44003a9d49ad","user":{"login":"OJ","id":28896,"avatar_url":"https://avatars.githubusercontent.com/u/28896?v=3","gravatar_id":"","url":"https://api.github.com/users/OJ","html_url":"https://github.com/OJ","followers_url":"https://api.github.com/users/OJ/followers","following_url":"https://api.github.com/users/OJ/following{/other_user}","gists_url":"https://api.github.com/users/OJ/gists{/gist_id}","starred_url":"https://api.github.com/users/OJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OJ/subscriptions","organizations_url":"https://api.github.com/users/OJ/orgs","repos_url":"https://api.github.com/users/OJ/repos","events_url":"https://api.github.com/users/OJ/events{/privacy}","received_events_url":"https://api.github.com/users/OJ/received_events","type":"User","site_admin":false},"repo":{"id":38216107,"name":"metasploit-payloads","full_name":"OJ/metasploit-payloads","owner":{"login":"OJ","id":28896,"avatar_url":"https://avatars.githubusercontent.com/u/28896?v=3","gravatar_id":"","url":"https://api.github.com/users/OJ","html_url":"https://github.com/OJ","followers_url":"https://api.github.com/users/OJ/followers","following_url":"https://api.github.com/users/OJ/following{/other_user}","gists_url":"https://api.github.com/users/OJ/gists{/gist_id}","starred_url":"https://api.github.com/users/OJ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OJ/subscriptions","organizations_url":"https://api.github.com/users/OJ/orgs","repos_url":"https://api.github.com/users/OJ/repos","events_url":"https://api.github.com/users/OJ/events{/privacy}","received_events_url":"https://api.github.com/users/OJ/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/OJ/metasploit-payloads","description":"Unified repository for different Metasploit Framework payloads","fork":true,"url":"https://api.github.com/repos/OJ/metasploit-payloads","forks_url":"https://api.github.com/repos/OJ/metasploit-payloads/forks","keys_url":"https://api.github.com/repos/OJ/metasploit-payloads/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OJ/metasploit-payloads/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OJ/metasploit-payloads/teams","hooks_url":"https://api.github.com/repos/OJ/metasploit-payloads/hooks","issue_events_url":"https://api.github.com/repos/OJ/metasploit-payloads/issues/events{/number}","events_url":"https://api.github.com/repos/OJ/metasploit-payloads/events","assignees_url":"https://api.github.com/repos/OJ/metasploit-payloads/assignees{/user}","branches_url":"https://api.github.com/repos/OJ/metasploit-payloads/branches{/branch}","tags_url":"https://api.github.com/repos/OJ/metasploit-payloads/tags","blobs_url":"https://api.github.com/repos/OJ/metasploit-payloads/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OJ/metasploit-payloads/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OJ/metasploit-payloads/git/refs{/sha}","trees_url":"https://api.github.com/repos/OJ/metasploit-payloads/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OJ/metasploit-payloads/statuses/{sha}","languages_url":"https://api.github.com/repos/OJ/metasploit-payloads/languages","stargazers_url":"https://api.github.com/repos/OJ/metasploit-payloads/stargazers","contributors_url":"https://api.github.com/repos/OJ/metasploit-payloads/contributors","subscribers_url":"https://api.github.com/repos/OJ/metasploit-payloads/subscribers","subscription_url":"https://api.github.com/repos/OJ/metasploit-payloads/subscription","commits_url":"https://api.github.com/repos/OJ/metasploit-payloads/commits{/sha}","git_commits_url":"https://api.github.com/repos/OJ/metasploit-payloads/git/commits{/sha}","comments_url":"https://api.github.com/repos/OJ/metasploit-payloads/comments{/number}","issue_comment_url":"https://api.github.com/repos/OJ/metasploit-payloads/issues/comments{/number}","contents_url":"https://api.github.com/repos/OJ/metasploit-payloads/contents/{+path}","compare_url":"https://api.github.com/repos/OJ/metasploit-payloads/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OJ/metasploit-payloads/merges","archive_url":"https://api.github.com/repos/OJ/metasploit-payloads/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OJ/metasploit-payloads/downloads","issues_url":"https://api.github.com/repos/OJ/metasploit-payloads/issues{/number}","pulls_url":"https://api.github.com/repos/OJ/metasploit-payloads/pulls{/number}","milestones_url":"https://api.github.com/repos/OJ/metasploit-payloads/milestones{/number}","notifications_url":"https://api.github.com/repos/OJ/metasploit-payloads/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OJ/metasploit-payloads/labels{/name}","releases_url":"https://api.github.com/repos/OJ/metasploit-payloads/releases{/id}","created_at":"2015-06-28T22:10:43Z","updated_at":"2015-06-28T22:10:52Z","pushed_at":"2015-11-20T02:49:53Z","git_url":"git://github.com/OJ/metasploit-payloads.git","ssh_url":"git@github.com:OJ/metasploit-payloads.git","clone_url":"https://github.com/OJ/metasploit-payloads.git","svn_url":"https://github.com/OJ/metasploit-payloads","homepage":"","size":43640,"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":"bc0138093df92d251e0ca738e975a738c296c784","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}","created_at":"2014-04-03T21:18:24Z","updated_at":"2015-11-25T17:18:41Z","pushed_at":"2015-11-26T03:33:36Z","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":45842,"stargazers_count":59,"watchers_count":59,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":9,"forks":44,"open_issues":9,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/51"},"html":{"href":"https://github.com/rapid7/metasploit-payloads/pull/51"},"issue":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/51"},"comments":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/51/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/51/commits"},"statuses":{"href":"https://api.github.com/repos/rapid7/metasploit-payloads/statuses/29c86390257651fa517378c41c5a44003a9d49ad"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"bcook-r7","id":10031469,"avatar_url":"https://avatars.githubusercontent.com/u/10031469?v=3","gravatar_id":"","url":"https://api.github.com/users/bcook-r7","html_url":"https://github.com/bcook-r7","followers_url":"https://api.github.com/users/bcook-r7/followers","following_url":"https://api.github.com/users/bcook-r7/following{/other_user}","gists_url":"https://api.github.com/users/bcook-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bcook-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcook-r7/subscriptions","organizations_url":"https://api.github.com/users/bcook-r7/orgs","repos_url":"https://api.github.com/users/bcook-r7/repos","events_url":"https://api.github.com/users/bcook-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bcook-r7/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"commits":4,"additions":120,"deletions":53,"changed_files":9}}