Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: Use hashcat with a dictionary of big words
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I wanted to use hashcat to brute-force all the words in a dictionary file, and the maximum size of the words are 64 bytes.

I modified the common.h file and change the the following lines and then rebuild the code:

#define PW_MAX              128
#define PW_DICTMAX          127

But it seems that hashcat can recover only the wordlist up to size 31 bytes!
What shall I do further if I want to still use hashcat with bigger word sizes?

P.S. I need to use pure sha-1 mode (-m 100)
P.S.S. I use dictionary attack (-a 0)
Total wrong approach. If your algorithm creates 128 byte intermediate values you need to handle that inside a dedicated kernel for that algorithm.
Actually my need is to use only up to 64 bytes.
And the block size of the sha-1 is also 64 bytes. Why hashcat cannot handle to calculate the hash of words of size 31-65 bytes?
Yes, block size for sha1 is 64, but if the data part is >= 55, then it requires two calls to sha1 transform because of merkle-demgard construct.