Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Removing DRM protection from eBooks (http://stream-recorder.com/forum/forumdisplay.php?f=63)
-   -  

Remove DRM from PDF ebooks (Adobe Digital Editions)

(http://stream-recorder.com/forum/showthread.php?t=5895)

REbook 01-08-2010 09:05 PM

Remove DRM from PDF ebooks (Adobe Digital Editions)


 
Posting to help anyone out there:
  1. First I downloaded/installed python/pycrypto.
  2. Then I got ineptkey.pyw, ineptepub.pyw(for epub files) ineptpdf.pyw v2 (for pdf files) put all them into my digital editions directory.
  3. Ran ineptkey.pyw. It found the key and saved as "ADEPTKEY.DER " in the same directory where ineptkey.pyw is.
  4. Then, I ran ineptpdf.pyw (v2 worked fine). In the dialog window I put the path to the input file(the file was in the my digital edition folder) and named a file name for the outfile file.
  5. Voila DRM Free!

gdbreck 01-22-2010 08:57 AM

Re: Remove DRM from PDF ebooks


 
Thanks REbook for posting information on doing Adobe Digital Editions pdf files. I can now copy move of my reference books to my Kindle DX.

HamletofWI 02-16-2010 07:56 PM

Remove DRM from PDF ebooks


 
.... if I could just remove the DRM from a couple of books I have in PDF format. ;).

Stream Recorder 02-18-2010 07:13 AM

Re: Remove DRM from PDF ebooks


 
ineptpdf.pyw can be used for removing DRM from PDF files :)

Stream Recorder 03-11-2010 01:52 AM

Re: Remove DRM from PDF ebooks


 
ineptpdf.pyw, version 6.1
Code:

http://pastebin.com/f6cbfb494
aineptpdf.pyw, version 6.3
Code:

http://pastebin.com/f35f732a9

shazzy4000 03-14-2010 01:29 AM

Re: Remove DRM from PDF ebooks


 
Could anyone, please also provide me with ineptpdf version 4? I tried finding it online but couldn't.

The older Adobe Digital Version is not reading my downloaded books! When I try opening them on it, it stays blank.

Stream Recorder 03-14-2010 08:04 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by shazzy4000 (Post 17167)
Could anyone, please also provide me with ineptpdf version 4? I tried finding it online but couldn't.

Why don't you use a newer version instead?

Bl4ckSt0rm 03-24-2010 12:09 PM

Re: Remove DRM from PDF ebooks


 
With ineptpdf.pyw alone it doesn't work, you need a ".der" file, how do you get that file?

Stream Recorder 03-24-2010 01:15 PM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Bl4ckSt0rm (Post 17574)
With ineptpdf.pyw alone it doesn't work, you need a ".der" file, how do you get that file?

ineptkey.pyw (Key-retrieval script) can create a ADEPTKEY.DER:
http://stream-recorder.com/forum/sho...55&postcount=3

Bl4ckSt0rm 03-24-2010 07:39 PM

Re: Remove DRM from PDF ebooks


 
With "ineptkey.pyw" I'm able to create the "adeptkey.der" file. But when I run "ineptpdf.pyw" the "adeptkey.der" file is automatically selected, after that I browse my PDF and I choose the Output file and when I push the Decrypt button it says: "Error: String required: None". What is the problem?

Stream Recorder 03-25-2010 12:19 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Bl4ckSt0rm (Post 17590)
With "ineptkey.pyw" I'm able to create the "adeptkey.der" file. But when I run "ineptpdf.pyw" the "adeptkey.der" file is automatically selected, after that I browse my PDF and I choose the Output file and when I push the Decrypt button it says: "Error: String required: None". What is the problem?

This was tested on PDF version 1.4, 1.5, 1.6, 1.7 .

Is your PDF file located in the "My Documents\My Digital Editions\" folder?

Bl4ckSt0rm 03-25-2010 09:38 AM

Re: Remove DRM from PDF ebooks


 
Yes, it is.

Stream Recorder 03-26-2010 01:01 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Bl4ckSt0rm (Post 17616)
Yes, it is.

What OS do you use? What versions of "ineptkey.pyw", "ineptpdf.pyw", Python and PyCrypto do you have? What is the version of your PDF document?

Bl4ckSt0rm 03-26-2010 09:39 AM

Re: Remove DRM from PDF ebooks


 
I use Windows 7 64-bit, ineptkey.pyw version 4.4, ineptpdf version 7.2, Python 2.6, PyCrypto 2.1, and I don't know the version of my PDF.

Stream Recorder 03-26-2010 11:05 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Bl4ckSt0rm (Post 17655)
I use Windows 7 64-bit, ineptkey.pyw version 4.4, ineptpdf version 7.2, Python 2.6, PyCrypto 2.1, and I don't know the version of my PDF.

Make sure you use pyhton x32 with pycrypto x32. And place ineptpdf and ineptkey into the "My Documents\My Digital Editions\" folder. Also try other versions of ineptpdf and ineptkey.

ineptpdf, version 7.4 (ineptpdf74.pyw)
Code:

