Open bzsinger opened 5 years ago
Pre-requisites:
Script:
.\john\run\john -wordlist:./rockyou.txt -format=<format> ./hashes.txt
.\john\run\john --show ./hashes.txt > john_results.txt
Get-Content john_results.txt |
Select-String -Pattern (\w*):(\w*) |
% { $_.Matches } |
foreach { Write-Output "$($_.Groups[1]):$($_.Groups[2])" } > usernames.txt
Looks great. Would it be possible to have John downloaded and extracted automatically? For reference, look at 203cbe9a2de867c45ba829e9df6aec7ec29d046e.
Install John on Windows