fix(smb): fix f-string for rid-brute

main
Marshall Hallenbeck 2023-04-14 15:11:43 -04:00
parent bb5df5160d
commit 13302234cc
1 changed files with 1 additions and 1 deletions

View File

@ -1342,7 +1342,7 @@ class smb(connection):
domain = resp["ReferencedDomains"]["Domains"][item["DomainIndex"]]["Name"] domain = resp["ReferencedDomains"]["Domains"][item["DomainIndex"]]["Name"]
user = item["Name"] user = item["Name"]
sid_type = SID_NAME_USE.enumItems(item['Use']).name sid_type = SID_NAME_USE.enumItems(item['Use']).name
self.logger.highlight("f{rid}: {domain}\\{user} ({sid_type})") self.logger.highlight(f"{rid}: {domain}\\{user} ({sid_type})")
entries.append({ entries.append({
"rid": rid, "rid": rid,
"domain": domain, "domain": domain,