Update: Start MCS layer
This commit is contained in:
@@ -26,6 +26,7 @@ import asyncio
|
||||
|
||||
from rdpy.core import tpkt, x224
|
||||
from rdpy.core.nla import ntlm
|
||||
from rdpy.core.t125 import mcs
|
||||
from rdpy.model.message import UInt8
|
||||
|
||||
if __name__ == '__main__':
|
||||
@@ -37,7 +38,9 @@ if __name__ == '__main__':
|
||||
'127.0.0.1', 33389)
|
||||
|
||||
x224_layer = await x224.connect(tpkt.Tpkt(reader, writer), ntlm.NTLMv2("", "sylvain", "sylvain"))
|
||||
await x224_layer.write(UInt8(8))
|
||||
mcs_layer = mcs.Client(x224_layer)
|
||||
await mcs_layer.connect()
|
||||
|
||||
await asyncio.sleep(10)
|
||||
print("foooooooooooooooooooo")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user