How do you get the hash from a PDF? - 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: How do you get the hash from a PDF? (/thread-7409.html) |
How do you get the hash from a PDF? - binarystar - 04-01-2018 Before you point me to pdf2hashcat.py, hear me out. I tried this with a PDF file that I have, and the problem is that it returns this error: Code: b.pdf : Could not find /ID tag It's a password-protected PDF that you can't read without entering the password. The metadata I get from ExifTool is pasted below. Code: ExifTool Version Number : 10.88 I can't even get through the first hurdle of getting the hash for the password. Is there any way around this? RE: How do you get the hash from a PDF? - binarystar - 04-01-2018 I was able to get this by running it on pdfcrack.exe Code: PDF version 1.7 I'm not sure how to interpret this: which is the hash for the password? U? O? RE: How do you get the hash from a PDF? - MrMeeseeks - 04-02-2018 They are both hashes which allow different access. U: is for user password, which will only allow you to view the content of the pdf. O: is for owner password, which will grant change permissions. Hashcat only cracks encrypted PDFs, and the one you are posting about is password protected, not encrypted. There are many tools freely available that will strip out the password protection. Hashcat cannot crack password protected PDFs. I'm sure you can do the research to find these tools. |