hashcat Forum
Use hashcat with a dictionary of big words - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Developer (https://hashcat.net/forum/forum-39.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-40.html)
+--- Thread: Use hashcat with a dictionary of big words (/thread-6120.html)



Use hashcat with a dictionary of big words - hmt - 12-16-2016

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)


RE: Use hashcat with a dictionary of big words - atom - 12-18-2016

Total wrong approach. If your algorithm creates 128 byte intermediate values you need to handle that inside a dedicated kernel for that algorithm.


RE: Use hashcat with a dictionary of big words - hmt - 12-19-2016

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?


RE: Use hashcat with a dictionary of big words - Xanadrel - 12-19-2016

https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#what_is_the_maximum_supported_password_length


RE: Use hashcat with a dictionary of big words - atom - 12-22-2016

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.