glv2 / bruteforce-salted-openssl

Try to find the password of a file that was encrypted with the 'openssl' command.
Other
205 stars 52 forks source link

Unable to Crack password for pdf file #24

Closed i124aq closed 2 years ago

i124aq commented 2 years ago

Hey,

I have a text and a pdf file both encrypted with openssl, I want to crack the passwords for both of them but seems it does not work for pdf whereas for text file it work. Any idea whats wrong or I am missing something? or this tools doesn't support pdf files? Would be thankful if anyone could nudge me in the right direction.

glv2 commented 2 years ago

Check the -M option for files that are not mostly ASCII text. As PDF files start with %PDF-, you could try bruteforce-salted-openssl -M "%PDF-" ....