Rar2john creates a hash like "filename:hash" if I remember correctly. Make sure to edit out the "filename:" part.
Or if my memory on that is wrong, then it adds the filenames living inside the RAR container at the end of the hash like "hash:filename1:filename2:etc". If that's the case, edit away the filenames at the end.
(01-13-2026, 04:52 PM)Olek_michdoch Wrote: Hello everyone,
I’m trying to crack my own RAR archive with hashcat, but I always get this error:
Token length exception
No hashes loaded.
I extracted the hash using
rar2john
. The hash starts with:
$RAR3$*1*...
So I’m using:
hashcat -m 12500 hash.txt
But no matter what I do, hashcat always says the token is too long or malformed.
What I already tried:
Removed the filename from the hash
Removed everything after the hash
Made sure the file contains only one single line
Tried different editors (Notepad, Notepad+, etc.)
Re-extracted the hash multiple times with rar2john
Still the same error.
Questions:
Is there a maximum length for RAR3 hashes in hashcat?
Can a very large archive produce an invalid or unsupported hash?
Is there a specific format that hashcat strictly expects for RAR3 hashes?
Could it be that the hash is incomplete or brokenhot games even though rar2john generates it?
If someone can explain exactly what causes the “Token length exception” with RAR hashes or what to check, I’d really appreciate it.
Thanks a lot!
Let me share some experience: I also encountered the "Token length exception" with RAR3, and most of the time it was because the hash still had extra characters or line breaks. Hashcat is extremely sensitive to formatting; even a single space or unusual character can cause an error.
02-10-2026, 08:16 PM (This post was last modified: 02-10-2026, 09:55 PM by Xanadrel.
Edit Reason: use direct link
)
(02-10-2026, 06:32 PM)YanTA Wrote: When I extract the hash file with the John program, its size is 2 GB and that's why HashCat can't find the password inside. Please tell me what to do. There are two movies in my zip file with a size of 700 MB.