Skip to content

Commit 0d3b420

Browse files
authored
Merge pull request #150 from SnaffCon/dashbfix
some stuff i didn't actually commit in the rulezzzz branch :grimace:
2 parents 9bf7459 + c7113c8 commit 0d3b420

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

Snaffler/Config.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ private static Options ParseImpl(string[] args)
312312
pathTarget = dirTargetArg.Value.TrimEnd('\\');
313313
}
314314
parsedConfig.PathTargets.Add(pathTarget);
315-
Console.WriteLine(parsedConfig.PathTargets[0]);
315+
//Console.WriteLine(parsedConfig.PathTargets[0]);
316316
Mq.Degub("Disabled finding shares.");
317317
Mq.Degub("Target path is " + dirTargetArg.Value);
318318
}

Snaffler/SnaffRules/DefaultRules/FileRules/Keep/Code/GenericConfig/KeepConfigByName.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ Description = "Files with these exact names are very interesting."
66
MatchLocation = "FileName"
77
WordListType = "Exact"
88
MatchLength = 0
9-
WordList = ["\\.htpasswd"]
9+
WordList = ["\\.htpasswd",
10+
"accounts\\.v4"]
1011
Triage = "Red"

Snaffler/SnaffRules/DefaultRules/FileRules/Keep/Code/KeepPassOrKeyInCode.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ WordList = ["passw?o?r?d\\s*=\\s*[\\'\\\"][^\\'\\\"]....",
1313
"api[kK]ey>\\s*[^\\s<]+\\s*<",
1414
"[_\\-\\.]oauth\\s*=\\s*[\\'\\\"][^\\'\\\"]....",
1515
"client_secret\\s*=\\s*[\\'\\\"][^\\'\\\"]....",
16-
"<ExtendedMatchKey>ClientAuth"
16+
"<ExtendedMatchKey>ClientAuth",
17+
"GIUserPassword"
1718
]
1819
Triage = "Red"

Snaffler/SnaffRules/DefaultRules/FileRules/Keep/UserFiles/PassMgrs/KeepPasswordFilesByName.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,6 @@ WordList = ["passwords\\.txt",
2525
"secrets\\.doc",
2626
"secrets\\.xls",
2727
"secrets\\.docx",
28+
"BitlockerLAPSPasswords\\.csv",
2829
"secrets\\.xlsx"]
2930
Triage = "Red"

0 commit comments

Comments
 (0)