{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/150","repository_url":"https://api.github.com/repos/rapid7/metasploit-payloads","labels_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/150/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/150/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/150/events","html_url":"https://github.com/rapid7/metasploit-payloads/pull/150","id":192233813,"number":150,"title":"Change PHP meterpreter header comment style","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},"labels":[{"id":235241713,"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/php","name":"php","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-29T09:47:34Z","updated_at":"2016-11-29T20:31:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/150","html_url":"https://github.com/rapid7/metasploit-payloads/pull/150","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/150.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/150.patch"},"body":"This commit fixes cases where stageless meterpreter payloads may not run\r\nif they are loaded within a PHP context that's already inside the\r\nopening and closing <?php ... ?> tags. While this is rare, it's possible\r\nthat this may happen. This approach matches that which we use for staged\r\npayloads.\r\n\r\n## Verification\r\n\r\n- [ ] Create a staged php payload & listener.\r\n- [ ] Run the staged payload and make sure it works.\r\n- [ ] Create a stageless php payload & listener.\r\n- [ ] Run the stageless payload and make sure it works.\r\n- [ ] To simulate the breaking case, edit the stageless payload and wrap the entire statement in `<?php` and `?>` tags, and run the payload again. It should still work."},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/comments/263689774","html_url":"https://github.com/rapid7/metasploit-payloads/pull/150#issuecomment-263689774","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/150","id":263689774,"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},"created_at":"2016-11-29T20:31:31Z","updated_at":"2016-11-29T20:31:31Z","body":"Yes. They are removed during the minimisation stage.\n"}}
{"actor":{"display_login":"OJ"}}