Compare commits
3 Commits
cef16a9f64
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e2cf2ef88 | ||
|
|
040ac6185d | ||
|
|
0f30de7d20 |
@@ -24,7 +24,7 @@ RDP Standard security layer
|
||||
import sha, md5
|
||||
import lic, tpkt
|
||||
from t125 import gcc, mcs
|
||||
from rdpy.core.type import CompositeType, CallableValue, Stream, UInt32Le, UInt16Le, String, sizeof, UInt8
|
||||
from rdpy.core.type import CompositeType, CallableValue, Stream, UInt32Le, UInt16Le, String, sizeof
|
||||
from rdpy.core.layer import LayerAutomata, IStreamSender
|
||||
from rdpy.core.error import InvalidExpectedDataException
|
||||
from rdpy.core import log
|
||||
@@ -56,6 +56,7 @@ class SecurityFlag(object):
|
||||
class InfoFlag(object):
|
||||
"""
|
||||
Client capabilities informations
|
||||
@see: https://msdn.microsoft.com/en-us/library/cc240475.aspx
|
||||
"""
|
||||
INFO_MOUSE = 0x00000001
|
||||
INFO_DISABLECTRLALTDEL = 0x00000002
|
||||
@@ -80,6 +81,7 @@ class InfoFlag(object):
|
||||
class PerfFlag(object):
|
||||
"""
|
||||
Network performances flag
|
||||
@see: https://msdn.microsoft.com/en-us/library/cc240476.aspx
|
||||
"""
|
||||
PERF_DISABLE_WALLPAPER = 0x00000001
|
||||
PERF_DISABLE_FULLWINDOWDRAG = 0x00000002
|
||||
|
||||
@@ -27,7 +27,6 @@ It exist channel for file system order, audio channel, clipboard etc...
|
||||
from rdpy.core.layer import LayerAutomata, IStreamSender, Layer
|
||||
from rdpy.core.type import sizeof, Stream, UInt8, UInt16Le, String
|
||||
from rdpy.core.error import InvalidExpectedDataException, InvalidValue, InvalidSize, CallPureVirtualFuntion
|
||||
from ber import writeLength
|
||||
import rdpy.core.log as log
|
||||
|
||||
import ber, gcc, per
|
||||
@@ -255,7 +254,7 @@ class MCSLayer(LayerAutomata):
|
||||
domainParam = (ber.writeInteger(maxChannels), ber.writeInteger(maxUsers), ber.writeInteger(maxTokens),
|
||||
ber.writeInteger(1), ber.writeInteger(0), ber.writeInteger(1),
|
||||
ber.writeInteger(maxPduSize), ber.writeInteger(2))
|
||||
return (ber.writeUniversalTag(ber.Tag.BER_TAG_SEQUENCE, True), writeLength(sizeof(domainParam)), domainParam)
|
||||
return (ber.writeUniversalTag(ber.Tag.BER_TAG_SEQUENCE, True), ber.writeLength(sizeof(domainParam)), domainParam)
|
||||
|
||||
def writeMCSPDUHeader(self, mcsPdu, options = 0):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user