hashcat icon indicating copy to clipboard operation
hashcat copied to clipboard

hash_filename computation

Open davidbolvansky opened this issue 3 years ago • 0 comments

I would like to understand more how hashcat computes hash_filename as I would like to (auto)generate dictstat2 file.

I found relevant lines in souce code: https://github.com/hashcat/hashcat/blob/master/src/wordlist.c#L480

Consider the dictionary with name "example.dict". Run attack with this dictionary.

Hashcat produces dicstat2 file ending with these bytes: image

But why such data? I would expect truncated value of sha1("example.dict) - 055aa29b6fbaf1b2810232bd2be4434a6971edb4

Something like: image

davidbolvansky avatar Sep 19 '22 21:09 davidbolvansky