[HELP] to decrypt hash of pdf file
#1
Hello,
I have a PDF file that requires a password to open and read.
I used pdf2hashcat.py to extract the hash: 
$pdf$2*3*128*-1852*1*16*1dba0d5ebcd9ae5746f179af98e90327*32*7d4ee51a25ea6b8bd843667cda8672eb00000000000000000000000000000000*13*2b33a25dd86545acc70173231b

When I run the command: 
hashcat -a 3 -m 10500 %HASH% ?a?a?a?a?a?a?a?a?a?a

I get the following error:
Hash '$pdf$2*3*128*-1852*1*16*1dba0d5ebcd9ae5746f179af98e90327*32*7d4ee51a25ea6b8bd843667cda8672eb00000000000000000000000000000000*13*2b33a25dd86545acc70173231b': Token length exception

* Token length exception: 1/1 hashes
  This error happens if the wrong hash type is specified, if the hashes are
  malformed, or if input is otherwise not as expected (for example, if the
  --username option is used but no username is present)

No hashes loaded.

whis the hash mod 25400 i get:
hashcat -a 3 -m 25400 %HASH% ?a?a?a?a?a?a?a?a?a?a

Hash '$pdf$2*3*128*-1852*1*16*1dba0d5ebcd9ae5746f179af98e90327*32*7d4ee51a25ea6b8bd843667cda8672eb00000000000000000000000000000000*13*2b33a25dd86545acc70173231b': Separator unmatched
No hashes loaded.


What am I doing wrong?

Thanks
Reply


Messages In This Thread
[HELP] to decrypt hash of pdf file - by Th3Heavy - 03-12-2025, 07:45 PM