Skip to content

Commit

Permalink
Merge pull request #70 from SnaffCon/bugfix-panic
Browse files Browse the repository at this point in the history
ooops
  • Loading branch information
Sh3r4 authored Nov 24, 2021
2 parents a75b280 + b4c4c10 commit 5eb7ee0
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
54 changes: 27 additions & 27 deletions SnaffCore/Config/DefaultRules/PathRules.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,33 @@ private void BuildPathRules()
WordList = new List<string>()
{
// these are directory names that make us skip a dir instantly when walking a tree.
"\\winsxs\\",
"\\syswow64\\",
"\\system32\\",
"\\systemapps\\",
"\\windows\\servicing",
"\\servicing\\",
"Microsoft.NET\\Framework",
"windows\\immersivecontrolpanel",
"windows\\diagnostics",
"windows\\debug",
"node_modules",
"vendor\\bundle",
"vendor\\cache",
"locale\\",
"chocolatey\\helpers",
"sources\\sxs",
"localization\\",
"\\AppData\\Local\\Microsoft\\",
"\\AppData\\Roaming\\Microsoft\\",
"\\wsuscontent",
"\\Application Data\\Microsoft\\CLR Security Config\\",
"\\doc\\openssl",
"\\puppet\\share\\doc",
"\\lib\\ruby\\",
"\\lib\\site-packages",
"\\usr\\share\\doc",
"\\servicing\\LCU\\"
@"\\winsxs\\",
@"\\syswow64\\",
@"\\system32\\",
@"\\systemapps\\",
@"\\windows\\servicing",
@"\\servicing\\",
@"Microsoft.NET\\Framework",
@"windows\\immersivecontrolpanel",
@"windows\\diagnostics",
@"windows\\debug",
@"node_modules",
@"vendor\\bundle",
@"vendor\\cache",
@"locale\\",
@"chocolatey\\helpers",
@"sources\\sxs",
@"localization\\",
@"\\AppData\\Local\\Microsoft\\",
@"\\AppData\\Roaming\\Microsoft\\",
@"\\wsuscontent",
@"\\Application Data\\Microsoft\\CLR Security Config\\",
@"\\doc\\openssl",
@"\\puppet\\share\\doc",
@"\\lib\\ruby\\",
@"\\lib\\site-packages",
@"\\usr\\share\\doc",
@"\\servicing\\LCU\\"
},
});

Expand Down
2 changes: 1 addition & 1 deletion Snaffler/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private static Options ParseImpl(string[] args)
ValueArgument<int> grepContextArg = new ValueArgument<int>('j', "grepcontext",
"How many bytes of context either side of found strings in files to show, e.g. -j 200");
SwitchArgument domainUserArg = new SwitchArgument('u', "domainusers", "Makes Snaffler grab a list of interesting-looking accounts from the domain and uses them in searches.", false);
ValueArgument<int> maxThreadsArg = new ValueArgument<int>('a', "maxthreads", "How many threads to be snaffling with. Any less than 4 and you're gonna have a bad time.");
ValueArgument<int> maxThreadsArg = new ValueArgument<int>('x', "maxthreads", "How many threads to be snaffling with. Any less than 4 and you're gonna have a bad time.");
SwitchArgument tsvArg = new SwitchArgument('y', "tsv", "Makes Snaffler output as tsv.", false);
SwitchArgument dfsArg = new SwitchArgument('f', "dfs", "Limits Snaffler to finding file shares via DFS, for \"OPSEC\" reasons.", false);
SwitchArgument findSharesOnlyArg = new SwitchArgument('a', "sharesonly",
Expand Down

0 comments on commit 5eb7ee0

Please sign in to comment.