http://pastebin.com/qqWJCRX6
If it doesn't help, redownload the PDF or reauthorize your ADE and the PDF with your Adobe ID.

Bl4ckSt0rm 03-26-2010 04:38 PM

Re: Remove DRM from PDF ebooks


 
It worked! I redownloaded the PDF and it worked. Thank you very much for your help.

sts70nl 03-30-2010 11:56 PM

Re: Remove DRM from PDF ebooks


 
:confused: :(

I use
- Win 7
- Python 2.6.5 32 bit
- ineptkey 4.3
- ineptpdf 7.4
- pycrypto 2.6

Everything seems to work ok except for the following
- the INEPT PDF Decrypter window doesn't close when pressing quit
- the PDF created contains errors
- can't print pages (no pages selected)
- when scrolling through the document at some point I get in Adobe Acrobat error 135 (this repeats itself a couple of times and results in blank pages)
- GSView error
- unknown operator "C"
- file has an unbalanced >> (close dictionary). gsapi_execute_cont returns -8
- File did not complete the page properlly and may be damaged
- warning: file has unbalanced q/Q operators (too many q's)
- gsapi_exit returns 0


Any ideas are welcome.

Stream Recorder 04-01-2010 01:23 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by sts70nl (Post 17764)
I use
- Win 7
- Python 2.6.5 32 bit
- ineptkey 4.3
- ineptpdf 7.4
- pycrypto 2.6

Try older versions of ineptpdf.

inept2 04-04-2010 08:00 AM

Re: Remove DRM from PDF ebooks


 
If I would have a copy of the file and the key I could look into the problem.

sts70nl 04-08-2010 12:19 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by inept2 (Post 17889)
If I would have a copy of the file and the key I could look into the problem.

Where to send the files?

Stefan

Stream Recorder 04-08-2010 02:54 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by sts70nl (Post 17997)
Where to send the files?

PM them to inept2

yabbah 04-09-2010 06:11 AM

Re: Remove DRM from PDF ebooks


 
I got a problem. I tried use different versions of ineptpdf, but all got the same issue. When choosed the file and the output and pressed "decrypt", the windows appears like this:



Anyone can help? Also when I try open the pdf in adobe digital edition, I got this error msg:
Code:

This version of Digital Editions does not support documents protected with Adobe Policy Server.

Stream Recorder 04-09-2010 08:02 AM

This version of Digital Editions does not support documents protected with Adobe Poli


 
Quote:

Originally Posted by yabbah (Post 18026)
I got this error msg:
Code:

This version of Digital Editions does not support documents protected with Adobe Policy Server.

Some PDF files are protected with "Adobe Policy Server" and NOT by "Adobe Digital Editions". ineptpdf doesn't work with such PDF files.

If I'm not mistaken, I used Advanced PDF Password Recovery from Elcomsoft for unlocking such PDF documents and remove editing, printing and copying restrictions from them, but it was long ago. The program allows to open encrypted and password-protected PDF documents.

yabbah 04-09-2010 08:08 AM

Re: This version of Digital Editions does not support documents protected with Adobe


 
Quote:

Originally Posted by Stream Recorder (Post 18028)
Some PDF files are protected with "Adobe Policy Server" and NOT by "Adobe Digital Editions". ineptpdf doesn't work with such PDF files.

If I'm not mistaken, I used Advanced PDF Password Recovery from Elcomsoft for unlocking such PDF documents and remove editing, printing and copying restrictions from them, but it was long ago. The program allows to open encrypted and password-protected PDF documents.

Thanks, I tried elcomsoft advanced PDF password recovery v5.0 but got this errormessage when try open the pdf:



Any other suggestions? I really need this file, I couldn't rent it for more then 2 days. :(

//yabbah

Stream Recorder 04-09-2010 10:17 AM

Re: This version of Digital Editions does not support documents protected with Adobe


 
yabbah, I wish I knew how to help you.

May be you can print it using a virtual PDF printer like DoPDF. I don't really know whether printing is allowed for such files.

joblack 07-15-2010 08:52 PM

Re: Remove DRM from PDF ebooks


 
Get the newest ineptkey from I love cabbages's website.
ineptkey v5 :
Code:

http://pastie.org/1030386
Ineptpdf 7.4 is the newest version with ADE support. The 8.4.x version additionally supports FileOpen. For Adobe Lifecycle exists a 'man in the middle' server configuration (simulates and switches ssl values).

ineptpdf8.4.21.pyw
Code:

http://pastebin.com/SNmuWLS0
A few rare ADE pdfs can't be decrypted right. The problem is known but there must be a small bug in the dumping methods.

Janie 07-24-2010 10:35 PM

Re: Remove DRM from PDF ebooks


 
I think I've done everything in the posts above, and used so many different versions of inept files I lost track. Anyway, whichever version I use, I get the following message:
Error: could not convert string to float.

( I bought a set of five pdf ebooks, four of them convert no problem, the fifth - the first in the set - gives me that error message).

Can anyone help, please?

Melusine 08-07-2010 09:45 AM

Re: Remove DRM from PDF ebooks


 
I follow the instructions to remove the DRM from one of my ebook. and I got the following message :
"error : string required : none"

I don't the finest idea what to do to not have this message.

Thanks for your help.

I have installed : python-2.6, pycrypto py2.6,, ineptkey_v43, ineptpdf.pyw version 6, aineptpdf V6.3, my and I run under Vista

Stream Recorder 08-07-2010 12:08 PM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Melusine (Post 20736)
I have installed : python-2.6, pycrypto py2.6,, ineptkey_v43, ineptpdf.pyw version 6, aineptpdf V6.3, my and I run under Vista

Make sure to use Python x32 even if you have Windows Vista x64.
Also try newer versions of ineptkey, ineptpdf.

Zaida45 08-15-2010 01:04 PM

Re: Remove DRM from PDF ebooks


 
Is there any script that will work on a Mac? Pycrypto is only available for PC.

Stream Recorder 08-15-2010 09:30 PM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by Zaida45 (Post 20880)
Is there any script that will work on a Mac? Pycrypto is only available for PC.

This is not correct. PyCrypto works fine on a Mac. Just download it, unpack. Then open the terminal and navigate to the PyCrypto directory. Then build PyCrypto and install it:
Code:

python setup.py build
python setup.py install


joblack 08-20-2010 06:39 PM

Re: Remove DRM from PDF ebooks


 
If you only use epubs you can use the new ineptkey 5 which doesn't need pycrypto for the Mac. For (ADEPT) pdf decryption pycrypto isn't optional - even for the Mac.

eyeplaya 08-28-2010 04:36 AM

Re: Remove DRM from PDF ebooks


 
Help!!! I am using Adobe Editions version 1.7.2.1131 and i just paid for a great PDF ebook but i try to remove the DRM to put it on my Kindle but it gives me an error (14) when i open the decrypted PDF, so hasn't worked.

I used these two with Python:

ineptkey.pyw version 5
ineptpdf.pyw, version 6.1

also tried same .de key with aineptpdf.pyw, version 6.3

But with no luck :-(

Thanks for reading!

joblack 08-29-2010 09:59 PM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by eyeplaya (Post 21157)
Help!!! I am using Adobe Editions version 1.7.2.1131 and i just paid for a great PDF ebook but i try to remove the DRM to put it on my Kindle but it gives me an error (14) when i open the decrypted PDF, so hasn't worked.

I used these two with Python:

ineptkey.pyw version 5
ineptpdf.pyw, version 6.1

also tried same .de key with aineptpdf.pyw, version 6.3

But with no luck :-(

Thanks for reading!

Did you create the adeptkey.der key file again (click in the ineptkey.pyw)? Try ineptpdf 8.4.36 or higher.

eyeplaya 08-30-2010 03:37 AM

Re: Remove DRM from PDF ebooks


 
Hi Joblack, no i didn't because i didn't change the version of adeptkey i assumed it would bey the say .der file.

eyeplaya 08-30-2010 04:47 AM

Re: Remove DRM from PDF ebooks


 
Joblack,

I wasn't running PyCrypto so i downloaded this...

PyCrypto 2.1 for 32bit Windows and Python 2.7 (.zip)

And run it on Python 2.7 with Ineptkey 5 and:

Ineptpdf 8.4.34 also retried with 8.4.35 and 8.4.36

and still no luck. This is driving me crazy! lol

sts70nl 08-31-2010 02:47 AM

Re: Remove DRM from PDF ebooks


 
Some time ago I had a problem reading a PDF in Acrobat Reader. When I opened it up in another PDF-reader (FoxIt) it worked fine.

It seems that the new Acrobat Readers have a lower 'error tollerance'.

inept2 08-31-2010 06:46 AM

Re: Remove DRM from PDF ebooks


 
Quote:

Originally Posted by eyeplaya (Post 21182)
Joblack,

I wasn't running PyCrypto so i downloaded this...

PyCrypto 2.1 for 32bit Windows and Python 2.7 (.zip)

And run it on Python 2.7 with Ineptkey 5 and:

Ineptpdf 8.4.34 also retried with 8.4.35 and 8.4.36

and still no luck. This is driving me crazy! lol

Are you sure this PyCrypto is for Python 2.7? I haven't seen a PyCrypto for Python 2.7 and one that is for Python 2.6 almost certainly will give problems. If you are not absolutely sure it is for 2.7 then use Python 2.6.

eyeplaya 08-31-2010 12:19 PM

Re: Remove DRM from PDF ebooks


 
Hi, no i'm not sure - i'm in a mess with it all!

I got it from here...

http://www.voidspace.org.uk/python/m...shtml#pycrypto

mrnagrom 09-16-2010 10:57 AM

Re: Remove DRM from PDF ebooks


 
anybody know how to remove the encryption from Barnes and Noble pdf files? i have a book in NookStudy
that i paid 100 dollars for. it would be nice if i could use my reader to read it.


All times are GMT -6. The time now is 03:49 AM.