hashcat Forum
Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded" - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded" (/thread-6205.html)



Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded" - matt99 - 01-14-2017

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 



RE: Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded" - Xanadrel - 01-14-2017

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=frequently_asked_questions#how_do_i_extract_the_hashes_from_pdf_documents


RE: Try to crack pdf-hash but get error "Line-length exception" "No hashes loaded" - matt99 - 01-14-2017

Stupid me. The Hashmode 10500 was the solution. I only ried 10400. Sorry for that.