Short FAQ

Some Frequently Asked Questions:

– Where do I get the required Python, PyCrypto and PyWin software to run the script?

To run this program install:
* Python 2.7 from http://www.python.org/download/
* PyCrypto from http://www.voidspace.org.uk/python/modules.shtml#pycrypto
* PyWin Extension (Win32API module) from # http://sourceforge.net/projects/pywin32/files/

Make sure to install Python 2.7. It’s highly recommended to use the 32-Bit Python Windows versions (even with a 64-bit Windows system). Don’t forget to download the right versions for PyCrypto and PyWin (in that case the 2.7 versions)

– I have Adobe (Acrobat/Reader) X and it doesn’t work – what do to?

Adobe X has a protected mode which writes registry entries and files to a secure archive instead on the file system. Some had a success by disabling the protected mode. If that doesn’t work use Adobe Acrobat/Reader 9. Open the file at least one time before using the script (otherwise the necessary files won’t be written on the harddisk).

– I only have a Linux PC and/or a Mac. Does the script work for these, too?

The script works for ADEPT e-book pdfs (the ones you can only read in Adobe Digital Editions) on all platforms. FileOpen support works at the moment only for  Windows computers. Linux may be working in the future (if there will be more donations). Update: I thought about the Mac support. I still don’t like Steve Jobs (I think he’s an arrogant a**) but why should Mac users suffer from their master’s egomaniac outburst. If I get some money I will buy IDA Pro for Linux and Mac (so far no way to debug it on these machines). Anyway, the ‘donation restriction’ is still in place (and no donations so far).

Let me make it clear: The script works fine for the Mac with the ADEPT encryption (like in Adobe Digital Editions). The restriction only refers to the FileOpen functionality.

I have problems with the decryption – what can I do?

Make sure you read the ‘Bug Report Blog Section’ very thoroughly.

I have a password protected FileOpen PDF. Can I open it without the password?

The FileOpen plugin gets the decryption key from the server. Your only chance is to find the key with a brute force attack. If you got a V1 FileOpen PDF (40 Bits key) you might go through it with a fast computer or a gpu. For that you need a fast programming language (like C/C++) and/or a GPU support (like CUDA). You have to write the program code yourself, of course. For V2 FileOpen PDFs (128 Bit) there is no chance of finding the key in a reasonable time. Short and simple: Most of the time – without the User/Password/Session-Key – you can’t decrypt the PDF – even with the script.

Where’s the download link, damn it?!

No direct download link available but google is very skilled in finding it.

What’s a FileOpen DRM anyway?

If you don’t know it you probably won’t need it. Maybe a quick Google search will help your brain to get more knowledge. 😉

Why is it called a ‘hybrid script’?

IneptPDF (8.0 or higher) does support ADEPT and FileOpen PDFs

Where can I get ‘support’ and deeper information about the whole script, Python installation, …?

Check out Mobileread FileOpen discussion or Mobileread ADEPT discussion (for Python, PyCrypto, … help) and of course i♥cabbages original script site ( i♥cabbages has nothing to do with the FileOpen script improvements)


