We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab255aa commit 8b78206Copy full SHA for 8b78206
1 file changed
nxc/protocols/smb.py
@@ -1272,7 +1272,7 @@ def output(sessions):
1272
self.logger.debug(f"Could not resolve SID(s): {e}")
1273
1274
if resp:
1275
- for sid, item in zip(sessions.keys(), resp["TranslatedNames"]["Names"]):
+ for sid, item in zip(sessions.keys(), resp["TranslatedNames"]["Names"], strict=False):
1276
if item["DomainIndex"] >= 0:
1277
sessions[sid]["Username"] = item["Name"]
1278
sessions[sid]["Domain"] = resp["ReferencedDomains"]["Domains"][item["DomainIndex"]]["Name"]
0 commit comments