Proper method to extract the hash from a PDF file?
#3
Well, in fact, the "pdf2john" file included in my distro (The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) Linux v1.0.9) seems to be different, so I downloaded latest John the Ripper Jumbo version from here:
http://www.openwall.com/john/

and now the result (same file) is:

Code:
$ ../JTR/john-1.8.0-jumbo-1/run/pdf2john.py test-3-RC4-40-open-testpassword.pdf
test-3-RC4-40-open-testpassword.pdf:$pdf$1*2*40*-4*1*16*c015cff8dbf99345ac91c84a45667784*:::::test-3-RC4-40-open-testpassword.pdf

But I keep having the same Line-length exception, even leaving the hash file like:

Code:
$pdf$1*2*40*-4*1*16*c015cff8dbf99345ac91c84a45667784*:::::test-3-RC4-40-open-testpassword.pdf

$pdf$1*2*40*-4*1*16*c015cff8dbf99345ac91c84a45667784*:::::

$pdf$1*2*40*-4*1*16*c015cff8dbf99345ac91c84a45667784*

$pdf$1*2*40*-4*1*16*c015cff8dbf99345ac91c84a45667784

Maybe you could give me some idea about where did you get your pdf2john.py version?
Mine is 13.376 bytes size.

Thanks you.


Messages In This Thread
RE: Proper method to extract the hash from a PDF file? - by SopalajoArrierez - 02-20-2015, 07:10 PM