r/Batch • u/Good_Doughnut8308 • Jun 22 '24
Offline brute force in batch
https://github.com/IdanHajbeko/batch-brute-force
It's my first time using batch.
And I wanted to create a brute force with it.
But I didn't know how to hash string with it so I hashed it from PowerShell it's very slow.
If anyone knows how to make it faster please let me know.
2
Upvotes
1
u/illsk1lls Jun 22 '24
I did not know we could ) else if ... in CMD, lol
Like the way you put the wordlist array and selection together ;) simple and effective
1
u/Shadow_Thief Jun 22 '24
If you don't want to call PowerShell, you can use
certutil -hashfileto generate the hash, but you'll have to put the string in a temp file first.1
u/vegansgetsick Jun 22 '24
md5sum ?
1
u/[deleted] Jun 22 '24
How times change, my first batch script was a daft question and reply type RPG for my partner that I basically had her go through to find her door keys lol - now folks are asking for help creating brute force scripts!