Skip to content

Commit

Permalink
[ntlmrelayx] Dump ADCS: fix issue when SID cannot be translated
Browse files Browse the repository at this point in the history
  • Loading branch information
SAERXCIT committed May 9, 2022
1 parent 18fc012 commit cc42f5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impacket/examples/ntlmrelayx/attacks/ldapattack.py
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ def translate_sids(sids):
sid_map[sid] = sid
continue

if not len(self.client.response):
if not len(self.client.entries):
sid_map[sid] = sid
else:
sid_map[sid] = domain_fqdn + "\\" + self.client.response[0]["attributes"]["name"]
Expand Down

0 comments on commit cc42f5d

Please sign in to comment.