hashcat Forum

Full Version: Partial SHA1 hash match - arbitrary prefix length
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

Can someone with good understanding of hashcat/openCL please give me a few pointers?
I need to brute force partial prefix SHA1 match of arbitrary length.

Here's a thread with a patch that is doing exactly that but for fixed first 8 bytes of the hash: https://hashcat.net/forum/thread-7794.html It is almost what I need, just want to pass the length of the partial match to the kernel.

Thanks a lot in advance!
It's not particularly easy but is certainly doable. Do you know what length matches you'll be aiming for?
Up to ten prefix bytes out of 20 of the SHA1 hash. I'll make a PR if I manage to hack it in.