Skip to content

Commit 99d4e49

Browse files
authored
Merge pull request Pennyw0rth#423 from Pennyw0rth/neff-patch-1
2 parents bb2f3ec + d52a651 commit 99d4e49

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/ldap.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ def enum_host_info(self):
302302
def print_host_info(self):
303303
self.logger.debug("Printing host info for LDAP")
304304
if self.args.no_smb:
305-
self.logger.extra["protocol"] = "LDAP" if self.port == "389" else "LDAPS"
305+
self.logger.extra["protocol"] = "LDAP" if self.port == 389 else "LDAPS"
306306
self.logger.extra["port"] = self.port
307307
self.logger.display(f'{self.baseDN} (Hostname: {self.hostname.split(".")[0]}) (domain: {self.domain})')
308308
else:

0 commit comments

Comments
 (0)