We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e39874 commit 76ed75eCopy full SHA for 76ed75e
1 file changed
nxc/protocols/ldap.py
@@ -1070,6 +1070,8 @@ def query(self):
1070
self.logger.fail(f"LDAP Filter Syntax Error: {e}")
1071
return
1072
for idx, entry in enumerate(resp_parsed):
1073
+ if not isinstance(resp[idx], ldapasn1_impacket.SearchResultEntry):
1074
+ idx += 1 # Skip non-entry responses
1075
self.logger.success(f"Response for object: {resp[idx]['objectName']}")
1076
for attribute in entry:
1077
if isinstance(entry[attribute], list) and entry[attribute]:
0 commit comments