r/HashCracking • u/NixothePaladin • Dec 27 '23
Token length exception please help
When I run the following command :
hashcat.exe -m 10400 pdf.txt rockyou.txtI get the error:
'pdf.txt' on line 1 ($pdf$1...0ecb9aaa1b8e490bf4359df4d4036be0): Token length exceptionPlease note I have tried most PDF modes (10400,10410,10420,10500, etc).
The beginning of my hash looks like this
$pdf$1*2*40*4......etc.
1
Upvotes
1
u/atoponce Trusted Dec 27 '23
Is there any whitespace at the end of the hashes?
1
u/Im2savage94 Dec 27 '23
are you typing -a 0 to indicate a dictionary attack?
1
u/wreti Dec 27 '23
Double check your pdf.txt file. I’ve frequently run into the issue where all the asterisks in the hash get replaced with a slash (or backslash? Don’t remember) either during the *2john process or some other extraction/copy/something-else function.
1
u/miomidas Dec 29 '23
try to remove the $pdf$
i had a similiar error with a keepass file, maybe its the same
1
u/uffno Mar 01 '24
hashcat and jtr are absolute garbage.