Partial SHA1 hash match - arbitrary prefix length
#1
Question 
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!
Reply
#2
It's not particularly easy but is certainly doable. Do you know what length matches you'll be aiming for?
Reply
#3
Up to ten prefix bytes out of 20 of the SHA1 hash. I'll make a PR if I manage to hack it in.
Reply