Using pdf2john I get a hash like this:
$pdf$2*3*128*2147483644*1*16*1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111*32*9999999999999999999999999999999999999999999999999999999999999999
According to the list of hashes this looks like type 10500. So I try the command
hashcat -m 10500 -a 0 ./hash.txt
which spits out the error
Hashfile './hash.txt' on line 1 ($pdf$2...99999999999999999999999999999999): Token length exception
where hash.txt simply contains the above hash. There is no whitespace at the end of my hash.txt file, so I'm at a loss as to what to try next.
-1028, your hash includes2147483644instead, being very close to the 32bit integer limit (2,147,483,647). This does not have to mean anything, but it could mean your pdf2john had an integer overflow – UndercoverDog Aug 28 '23 at 16:03