Merge branch 'main' into neff-README

This commit is contained in:
Marshall Hallenbeck
2023-09-29 12:58:00 -04:00
committed by GitHub
+1 -1
View File
@@ -841,7 +841,7 @@ class ldap(connection):
try:
ip_address = socket.gethostbyname(name.split(".")[0])
if ip_address != True and name != "":
self.logger.highlight(f"{name} =", ip_address)
self.logger.highlight(f"{name} = {colored(ip_address, host_info_colors[0])}")
except socket.gaierror:
self.logger.fail(f"{name} = Connection timeout")
except Exception as e: