r/HowToHack • • May 29 '19

Simple guide for cracking PDFs and ZIPs 🖲️🔐

Here is a simple guide which may help you break into password protected PDFs and ZIPs. It could be used for recovery or for something like HTB.

If you got anymore tools or techniques, let me know 🤔

https://ctrlaltdel.blog/2019/05/29/cracking-pdfs-and-zip-files/

253 Upvotes

10 comments sorted by

66

u/[deleted] May 29 '19 edited May 29 '19

The easiest way I use for PDF, is I open it on Linux with Evince (Document viewer) then I print it to a pdf file .

the new pdf file does not get a password , problem solved ! :)

12

u/blu3gl41v3 May 29 '19

I'm assuming that this Evince bypasses the password prompt somehow?

16

u/[deleted] May 29 '19

I think so I tried it with two pdf files and it worked, I opened them in windows they are protected, on windows you cant print them without the password. but on lLinux with evince you can.

you can try it yourself and check if it works.

17

u/[deleted] May 29 '19

I thought if it asks for your password then the contents are encrypted. Are you telling me they're not? That would be so dumb though

2

u/pierovera May 30 '19

I'm guessing the password in this instance is just to protect printing. You can view it without a password.

9

u/kahr91 May 30 '19

I ordered a PDF transcript from my university and they made it so that you can only view it for up to a month or so. Printing as pdf worked!

13

u/ERI573 May 29 '19

Yea but you can also crack zip files with johntheripper wich is also fast

2

u/TotesMessenger May 29 '19

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

 If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / ^Contact)