22 Responses to “Short FAQ”

  1. 1 MiMi Wan
    October 7, 2010 at 1:04 am

    I have a pdf which is locked by FileOpen and tried to unlock it by the scripts you are talking about. I creates a adeptkey.der file and then starts INEPTPDF 8.4.42.pyw then the log file is created with an error: ‘RetVal=0&Error=YOU MUST LOGON TO THE ******* WEBSITE’

    Before the message i see the url to the web which checks if i can open it.

    I would be very appreciate for any suggestions which could help me to unlock my pdf.

    • October 7, 2010 at 11:09 am

      You need to create the FileOpen cookie by logging in with Firefox.

      Greetings Tetrachroma

  2. 3 Jenna
    October 7, 2010 at 6:33 am

    I recently bought an iPad in the hope of reading my ebooks from it. Unfortunately the site I download my books from has something called ‘DRM’ imbedded in the books which means I cannnot read them on the iPad.

    Although 100% tech illiterate, I’ve been from one site to another trying to find a way to remove or ‘strip’ the DRM from the books. The site has 4 download formats available: Adobe Digital Editions, Adope PDF, Microsoft eBooks & Mobi pocket book reader.

    Do you know if it is at all possible to remove or strip the DRM so I can read my books on my iPad?

    Any help would be greatly appreciated!


    • October 7, 2010 at 11:10 am

      As far as I know all 4 formats are drm-removable.

      Greetings Tetrachroma

  3. 5 AdamN
    December 10, 2010 at 10:10 am

    From my experience, you must also use Adobe Reader 9.x, NOT Adobe Reader X, which seems to be incompatible at present.

  4. 6 knhoj18
    February 3, 2011 at 3:37 am

    Hey, I’m having trouble. I have the 8.4.48, but I keep getting the “Pywin extention (win32API module) needed” error. I’ve already downloaded the Pywin32-214 stuff, but I’m not sure how to install it. I click on the setup icon in the Pywin 32-214 subfolders and something pops up like MSDOS but then disappears real quick. I’m sort of a rookie and hoping someone can guide me in the right direction. How do you install the Win32 stuff?

    procedures i did = Phyton 2.7 installed > Pycrypto 2.1.win32-py2.7 installed > Pywin32-214 downloaded and extracted.

    I hope you could help me on this thank you in advance!

    • February 3, 2011 at 10:42 am

      You need to install the same PyWin Extension as your python version. Get the installable executable (check the download folder carefully) and you’ll be fine. If you still have problems you might ask the related python news group or forum for PyWin as this is not a Script problem and I haven’t heard from this problem so far. Good luck.

      Greetings Tetrachroma

      • 8 knhoj18
        February 3, 2011 at 11:41 pm

        Thank you sir for your immediate response! i’ve already got the correct version..
        Well i’m just trying to test this program if i can be able to decrypt the pdf fileopen that i just got from my friend on my pc, but as what you had told i couldn’t because of the different hardware..=(

        Is there any chances or do you have any ongoing program that can able to decrypt the fileopen pdf even if it’s in a another pc? because most of my pdf files that i got from my friends are all fileopen protected..

        hope you can help..thank you sir

        • February 4, 2011 at 6:58 am

          You need the exact hardware configuration where the PDF can be opened with Adobe (Reader). Read the FAQs.

          Greetings Tetrachroma

  5. 10 MOT
    March 6, 2011 at 2:43 am


    I get “Offlinekey cannot be decrypted, aborting …”. When does it happen, and can I do something about it?


    • March 6, 2011 at 4:47 am

      Don’t use Adobe X but an earlier version.

      Greetings Tetrachroma

  6. 12 electric
    April 13, 2011 at 2:58 pm


    I’ve got one for you. Using ineptpdf.py v7 I’m getting this error when trying to decrypt a file.

    Error in: xxxx.pdfUnknown filter: param={‘INFO’: ‘HgR50GSLkqXSI2GJs9PUI1n9EUFP/H2SXnFIbZNihqdKxSurynK/…etc.

    Your help is much appreciated. I can send you the file also.


    • April 16, 2011 at 1:28 am

      You need to use ineptpdf 8.4.51 not the 7 version

      Greetings Tetrachroma

  7. 14 crashcow
    May 9, 2011 at 12:31 am


    I’m getting error: Decryption was not successful. Reason: Document Access Denied.
    Any help will be appreciated!


  8. 15 cnl83
    June 20, 2011 at 6:27 pm

    I keep running into the cook session key problem. I don’t understand where to obtain the a3control.com cookie.

  9. 16 Oscar R
    October 6, 2011 at 4:17 am

    Hi, i’m having problems with a fileopen pdf, i used version 8.4.50 but gives me an error “cannot find decryption key” could you help me?


  10. 17 Tim
    December 19, 2011 at 4:17 pm

    Hello Tetrachroma,
    Thanks for this nice resource!
    I’ve read this blog several time but have not find FAQ or Bugs sections.
    Can you post to these links?
    I’ve installed python-2.7.2.msi + pycrypto-2.3.win32-py2.7.msi + pywin32-216.win32-py2.7.exe on my WIndows XP but ineptpdf8.4.51.pyw does not run at all.
    How can I locate my mistake?

  11. October 1, 2014 at 4:00 am

    I’ll immediately take hold of your rss as I can’t in finding your
    e-mail subscription hyperlink or e-newsletter service.
    Do you have any? Kindly let me know in order that I may subscribe.

  12. October 1, 2014 at 11:31 am

    Hey I know this is off topic but I was wondering if you knew of any widgets I could
    add to my blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for quite some time and was
    hoping maybe you would have some experience with something like
    this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new updates.

  13. January 15, 2015 at 11:29 am

    Just want to say your article is as amazing. The clarity in your post is simply great and i can assume you’re
    an expert on this subject. Fine with your permission let me to grab your feed to keep up to date with forthcoming post.

    Thanks a million and please continue the enjoyable work.

  14. 21 Max
    December 30, 2016 at 12:36 pm

    In my case, ineptpdf 8.4.51 is able to decrypt the file and I can open it in Bluebeam, but Acrobat DC gives me an error saying that “The root object is missing or invalid”. I can re-pdf it and then I can open in Acrobat, but that dumps the text for some reason so that it’s just an image, and I have to re-run OCR. I tried with both Python 2.6×86/Pycrypto 2.1.0win32/Pywin32 2.2.0, and with Python 2.7×64/Pycrypto 2.6×64/Pywin32-220×64, same results. I’ve been successful with other files, so I think it’s something to do with the file, but it’s a new file that I just purchased and would like to remove the DRM from.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 180 other followers

Recent Posts


%d bloggers like this: