mirror of
https://github.com/Pennyw0rth/NetExec.git
synced 2026-11-07 09:26:01 -10:00
Merge pull request #1296 from Pennyw0rth/patchldap
This commit is contained in:
1 file changed
+4
@@ -191,6 +191,10 @@ class ldap(connection):
|
||||
self.cbt_status = "No TLS cert"
|
||||
else:
|
||||
raise
|
||||
except OSError as e:
|
||||
# Should catch TimeoutError ([Errno 110]), ConnectionRefusedError, host/network unreachable, etc.
|
||||
self.logger.debug(f"Connection error while checking LDAPS channel binding on {self.host}: {e!s}")
|
||||
self.cbt_status = "Unknown"
|
||||
|
||||
def enum_host_info(self):
|
||||
# Enumerate LDAP info
|
||||
|
||||
Reference in new issue
Block a user