diff --git a/rdpy/protocol/rdp/pdu.py b/rdpy/protocol/rdp/pdu.py index 5294706..f19b8d7 100644 --- a/rdpy/protocol/rdp/pdu.py +++ b/rdpy/protocol/rdp/pdu.py @@ -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.", diff --git a/rdpy/rdpclient.py b/rdpy/rdpclient.py index 4283094..632d41f 100644 --- a/rdpy/rdpclient.py +++ b/rdpy/rdpclient.py @@ -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() \ No newline at end of file