Especially in large environments, the Snaffler output gets very large and time-consuming to analyze.
This script parse the Snaffler output file (TSV format required) and:
Snaffler must be executed with the -y switch in order to create an output file in the TSV format.
Example: .\Snaffler.exe -o snafflerout.txt -s -y
Simple parse the file my_snaffler_output.txt and write output with default sorting (severity, date modified) and default output files (TXT, CSV, HTML). .\snafflerparser.ps1 -in my_snaffler_output.txt
The different file output options are:
-outformat all Write txt, csv, html and json-outformat txt Write txt-outformat csv Write csv-outformat html Write html (includes clickable links)-outformat json Write jsonThose files can be splitted regarding the finding severity (black, red, yellow, green) using the -split switch.
Additonally a PS gridview output can be showed using “-gridview`.
The output will always be sorted regarding the severity than it can be sorted by:
-sort modified File modified date (default)-sort keyword Snaffler keyword-sort unc File UNC Path-sort rule Snaffler rule nameExplorer++ is an alternative file explorer on windows.
The great thing is that unlike the Windows Explorer it can be executed in another user’s context including the /netonly switch. This is useful when performing a pentest from a dedicated, non-domain joined pentest notebook or VM.
For more information click here.
Introduction Bash scripting is a powerful way to automate Linux tasks, but writing a script…
Introduction A self-signed SSL certificate is a certificate that is created and signed by the…
Introduction Debugging is an important part of Bash scripting. When a script does not work…
Introduction Cron jobs are used in Linux to run commands or Bash scripts automatically at…
Introduction Pipes are an important feature in Linux and Bash scripting. A pipe allows you…
Introduction The grep, awk, and sed commands are powerful text-processing tools in Linux. They are…