colabcat icon indicating copy to clipboard operation
colabcat copied to clipboard

Setting an MD5 Hashfile = Token length exception

Open Shazgul opened this issue 5 years ago • 4 comments

Always getting the error "Hash '/root/.hashcat/hashes/hash': Token length exception" when trying to use Mode 0 with an "hash" File, in the File is simply an Hash stored, nothing more. How to fix that?

Shazgul avatar Sep 25 '20 03:09 Shazgul

Are you sure you're using a proper MD5 hash in the hash file you've specified? Try using a website like this one to make sure you've got the right hash type in that file.

someshkar avatar Sep 25 '20 03:09 someshkar

I'm definitely sure that i put a simple MD5 in an File, yes, because i've generated a simple one myself (the word Test123!) just for testing :)

Shazgul avatar Sep 25 '20 16:09 Shazgul

Could you send the file and the hashcat command you're using to crack?

someshkar avatar Sep 26 '20 18:09 someshkar

@Shazgul the simplest way to ensure that your file is the hash and nothing else (like a stray hidden character that could mess up the parser) would be to make the file on the command line, like so:

echo "hash_goes_here" > filename_goes_here.hash

Wingman4l7 avatar Jan 11 '22 20:01 Wingman4l7