-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDF "permissions" password? vs PDF file open password #5645
Comments
I'm not 100% sure but I guess this |
Also, I think hashcat has this as 25400 so we can study the algo for implementing it. EDIT yes it's mentioned in #5165 as well. |
After checking the referenced issue I see there is still a little work to be done as it has to be merged into the existing |
In some cases the current pdf2john will output some hash that we then "crack" as empty password - although the real password is not empty and is an owner or permissions password. In those cases (or at least some of them) hashcat can crack the real password if you supply the correct cracking mode (25400) and not any of the others. I'm not sure this is the complete picture though. |
File open passwords obviously work fine. For PDFs with permission passwords, John will recognize the PDF as encrypted, and declare it has found a password, but the password field is blank. I don't see any information about permission passwords for PDF's on the forum. I may have missed it. But I was curious, if this was worthy of a feature request if it's not already present.
The text was updated successfully, but these errors were encountered: