hashcat Forum

Full Version: Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I want to crack the hash from pdf file. This hash (between the ":" tokens) is in my hash.txt file.
Now i tried a dictionary and a brute force attack, but i only get the 'Line-length exception' error. What do i wrong?

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# hashcat -a 0 -m 10400 hash.txt dictionary.txt
hashcat (v3.10) starting...

WARNING: Hashfile 'hash.txt' on line 1 ($pdf$verylongpdfhash): Line-length exception
Parsed Hashes: 1/1 (100.00%)

ERROR: No hashes loaded   
 

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# hashcat -m 10410 -a 3 hash.txt
hashcat (v3.10) starting...

WARNING: Hashfile 'hash.txt' on line 1 ($pdf$verylongpdfhash): Line-length exception
Parsed Hashes: 1/1 (100.00%)

ERROR: No hashes loaded 
Check: https://hashcat.net/wiki/doku.php?id=example_hashes
Make sure your hash matches the format and the correct length for a PDF hash.

Also: https://hashcat.net/wiki/doku.php?id=fre..._documents
Stupid me. The Hashmode 10500 was the solution. I only ried 10400. Sorry for that.