Quantcast
Channel: All Posts - Malicious Link - Blog by mubix - Rob Fuller
Viewing all articles
Browse latest Browse all 1156

Run All Rules for Hashcat

$
0
0

This is just a quick script to demonstrate using PowerShell to run all the rules against a specific hash (or hash file), starting from the smallest file (usually the simplest rules)

Set-Location -Path 'C:\Program Files\hashcat\'
Get-ChildItem .\rules\ | where { $_.extension -eq ".rule" } |
Sort-Object -Property Length | 
% { 
	.\hashcat64.exe -m1000 20F91778B033F841702E014D3B79148C .\rockyou.txt --loopback --rules $_.FullName
}

I’m sure there is a better way to do this. If you know of one please hit me up on Twitter, or other social media. DMs are open.


Viewing all articles
Browse latest Browse all 1156