mirror of
https://github.com/Pennyw0rth/NetExec
synced 2026-06-06 16:34:30 +00:00
Fix RDP login
Fix RDP login, major breaking change so it is also commited on the public repo
This commit is contained in:
@@ -150,7 +150,7 @@ class rdp(connection):
|
||||
|
||||
async def connect_rdp(self, url):
|
||||
connectionfactory = RDPConnectionFactory.from_url(url, self.iosettings)
|
||||
self.conn = connectionfactory.create_connection_newtarget(self.hostname, self.iosettings)
|
||||
self.conn = connectionfactory.create_connection_newtarget(self.host, self.iosettings)
|
||||
_, err = await self.conn.connect()
|
||||
if err is not None:
|
||||
raise err
|
||||
|
||||
Reference in New Issue
Block a user