mirror of
https://github.com/rapid7/metasploit-payloads
synced 2024-11-20 14:39:22 +01:00
Fix issue about REG_MULTI_SZ.
This commit is contained in:
parent
ddf612f4c5
commit
f779b809fa
@ -463,6 +463,7 @@ static void set_value(Remote *remote, Packet *packet, HKEY hkey)
|
||||
switch (valueType) {
|
||||
case REG_SZ:
|
||||
case REG_EXPAND_SZ:
|
||||
case REG_MULTI_SZ:
|
||||
buf = utf8_to_wchar(valueData.buffer);
|
||||
len = (wcslen(buf) + 1) * sizeof(wchar_t);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user