Exemple #1
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.dwErrorCode = UInt32Le()
     self.dwStateTransition = UInt32Le()
     self.blob = LicenseBinaryBlob(BinaryBlobType.BB_ANY_BLOB)
Exemple #2
0
 def __init__(self):
     CompositeType.__init__(self)
     self.scopeCount = UInt32Le(lambda: sizeof(self.scopeArray))
     self.scopeArray = ArrayType(Scope, readLen=self.scopeCount)
Exemple #3
0
 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)))
Exemple #4
0
 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)
Exemple #5
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.rdpVersion = UInt32Le(Version.RDP_VERSION_5_PLUS)
     self.clientRequestedProtocol = UInt32Le(optional=True)
Exemple #6
0
 def __init__(self):
     CompositeType.__init__(self)
     self.cbCert = UInt32Le(lambda: sizeof(self.abCert))
     self.abCert = String(readLen=self.cbCert)
Exemple #7
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.code = UInt32Le()
     self.isPressed = UInt8()
Exemple #8
0
 def __init__(self):
     CompositeType.__init__(self)
     self.key1 = UInt32Le()
     self.key2 = UInt32Le()
Exemple #9
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.MaxRequestSize = UInt32Le(0)
Exemple #10
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))
Exemple #11
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.flags = UInt32Le(VirtualChannelCompressionFlag.VCCAPS_NO_COMPR)
     self.VCChunkSize = UInt32Le(optional=True)
Exemple #12
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.offscreenSupportLevel = UInt32Le(OffscreenSupportLevel.FALSE)
     self.offscreenCacheSize = UInt16Le()
     self.offscreenCacheEntries = UInt16Le()
Exemple #13
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.brushSupportLevel = UInt32Le(BrushSupport.BRUSH_DEFAULT)
Exemple #14
0
 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))
Exemple #15
0
 def __init__(self, readLen=None):
     CompositeType.__init__(self, readLen=readLen)
     self.flags = UInt32Le()
     self.redirectedSessionID = UInt32Le()
Exemple #16
0
 def __init__(self):
     CompositeType.__init__(self)
     self.Version = UInt32Le(0x00000001, constant = True)
     self.Checksum = String(readLen = CallableValue(8))
     self.SeqNum = UInt32Le()
Exemple #17
0
 def __init__(self):
     CompositeType.__init__(self)
     self.dwErrorCode = UInt32Le()
     self.dwStateTransition = UInt32Le()
     self.blob = LicenseBinaryBlob(BinaryBlobType.BB_ERROR_BLOB)