on-internet
← Community

Use login and password with rdpy RDP library

Stack Overflow ·

I am trying to use this RDP library: https://github.com/citronneur/rdpy. But I don't understand how can I connect to host with port, login and password. There is no login and password in this code: from rdpy.protocol.rdp import rdp from twisted.internet import reactor class MyRDPFactory(rdp.ClientFactory): def clientConnectionLost(self, connector, reason): reactor.stop() def clientConnectionFailed(self, connector, reason): reactor.stop() def buildObserver(self, controller, addr): class MyObserver(rdp.RDPClientObserver): def onReady(self): """ @summary: Call when stack is ready """ # send 'r' k

Comments

Sign in or sign up to comment and upvote.

No comments yet.