def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.dwErrorCode = UInt32Le() self.dwStateTransition = UInt32Le() self.blob = LicenseBinaryBlob(BinaryBlobType.BB_ANY_BLOB)
def __init__(self): CompositeType.__init__(self) self.scopeCount = UInt32Le(lambda: sizeof(self.scopeArray)) self.scopeArray = ArrayType(Scope, readLen=self.scopeCount)
def __init__(self): CompositeType.__init__(self) self.NumCertBlobs = UInt32Le() self.CertBlobArray = ArrayType(CertBlob, readLen=self.NumCertBlobs) self.padding = String( readLen=CallableValue(lambda: (8 + 4 * self.NumCertBlobs.value)))
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.channelCount = UInt32Le(lambda: len(self.channelDefArray._array)) self.channelDefArray = ArrayType(ChannelDef, readLen=self.channelCount)
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.rdpVersion = UInt32Le(Version.RDP_VERSION_5_PLUS) self.clientRequestedProtocol = UInt32Le(optional=True)
def __init__(self): CompositeType.__init__(self) self.cbCert = UInt32Le(lambda: sizeof(self.abCert)) self.abCert = String(readLen=self.cbCert)
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.code = UInt32Le() self.isPressed = UInt8()
def __init__(self): CompositeType.__init__(self) self.key1 = UInt32Le() self.key2 = UInt32Le()
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.MaxRequestSize = UInt32Le(0)
def __init__(self): CompositeType.__init__(self) self.length = UInt32Le(lambda:(sizeof(self) - 4)) self.encryptedClientRandom = String(readLen = CallableValue(lambda:(self.length.value - 8))) self.padding = String("\x00" * 8, readLen = CallableValue(8))
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.flags = UInt32Le(VirtualChannelCompressionFlag.VCCAPS_NO_COMPR) self.VCChunkSize = UInt32Le(optional=True)
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.offscreenSupportLevel = UInt32Le(OffscreenSupportLevel.FALSE) self.offscreenCacheSize = UInt16Le() self.offscreenCacheEntries = UInt16Le()
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.brushSupportLevel = UInt32Le(BrushSupport.BRUSH_DEFAULT)
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.connectFlags = UInt32Le() self.encryptedPlatformChallenge = LicenseBinaryBlob( BinaryBlobType.BB_ANY_BLOB) self.MACData = String(readLen=CallableValue(16))
def __init__(self, readLen=None): CompositeType.__init__(self, readLen=readLen) self.flags = UInt32Le() self.redirectedSessionID = UInt32Le()
def __init__(self): CompositeType.__init__(self) self.Version = UInt32Le(0x00000001, constant = True) self.Checksum = String(readLen = CallableValue(8)) self.SeqNum = UInt32Le()
def __init__(self): CompositeType.__init__(self) self.dwErrorCode = UInt32Le() self.dwStateTransition = UInt32Le() self.blob = LicenseBinaryBlob(BinaryBlobType.BB_ERROR_BLOB)