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