1
mirror of https://github.com/rapid7/metasploit-payloads synced 2024-12-08 23:33:07 +01:00

Land #191, fix a unicode bug in a pymet win struct

This commit is contained in:
Spencer McIntyre 2017-04-18 18:05:49 -04:00
commit 94f48a96a2
No known key found for this signature in database
GPG Key ID: C00D6B6AA5E15412

View File

@ -239,7 +239,7 @@ if has_ctypes:
_fields_ = [("User", SID_AND_ATTRIBUTES)]
class UNIVERSAL_NAME_INFO(ctypes.Structure):
_fields_ = [("lpUniversalName", ctypes.c_char_p)]
_fields_ = [("lpUniversalName", ctypes.c_wchar_p)]
class EVENTLOGRECORD(ctypes.Structure):
_fields_ = [("Length", ctypes.c_uint32),