コード例 #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)