This commit is contained in:
citronneur
2014-05-27 22:25:18 +02:00
parent 0e40e4dbf3
commit 123f341e93
2 changed files with 2 additions and 4 deletions

View File

@@ -425,7 +425,7 @@ class ErrorInfo(object):
ERRINFO_ENCPKGMISMATCH = 0x00001194
ERRINFO_DECRYPTFAILED2 = 0x00001195
MESSAGES = {
_MESSAGES_ = {
ERRINFO_RPC_INITIATED_DISCONNECT : "The disconnection was initiated by an administrative tool on the server in another session.",
ERRINFO_RPC_INITIATED_LOGOFF : "The disconnection was due to a forced logoff initiated by an administrative tool on the server in another session.",
ERRINFO_IDLE_TIMEOUT : "The idle session limit timer on the server has elapsed.",

View File

@@ -13,7 +13,5 @@ from rdpy.network.layer import LayerMode
if __name__ == '__main__':
from twisted.internet import reactor
#reactor.connectTCP("127.0.0.1", 5901, factory.RfbFactory(protocol))
#reactor.connectTCP("192.168.1.90", 3389, factory.RfbFactory(tpkt.TPKT(tpdu.TPDU(mcs.MCS()))))
reactor.connectTCP("192.168.135.198", 3389, rdp.Factory(LayerMode.CLIENT))
reactor.connectTCP("12.0.0.1", 3389, rdp.Factory(LayerMode.CLIENT))
reactor.run()