hashcat icon indicating copy to clipboard operation
hashcat copied to clipboard

Ignore John the Ripper $dynamic_X$ flags when loading hashes

Open lakiw opened this issue 2 years ago • 0 comments

Describe the feature John the Ripper prefixes $dynamic_X$ to hashes to help identify ambiguous or non-standard algorithms. It would be nice if Hashcat had a flag similar to --username where it would ignore the $dynamic_X field in a hashlist when loading hashes into Hashcat.

Aka a JtR hash for -m 0 (raw-md5) attack might look like:

user1:$dynamic_0$a0b1c2......

Current behavior Currently Hashcat will not recognize hashes which start with $dynamic_X$

Expected behavior It would be great if there was a --jtr flag (or some other name) where it would strip both the username and $dynamic_X$ from hashes before attempting to load them. Or perhaps include this functionality in the current --username flag?

A more complicated option would be for that $dynamic_X$ info to be included by default for hash types so Hashcat would automatically parse that if it existed without a flag. But I realize that's a much bigger ask.

lakiw avatar Aug 24 '23 17:08 lakiw