We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bb2f3ec commit d52a651Copy full SHA for d52a651
1 file changed
nxc/protocols/ldap.py
@@ -302,7 +302,7 @@ def enum_host_info(self):
302
def print_host_info(self):
303
self.logger.debug("Printing host info for LDAP")
304
if self.args.no_smb:
305
- self.logger.extra["protocol"] = "LDAP" if self.port == "389" else "LDAPS"
+ self.logger.extra["protocol"] = "LDAP" if self.port == 389 else "LDAPS"
306
self.logger.extra["port"] = self.port
307
self.logger.display(f'{self.baseDN} (Hostname: {self.hostname.split(".")[0]}) (domain: {self.domain})')
308
else:
0 commit comments