Ejemplo n.º 1
0
 def __init__(self, reader):
     self.NameType = SHORT(
         reader).value  #KerberosNameType(SHORT(reader).value)
     self.NameCount = USHORT(reader).value
     reader.align()
     self.Names = []  # list of LSA_UNICODE_STRING
     for _ in range(self.NameCount):
         self.Names.append(LSA_UNICODE_STRING(reader))
Ejemplo n.º 2
0
 def __init__(self, reader):
     self.Length = USHORT(reader)
     self.MaximumLength = USHORT(reader)
     #reader.align()
     self.Buffer = PCHAR(reader).value