Skip to content

Commit 8b78206

Browse files
committed
ruff formating
1 parent ab255aa commit 8b78206

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nxc/protocols/smb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ def output(sessions):
12721272
self.logger.debug(f"Could not resolve SID(s): {e}")
12731273

12741274
if resp:
1275-
for sid, item in zip(sessions.keys(), resp["TranslatedNames"]["Names"]):
1275+
for sid, item in zip(sessions.keys(), resp["TranslatedNames"]["Names"], strict=False):
12761276
if item["DomainIndex"] >= 0:
12771277
sessions[sid]["Username"] = item["Name"]
12781278
sessions[sid]["Domain"] = resp["ReferencedDomains"]["Domains"][item["DomainIndex"]]["Name"]

0 commit comments

Comments
 (0)