mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-04-30 13:07:22 +02:00

This updates the registry handling for the native Windows Meterpreter to handle REG_MULTI_SZ values as UTF-8 encoded strings in a buffer with an additional NULL terminator. This is basically what RegSetValueExW wants but Meterpreter will encode the UTF-8 strings into UTF-16. They are however split with a NULL byte and no longer \0.