{"action":"created","issue":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/311","repository_url":"https://api.github.com/repos/rapid7/metasploit-payloads","labels_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/311/comments","events_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/311/events","html_url":"https://github.com/rapid7/metasploit-payloads/pull/311","id":377290706,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MjcwNTg0","number":311,"title":"Fix issue about REG_MULTI_SZ.","user":{"login":"Green-m","id":22535454,"node_id":"MDQ6VXNlcjIyNTM1NDU0","avatar_url":"https://avatars3.githubusercontent.com/u/22535454?v=4","gravatar_id":"","url":"https://api.github.com/users/Green-m","html_url":"https://github.com/Green-m","followers_url":"https://api.github.com/users/Green-m/followers","following_url":"https://api.github.com/users/Green-m/following{/other_user}","gists_url":"https://api.github.com/users/Green-m/gists{/gist_id}","starred_url":"https://api.github.com/users/Green-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Green-m/subscriptions","organizations_url":"https://api.github.com/users/Green-m/orgs","repos_url":"https://api.github.com/users/Green-m/repos","events_url":"https://api.github.com/users/Green-m/events{/privacy}","received_events_url":"https://api.github.com/users/Green-m/received_events","type":"User","site_admin":false},"labels":[{"id":90105570,"node_id":"MDU6TGFiZWw5MDEwNTU3MA==","url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/bug","name":"bug","color":"fc2929","default":true},{"id":235241731,"node_id":"MDU6TGFiZWwyMzUyNDE3MzE=","url":"https://api.github.com/repos/rapid7/metasploit-payloads/labels/windows","name":"windows","color":"bfdadc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-11-05T08:14:19Z","updated_at":"2018-11-26T16:01:00Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/pulls/311","html_url":"https://github.com/rapid7/metasploit-payloads/pull/311","diff_url":"https://github.com/rapid7/metasploit-payloads/pull/311.diff","patch_url":"https://github.com/rapid7/metasploit-payloads/pull/311.patch"},"body":"Fix https://github.com/rapid7/metasploit-framework/issues/10859 \r\n\r\nThe `REG_MULTI_SZ` type is the same as `REG_EXPAND_SZ` and `REG_SZ`, should be converted by `utf8_to_wchar`\r\n\r\n## Before fix\r\n\r\n```\r\nmeterpreter > reg setval -k HKCU\\\\Software\\\\Mozilla\\\\Firefox -t REG_MULTI_SZ -v \"asddsad\" -d 'string\\0string2\\0'\r\nSuccessfully set asdd of REG_MULTI_SZ.\r\n```\r\n\r\nOn victim side we got this:\r\n![image](https://user-images.githubusercontent.com/22535454/47985709-7b0fdc80-e115-11e8-835a-9dd5edbcea32.png)\r\n\r\n### After fix\r\n\r\n```\r\nmeterpreter > reg setval -k HKCU\\\\Software\\\\Mozilla\\\\Firefox -t REG_MULTI_SZ -v \"testforit\" -d 'string\\0string2\\0sadd\\0asdsaasdsa\\0\\0asdsasadasqweq'\r\nSuccessfully set testforit of REG_MULTI_SZ.\r\n```\r\n\r\nOn victim side we got this:\r\n\r\n![image](https://user-images.githubusercontent.com/22535454/48887730-503ebb80-ee6b-11e8-9e57-57ac899eada0.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/comments/441692587","html_url":"https://github.com/rapid7/metasploit-payloads/pull/311#issuecomment-441692587","issue_url":"https://api.github.com/repos/rapid7/metasploit-payloads/issues/311","id":441692587,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MTY5MjU4Nw==","user":{"login":"busterb","id":4108654,"node_id":"MDQ6VXNlcjQxMDg2NTQ=","avatar_url":"https://avatars3.githubusercontent.com/u/4108654?v=4","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},"created_at":"2018-11-26T16:01:00Z","updated_at":"2018-11-26T16:01:00Z","author_association":"CONTRIBUTOR","body":"No problem, I know it's a surprisingly complex issue!"}}
{"actor":{"display_login":"busterb"}}