{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/154","repository_url":"https://api.github.com/repos/rapid7/metasploit-payloads","labels_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/154/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/154/events","html_url":"https://github.com/rapid7/metasploit-payloads/pull/154","id":193949714,"number":154,"title":"Re-add key UUID sending functionality","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":90105570,"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/bug","name":"bug","color":"fc2929","default":true},{"id":235241697,"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/posix","name":"posix","color":"d4c5f9","default":false},{"id":235241731,"url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/windows","name":"windows","color":"bfdadc","default":false}],"state":"closed","locked":false,"assignee":{"login":"bwatters-r7","id":17987018,"avatar_url":"https://avatars.githubusercontent.com/u/17987018?v=3","gravatar_id":"","url":"https://api.github.com/users/bwatters-r7","html_url":"https://github.com/bwatters-r7","followers_url":"https://api.github.com/users/bwatters-r7/followers","following_url":"https://api.github.com/users/bwatters-r7/following{/other_user}","gists_url":"https://api.github.com/users/bwatters-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bwatters-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwatters-r7/subscriptions","organizations_url":"https://api.github.com/users/bwatters-r7/orgs","repos_url":"https://api.github.com/users/bwatters-r7/repos","events_url":"https://api.github.com/users/bwatters-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bwatters-r7/received_events","type":"User","site_admin":false},"assignees":[{"login":"bwatters-r7","id":17987018,"avatar_url":"https://avatars.githubusercontent.com/u/17987018?v=3","gravatar_id":"","url":"https://api.github.com/users/bwatters-r7","html_url":"https://github.com/bwatters-r7","followers_url":"https://api.github.com/users/bwatters-r7/followers","following_url":"https://api.github.com/users/bwatters-r7/following{/other_user}","gists_url":"https://api.github.com/users/bwatters-r7/gists{/gist_id}","starred_url":"https://api.github.com/users/bwatters-r7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwatters-r7/subscriptions","organizations_url":"https://api.github.com/users/bwatters-r7/orgs","repos_url":"https://api.github.com/users/bwatters-r7/repos","events_url":"https://api.github.com/users/bwatters-r7/events{/privacy}","received_events_url":"https://api.github.com/users/bwatters-r7/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-12-07T03:34:25Z","updated_at":"2016-12-07T04:38:52Z","closed_at":"2016-12-07T04:38:19Z","pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/154","html_url":"https://github.com/rapid7/metasploit-payloads/pull/154","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/154.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/154.patch"},"body":"As part of https://github.com/rapid7/metasploit-payloads/commit/b50955a92476e797256158db783ba9684db2a902 important code that sent UUIDs along with each request was accidentally removed. This PR re-includes it so that the UUIDs are in fact sent when they should be sent.\r\n\r\nThis fixes issues where UUID commands don't work, and fixes migration in\r\na bunch of scenarios.\r\n\r\n## Sample run\r\n```\r\nsf exploit(handler) > WARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/metsrv.x86.dll is being used\r\nWARNING: Local files may be incompatible with the Metasploit Framework\r\n[*] [2016.12.07-13:24:33] Sending stage (983603 bytes) to 10.1.10.56\r\n[*] Meterpreter session 1 opened (10.1.10.40:8000 -> 10.1.10.56:50001) at 2016-12-07 13:24:35 +1000\r\nWARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/ext_server_stdapi.x86.dll is being used\r\nWARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/ext_server_priv.x86.dll is being used\r\nsess -1\r\n[*] Starting interaction with 1...\r\n\r\nmeterpreter > uuid\r\n[+] UUID: ae41b11836a72510/x86=1/windows=1/2016-12-07T03:24:33Z\r\nmeterpreter > ps -S expl\r\n\r\nProcess List\r\n============\r\n\r\n PID   PPID  Name                      Arch  Session  User                Path\r\n ---   ----  ----                      ----  -------  ----                ----\r\n 3588  3560  explorer.exe              x64   1        DESKTOP-TF4F7AM\\oj  C:\\Windows\\explorer.exe\r\n\r\nmeterpreter > migrate 3588\r\n[*] Migrating from 2728 to 3588...\r\nWARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/metsrv.x64.dll is being used\r\nWARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/ext_server_stdapi.x64.dll is being used\r\nWARNING: Local file /home/oj/code/metasploit-framework/data/meterpreter/ext_server_priv.x64.dll is being used\r\n[*] Migration completed successfully.\r\nmeterpreter > uuid\r\n[+] UUID: ae41b11836a72510/x64=2/windows=1/2016-12-07T03:24:33Z\r\n```\r\n\r\n## Verification\r\n\r\n- [ ] Create a session using `windows/meterpreter/reverse_tcp_rc4`.\r\n- [ ] Run `uuid`, and it should work.\r\n- [ ] Migrate across architectures, and it should work.\r\n\r\n## Notes\r\n\r\nThis is a pretty urgent thing, so if any committers out there who are present ( @bcook-r7 @hdm @wvu-r7 @zeroSteiner ) I'd appreciate this getting looked at ASAP.\r\n\r\nThis fixes https://github.com/rapid7/metasploit-framework/issues/7660 and removes the need for https://github.com/rapid7/metasploit-framework/pull/7663.\r\n"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/comments/265354052","html_url":"https://github.com/rapid7/metasploit-payloads/pull/154#issuecomment-265354052","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/154","id":265354052,"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-12-07T04:38:52Z","updated_at":"2016-12-07T04:38:52Z","body":"Thank you @bwatters-r7 !"}}
{"actor":{"display_login":"OJ"}}