Пример #1
0
 def __init__(self, reader):
     self.LogonDomainName = LSA_UNICODE_STRING(reader)
     self.UserName = LSA_UNICODE_STRING(reader)
     self.NtOwfPassword = reader.read(16)
     self.LmOwfPassword = reader.read(16)
     self.ShaOwPassword = reader.read(20)
     self.isNtOwfPassword = BOOLEAN(reader).value
     self.isLmOwfPassword = BOOLEAN(reader).value
     self.isShaOwPassword = BOOLEAN(reader).value
Пример #2
0
 def __init__(self, reader):
     self.LogonDomainName = LSA_UNICODE_STRING(reader)
     self.UserName = LSA_UNICODE_STRING(reader)
     self.pNtlmCredIsoInProc = PVOID(reader).value
     self.isIso = BOOLEAN(reader).value
     self.isNtOwfPassword = BOOLEAN(reader).value
     self.isLmOwfPassword = BOOLEAN(reader).value
     self.isShaOwPassword = BOOLEAN(reader).value
     self.isDPAPIProtected = BOOLEAN(reader).value
     self.align0 = BYTE(reader).value
     self.align1 = BYTE(reader).value
     self.align2 = BYTE(reader).value
     self.unkD = DWORD(reader).value  # // 1/2
     # stuff to be done! #pragma pack(push, 2)
     self.isoSize = WORD(reader).value  #// 0000
     self.DPAPIProtected = reader.read(16)
     self.align3 = DWORD(reader).value  #// 00000000
     # stuff to be done! #pragma pack(pop)
     self.NtOwfPassword = reader.read(16)
     self.LmOwfPassword = reader.read(16)
     self.ShaOwPassword = reader.read(20)