Merge pull request #1440 from azoxlpf/fix/rdp-legacy-tls-864

This commit is contained in:
Alex authored and GitHub committed 2026-09-22 22:15:48 +02:00
commit 643c9370e5
1 file changed
+2 -1
+2 -1
View File
@@ -115,7 +115,7 @@ class rdp(connection):
self.logger.debug(f"Error adding host {self.host} into db: {e!s}")
def create_conn_obj(self):
self.target = RDPTarget(ip=self.host, domain="FAKE", port=self.port, timeout=self.args.rdp_timeout)
self.target = RDPTarget(ip=self.host, domain="FAKE", port=self.port, timeout=self.args.rdp_timeout, unsafe_ssl=True) # old servers only offer ciphers OpenSSL rejects at its default security level
self.auth = NTLMCredential(secret="pass", username="user", domain="FAKE", stype=asyauthSecret.PASS)
asyncio.run(self.check_nla())
@@ -166,6 +166,7 @@ class rdp(connection):
domain=self.domain,
dc_ip=self.domain,
timeout=self.args.rdp_timeout,
unsafe_ssl=True,
)
return True