I have to extract a PDF book from a PW protected RAR file.

I successfully extracted the compressed file with 7-Zip, but when I try to open the decompressed PDF book I am asked for a PW. There are a number of applications to retrieve the PW, but in order to better target my search I'd like to know where should I look for the PW: in the RAR archive or in the extracted PDF file? Some password retrieval applications are designed for PDF files and others for RAR/ZIP archives. Where should I look for?


  • How uncompressed PDF is related to RAR archive where it leaves before? How piece of cookie related to its package? Fridge have no clue what it freezing... and so on... – Alex Feb 6 '17 at 20:42
  • First, you cannot retrieve a password from an encrypted RAR file. Encryption doesn't work that way. Second, your process indicates that the password is being asked by your PDF viewer, so thinking through your steps so far you have already answered your own question. – music2myear Feb 6 '17 at 20:48
  • Alex, I really can't understand your question and how it relates to my issue. Perhaps it would help if you said something more ( and more specific!) than "..and so on.." – Ittiandro Feb 6 '17 at 22:02
  • Alex, I inadvertently sent the comment before finishing: I'll will conclude by saying that even I can normally understand metaphorical or analogic language, still I can't see what bearing do your cookie or fridge similes have on the relationship between " uncompressed PDF and "RAR archive", unless you want to be somewhat paradoxically witty.. – Ittiandro Feb 6 '17 at 22:10
  • 1
    Further, you have not yet clarified whether it is the RAR password you need or the PDF you don't have. As you have already decompressed the PDF we are assuming it is the PDF password you need. If this is the case, could you edit the question to indicate this is what you're looking for. – music2myear Feb 7 '17 at 18:30

If you have a normal PDF file that is not in an RAR file, and when you open the PDF it asks for a password, there is no way whatsoever that the password should somehow be part of the RAR file.

The PDF is locked/encrypted and you need the key to open it.

| improve this answer | |

If the password challenge shows at PDF opening then it's saved into the PDF file security settings. If the password challenge shows at RAR extracting then it's in the RAR file.

Current standards for secured PDF files use AES-256 so good luck with that.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.