fix bugs
This commit is contained in:
@@ -425,7 +425,7 @@ class ErrorInfo(object):
|
|||||||
ERRINFO_ENCPKGMISMATCH = 0x00001194
|
ERRINFO_ENCPKGMISMATCH = 0x00001194
|
||||||
ERRINFO_DECRYPTFAILED2 = 0x00001195
|
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_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_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.",
|
ERRINFO_IDLE_TIMEOUT : "The idle session limit timer on the server has elapsed.",
|
||||||
|
|||||||
@@ -13,7 +13,5 @@ from rdpy.network.layer import LayerMode
|
|||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
from twisted.internet import reactor
|
from twisted.internet import reactor
|
||||||
#reactor.connectTCP("127.0.0.1", 5901, factory.RfbFactory(protocol))
|
reactor.connectTCP("12.0.0.1", 3389, rdp.Factory(LayerMode.CLIENT))
|
||||||
#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.run()
|
reactor.run()
|
||||||
Reference in New Issue
Block a user