View Full Version : Adobe ADEPT DRM for PDF circumvented


Pages : 1 [2] 3 4

EowynCarter
05-01-2009, 04:26 AM
Yes, I can understand stress, especially in these times, but I think another concern he's having is with not exposing his identity to Adobe (quite understandable, too). I'm not sure he'll release anything until he has a method he's comfortable with...
Adobe should be tanks him for fixing thier mess. Knonwing i can un-drm the e-books is the only reasson I buy them.... :smack:

Has anyone trying running the scripts with linux ? it seams in need ade, that needs winddows.

wallcraft
05-01-2009, 08:02 AM
Has anyone trying running the scripts with linux ? it seams in need ade, that needs winddows. I have not tried, but I assume key retrieval may require Adobe Digital Editions (which you also need to download the DRMed PDFs) and so does not run under Linux. This is only a one-time step though, and I would expect decryption to work under Linux once you have your key.

joblack
05-01-2009, 10:05 AM
Adobe should be tanks him for fixing thier mess. Knonwing i can un-drm the e-books is the only reasson I buy them.... :smack:

Has anyone trying running the scripts with linux ? it seams in need ade, that needs winddows.

Works fine, also for Linux (have you installed pycrypt?). For the key retrieval you can use wine ... one sidemark: you should remember that ILC is doing this for free ... it's a matter of time. If ILC isn't releasing his solution I (or somebody else) will find one eventually ...

tjax
05-01-2009, 02:18 PM
Oh i♥cabbages, why have you forsaken us? Are you that busy? Has Adobe finally got its dirty hands on you?

Maybe it's time for another hero to rise up and have a look on the scripts. I suggest eating a lot of cabbages first - that seems to help. :D

joblack
05-01-2009, 11:20 PM
Oh i♥cabbages, why have you forsaken us? Are you that busy? Has Adobe finally got its dirty hands on you?

Maybe it's time for another hero to rise up and have a look on the scripts. I suggest eating a lot of cabbages first - that seems to help. :D

I'm investigating ... how big is your adeptkey.der exactly? 607 or 608 bytes?

ilovejedd
05-01-2009, 11:28 PM
609 bytes here.

joblack
05-01-2009, 11:39 PM
609 bytes here.

Very strange - I also have two people who have encrypted pdfs with an empty trailer ... check out your working encrypted pdfs with a hex editor. If there is a

trailer.<<>>.startref.$NUMBER.%%EOF

at the end and your Digital Editions is still showing it they have changed the format of the pdf again (Adobe also forced me to update my DE).

But without a trailer it goes against the official pdf reference (and shouldn't work)... anyway, if you have a working encrypted pdf with that format (means there is nothing between << and >>) please report.

ogun7
05-02-2009, 03:34 PM
You can download the scripts by searching for the adept drm on cabbages' site through Google, then hitting the cached link. That's how I did it. Now how about someone letting me know how I can strip DRM from Adobe Digital Editions I purchased on Mac OS X?

joblack
05-02-2009, 04:23 PM
You can download the scripts by searching for the adept drm on cabbages' site through Google, then hitting the cached link. That's how I did it. Now how about someone letting me know how I can strip DRM from Adobe Digital Editions I purchased on Mac OS X?

The inept_pdf script will probably work but the key retrieval script doesn't work because the Mac has no registry (I've heard it has something like an xml or configuration file structure).

Just adjust the key retrieval script and you're fine ...

ilovejedd
05-02-2009, 05:07 PM
Very strange - I also have two people who have encrypted pdfs with an empty trailer ... check out your working encrypted pdfs with a hex editor. If there is a

trailer.<<>>.startref.$NUMBER.%%EOF

at the end and your Digital Editions is still showing it they have changed the format of the pdf again (Adobe also forced me to update my DE).

But without a trailer it goes against the official pdf reference (and shouldn't work)... anyway, if you have a working encrypted pdf with that format (means there is nothing between << and >>) please report.
Since you've mentioned it, I did some comparisons between some encrypted PDF files and ones that have been "freed" with ineptpdf. It's interesting to note that all PDF files were version 1.5. For the ones that were successfully decrypted, the original encrypted files had two sets of

trailer
<<$TEXT>>
startxref
$NUMBER
%%EOF

Those that failed (even if they were reported by ineptpdf to be successfully decrypted) contained three sets of "trailer" but the first set ends in

xref
0 0

instead of

%%EOF

It also contains a whole lot more bytes between trailer and xref. PM me your email address so I can send you the problematic files for studying.

joblack
05-02-2009, 05:32 PM
Since you've mentioned it, I did some comparisons between some encrypted PDF files and ones that have been "freed" with ineptpdf. It's interesting to note that all PDF files were version 1.5. For the ones that were successfully decrypted, the original encrypted files had two sets of

trailer
<<$TEXT>>
startxref
$NUMBER
%%EOF

Those that failed (even if they were reported by ineptpdf to be successfully decrypted) contained three sets of "trailer" but the first set ends in

xref
0 0

instead of

%%EOF

It also contains a whole lot more bytes between trailer and xref. PM me your email address so I can send you the problematic files for studying.

Important are the encrypted (non-freed) pdfs ... how are they?

ilovejedd
05-02-2009, 06:04 PM
For the ones that were successfully decrypted, the original encrypted files
<snip>

Important are the encrypted (non-freed) pdfs ... how are they?
The quoted behavior is for the encrypted files. It's the freed PDFs for the problematic files that contain the following:

trailer
<<>>
startxref
$NUMBER
%%EOF

Currently out of the house and the files are not on my laptop. Will email them to you when I get home.

tjax
05-02-2009, 06:26 PM
I have only one pdf, which is decrypted incorrectly.
I'm investigating ... how big is your adeptkey.der exactly? 607 or 608 bytes?
It's 608 bytes.

I have 3 sets of "trailer" in the encrypted (original) file, the first one ends in:

xref
0 0

while the other 2 end in:

startxref
$NUMBER
%%EOF

It's exactly what ilovejedd mentioned here (http://www.mobileread.com/forums/showpost.php?p=445396&postcount=260).

In the decrypted file (which doesn't work), there is only one "trailer" sequence that ends in:

startxref
$NUMBER
%%EOF


Sorry for answering so late, I wasn't used to the topic being so active :)

If you have any more questions I'll try to answer sooner.

joblack
05-02-2009, 08:38 PM
.....

shankez
05-02-2009, 10:37 PM
I don't know if it can be meaningful (may be not, I am not a programmer) but I have noticed that the working decrypted pdf files (I have two) changes only a little their size (6 or 8 bytes) after the decryption process, while the non-working decrypted one differs from the encrypted one for more than 100 bytes, from 1839 it goes to 1727 Kb. It seems that something get lost in the process. Thankd to all for the work..

Sydney's Mom
05-02-2009, 11:09 PM
608 bytes, also.


Has anyone heard from ILC? I certainly hope he is okay. If he needs money for bail or a lawyer, I hope he lets us know.

joblack
05-02-2009, 11:20 PM
I don't know if it can be meaningful (may be not, I am not a programmer) but I have noticed that the working decrypted pdf files (I have two) changes only a little their size (6 or 8 bytes) after the decryption process, while the non-working decrypted one differs from the encrypted one for more than 100 bytes, from 1839 it goes to 1727 Kb. It seems that something get lost in the process. Thankd to all for the work..

Obviously the parser doesn't work right, but that's what he had written earlier ...

ilovejedd
05-02-2009, 11:37 PM
Actually, I think it was around 10KB difference with working PDFs and 30KB with non-working ones.

joblack
05-03-2009, 12:11 AM
There's a new updated script floating around in the web which probably solves the problem (it did at least in my case). Unfortunately I'm not the author so of course I don't take credit for it ...

It can be found at the usual suspected websites ... nothing more to say about that :D.

ilovejedd
05-03-2009, 12:30 AM
There's a new updated script floating around in the web which probably solves the problem (it did at least in my case). Unfortunately I'm not the author so of course I don't take credit for it ...

It can be found at the usual suspected websites ... nothing more to say about that :D.
Yep. anonymous was nice enough to send me the link to the updated script. Won't have time to test it until I get home, though. :D

tjax
05-03-2009, 09:55 AM
Yeey, it worked! Version 3 of the script solved my problems. Thanks ILC, you've done a great job. It was really worth the wait.

haytham
05-03-2009, 10:39 AM
ILC, thanks so much!

could anyone please share the links or msg them to me?

AnnePaul
05-03-2009, 11:08 AM
Hi everyone!
Would somebody send me the links to the new updated script? I haven't been able to find it anywhere! =S

henrycharge
05-03-2009, 11:28 AM
I would be very grateful if someone could pm me a link for the new script as well! Thanks very much.

Henry

haytham
05-03-2009, 11:43 AM
when i run the new ineptpdf, i am getting the following error "error decrypting book by session key". i am using ineptkey version 2 to extract adeptkey.der
does anybody know how i can fix it?

thanks

joblack
05-03-2009, 11:50 AM
when i run the new ineptpdf, i am getting the following error "error decrypting book by session key". i am using ineptkey version 2 to extract adeptkey.der
does anybody know how i can fix it?

thanks

That's the line

if bookkey[0] != '\x02':
raise ADEPTError('error decrypting book session key')

I always thought that this was my error (wrong key) because I've got that error, too.

It still occures with the new script but I can't say if it's the 'script's fault' or mine (I debugged the complete script up to this error, it seems that the book key is wrongly decrypted).

Perhaps there is another decryption algorithm which isn't supported by the actual script. Can you open the original encrypted pdf?

haytham
05-03-2009, 11:58 AM
yeah i can open the original pdf with adobe digital editions.

joblack
05-03-2009, 12:14 PM
yeah i can open the original pdf with adobe digital editions.

Which DE version do you use, because DE forced me to update as well. As a third option I could think of a (slightly) changed saving of the data in the registry so that the key retrieval script doesn't get it right ... but it's pure speculation at the moment.

If somebody else gets the same error can he/she drop a line which book it was, where he/she got it (URL) and which DE version was used to download the e-book.

grim_reader
05-03-2009, 03:40 PM
Could someone please PM me a link to version 3 of ineptpdf.pyw?

Thanks a million in advance.

itsonlypatrick
05-03-2009, 03:58 PM
I also need the updated script... someone please PM me

haytham
05-03-2009, 05:17 PM
i have DE 1.7 and ineptpdf fails with it and with the new release 1.7.1

grim_reader
05-03-2009, 06:28 PM
Looks like version 3 of the script ain't up to it (yet). :(There was an error opening this document. There was a problem reading this document (14).DE 1.7.1.1085

Leep
05-03-2009, 06:28 PM
i have DE 1.7 and ineptpdf fails with it and with the new release 1.7.1
Have you been using a previous version of pdfinept successfully? Is your book published by Penguin Group USA, Inc.? Have you tried reauthorizing your computer since you installed DE 1.7 so that you know that your ADEkey is correct?

joblack
05-03-2009, 06:45 PM
Have you been using a previous version of pdfinept successfully? Is your book published by Penguin Group USA, Inc.? Have you tried reauthorizing your computer since you installed DE 1.7 so that you know that your ADEkey is correct?

I would suggest to delete the registry from DE (if you don't lose your e-books by that) and reinstall the new version, reauthorize, get the key again and try it out again.

If it still occures it could be possible that DE has changed something in the key savings ...

Report your findings back ...

shankez
05-03-2009, 07:54 PM
Hi all, could someone pls email or pm me a link to the updated code? Tnx! Still searching but didn't found yet... Received link! It works great!!
Thank you ILC, and :thanks: to the anonimous forwarders!

Leep
05-03-2009, 08:17 PM
I would suggest to delete the registry from DE (if you don't lose your e-books by that) and reinstall the new version, reauthorize, get the key again and try it out again.

If it still occures it could be possible that DE has changed something in the key savings ...

Report your findings back ...
I also got forced into installing DE 1.7.1, but did not have any key problems with it.

I noticed that several of the folks looking for help in this thread are new to MR and seem to have the same type of problems that happened when pdfinept and adedecrypt came out in February. Unfortunately, the books that they currently have in DE probably will not work if they delete DE and reinstall, since the current books will not be keyed to the new install.

I find it interesting that so many people new to Mobileread are looking for pdfinept, and do not have ereaders. Someone enlighten me please as to the uses of pdfinept without an ereader.


cheers

shankez
05-03-2009, 08:40 PM
I also got forced into installing DE 1.7.1, but did not have any key problems with it.

I noticed that several of the folks looking for help in this thread are new to MR and seem to have the same type of problems that happened when pdfinept and adedecrypt came out in February. Unfortunately, the books that they currently have in DE probably will not work if they delete DE and reinstall, since the current books will not be keyed to the new install.

I find it interesting that so many people new to Mobileread are looking for pdfinept, and do not have ereaders. Someone enlighten me please as to the uses of pdfinept without an ereader.


cheers

I have reinstalled the new DE 1.7.1085 and with it I can (after a first initial delay-crash of the program) read books purchased one year ago for the pevious installation (deleted)- The ineptpdf v 2 works good for that books. Now I have purchased a new book with the new installation, and it doesn't decrypt good with v2, but version 3 of ineptpdf works fine also for this, created with acrobat 1.5..

joblack
05-03-2009, 10:59 PM
As far as I can see the problem is the new DE. It saves the key differently in the registry so the key retrieval script doesn't get it right (and as a follow up the decryption scripts won't get it right either).

A quickfix is to register with an older DE, then get the key and Adobe will force to update to a newer version. If Adobe forces you to upgrade right away you've got a problem.

So if you have already registered you should be fine but for a new registration it could fail.

If my suspicions are right it should get problems with epubs as well ...

Can somebody else verify that by installation the newest DE, reregister, download an e-book and try to decrypt?

JSWolf
05-03-2009, 11:00 PM
Would someone mind PMing me the link the the new version? Thanks.

AnnePaul
05-03-2009, 11:29 PM
I got the link now, thank you very much to all of you!!

Warm regards and hugzzzz

I love this forums !!
=D

Anggun
05-03-2009, 11:46 PM
My laptop was recently reformatted and I just got to install Adobe DE 1.7.1 a few days ago and activate it. And so far, the key worked for all the ebooks, both epub and pdf I tried.

Can someone PM me a link to the version 3 of the ineptpdf script. Thanks.

BinaryTB
05-04-2009, 12:05 AM
I wouldn't mind a PM with the link either, thanks.

=X=
05-04-2009, 12:17 AM
Can someone please PM me the link location

Thank you
=X=

Crystal401
05-04-2009, 12:29 AM
Hi,
Would appreciate it if I could get the link for version 3 also.
Thank you,

Leep
05-04-2009, 12:59 AM
As far as I can see the problem is the new DE. It saves the key differently in the registry so the key retrieval script doesn't get it right (and as a follow up the decryption scripts won't get it right either).

A quickfix is to register with an older DE, then get the key and Adobe will force to update to a newer version. If Adobe forces you to upgrade right away you've got a problem.

So if you have already registered you should be fine but for a new registration it could fail.

If my suspicions are right it should get problems with epubs as well ...

Can somebody else verify that by installation the newest DE, reregister, download an e-book and try to decrypt?
I think this makes sense to me via the people that are having problems and those that are not.

You're saying that those of us that have old adeptkeys are not having problems even though we have been forced to upgrade to DE 1.7.1 because the key script no longer finds the information needed to produce the adeptkey.der file, but we have a working key file? Very interesting. You'd have thought that the objective of forcing people to upgrade would be to change/hide the key so that neither the pdf or epub decrypting scripts would work.

thanks for your investigations

joblack
05-04-2009, 01:33 AM
I think this makes sense to me via the people that are having problems and those that are not.

You're saying that those of us that have old adeptkeys are not having problems even though we have been forced to upgrade to DE 1.7.1 because the key script no longer finds the information needed to produce the adeptkey.der file, but we have a working key file? Very interesting. You'd have thought that the objective of forcing people to upgrade would be to change/hide the key so that neither the pdf or epub decrypting scripts would work.

thanks for your investigations

No I think that if you registered with an older DE version the key is still in the registry. If you upgrade the newer DE edition will use the old one (some kind of fallback - if Adobe would just change the key (method) the old e-books wouldn't work anymore). If you just installed the new one without legacy values in the registry it will create the new entry.

At the moment its ony a hunch derived from the reports I get. I haven't got these messages for myself so I can't walk through the problem.

If you want to do it right you have to compare an old with a new registry entry and see what the difference is. If that doesn't tell you much you have to debug the new DE which is probably not so much fun as it sounds ;).

Anyway, I'm waiting for reproducible results (means the error doesn't come from a 'user failure') - until now we are fine with it.

pampalini
05-04-2009, 03:26 AM
Tried several books and 'till now no error with the updated script version...big thanks to ILG and J.B.

dagotto
05-04-2009, 04:04 AM
Hi,
Would appreciate it if I could get the link or PM for version 3
Thank you,

bigblock
05-04-2009, 05:09 AM
Hi,

i would like to get the link to the v3 script too.

Many thanks in advance.

joblack
05-04-2009, 11:07 AM
Can somebody please e-mail me an older version of DE (not too old, just old enough ;). E-Mail is johannes.black@gmail.com

Thanks in advance. :2thumbsup

BinaryTB
05-04-2009, 11:26 AM
The install dir for DE only has two files, one executable and one uninstall executable, just zip up the program or do you want the standalone install file for the older version? The latter is hard/impossible to find, unless someone has it lying around on their PC.

I want to say the program executable should be fine, since it looks to be self-contained, but I haven't tried it on a clean system myself to test it out.

grim_reader
05-04-2009, 12:56 PM
Can somebody please e-mail me an older version of DE (not too old, just old enough ;). E-Mail is johannes.black@gmail.com

Thanks in advance. :2thumbsupToo bad I recently deleted the standalone installer for DE 1.7.1079 & replaced it with DE 1.7.1085 on my hard disk. :smack:

BinaryTB
05-04-2009, 01:27 PM
Too bad I recently deleted the standalone installer for DE 1.7.1079 & replaced it with DE 1.7.1085 on my hard disk. :smack:

See if you can recover it:
http://undelete-plus.com/

It's free, doesn't hurt to try. I could probably toss it on my server for a couple days if you want, assuming you can recover it.

ilovejedd
05-04-2009, 01:32 PM
I remember seeing the 1.7 standalone installer (modified date January 2009) on one of the computers at home. Will upload it when I find it.

RobbieClarken
05-04-2009, 02:00 PM
The standalone installer for Digital Editions 1.7.1079 is attached.

You need to update to 1.7.1 within 40 days of authorizing 1.7 but I believe you are able to retrieve the adept key even after updating.

ReAdder
05-04-2009, 02:30 PM
Oh My!!!!!
I can't believe it!!!!
Finally!!!!!
Success!!!!!!
THAAAAAAANKS!!!!!!
(to farmer guy & death&taxes guy ;))))
And Alll!!!!

pfisterfarm
05-04-2009, 03:15 PM
Can I get a PM with the link to the new version?

Thanks!!

joblack
05-04-2009, 04:14 PM
Oh My!!!!!
I can't believe it!!!!
Finally!!!!!
Success!!!!!!
THAAAAAAANKS!!!!!!
(to farmer guy & death&taxes guy ;))))
And Alll!!!!

What did you do exactly?

omligon
05-04-2009, 04:14 PM
Could someone PM me the link, please? :-)

joblack
05-04-2009, 04:15 PM
The standalone installer for Digital Editions 1.7.1079 is attached.

You need to update to 1.7.1 within 40 days of authorizing 1.7 but I believe you are able to retrieve the adept key even after updating.

I think that DE is using the old key registry entries if available (fallback) so you only have a problem if you reregister with the new version.

dynabook
05-04-2009, 04:17 PM
Please PM me the link also.
--MH

JohnB
05-04-2009, 04:26 PM
Thanks for the links!

ReAdder
05-04-2009, 06:45 PM
What did you do exactly?
I used 'ineptpdf_version6.py', only had to make it pyw so it would be recognized and executed on 'Enter'.
With the older installation of ADE (~3 weeks old, it's on other machine hence don't know version for now, but I did refuse update prompts)

Interestingly enough I did tried it (v6) bit earlier - gave me : "Error 5 something", so I gave up on it in frustration, but then was reading here, and decided to give it another try...
So what I did : took 2 pdfs from Mac's ADE (1.7.1079, few months old, not updated) sent them to XP machine (same books expired there & I was lazy for these shitty scripts not working on these damn v1.5 pdfs)))) and BOOOOMM )))))

P.S. adeptkey was from few weeks ago, didn't touch it.
P.P.S. I just quit ADE, turn off WiFi, start ADE again - and it NOT asks to update.

joblack
05-04-2009, 07:11 PM
I used 'ineptpdf_version6.py', only had to make it pyw so it would be recognized and executed on 'Enter'.
With the older installation of ADE (~3 weeks old, it's on other machine hence don't know version for now, but I did refuse update prompts)

Interestingly enough I did tried it (v6) bit earlier - gave me : "Error 5 something", so I gave up on it in frustration, but then was reading here, and decided to give it another try...
So what I did : took 2 pdfs from Mac's ADE (1.7.1079, few months old, not updated) sent them to XP machine (same books expired there & I was lazy for these shitty scripts not working on these damn v1.5 pdfs)))) and BOOOOMM )))))

P.S. adeptkey was from few weeks ago, didn't touch it.
P.P.S. I just quit ADE, turn off WiFi, start ADE again - and it NOT asks to update.

If the error is something with *bookey* it's propably the problem of the new 'key saving format' ... publish the complete error message and maybe we can help.

ReAdder
05-04-2009, 07:32 PM
Oh, I'm all fine, later I'll try other pdfs but those two suckers I cared most are working PERFECTLY so far (knocking on wood )))).
Didn't have time to check them thoroughly yet.

A bit off-topic (well a lot;)) : can you recommend a tool to convert PDF to EPUB, so I can read it on iPhone?
(Stanza is just piling all words together - not looking good :(((
(Or is there any other ways/apps to use on iPhone?)

elpheaba
05-04-2009, 07:34 PM
Just because I like to sing in harmony. :book2: Could I get a pm with a link to the new version? Thanks in advance.

tdproffitt
05-04-2009, 07:51 PM
I would also appreciate a pm with a link to the new version. I've searched around and found several copies of V2, but nothing on V3.

Thanks.

itsonlypatrick
05-04-2009, 07:56 PM
I used 'ineptpdf_version6.py', only had to make it pyw so it would be recognized and executed on 'Enter'.


Version 6 of the py script? I'd like to get my hands on that, so PM me :)

I have ineptkey version 3 and ineptpdf version 3, and I'm still not having any success. Downloaded my ebook using an acsm link from Harper Collins (says PDF-1.6), and had the latest version of ADE installed on Vista. Key is extracted correctly and PDF is decrypted correctly, except when I use Adobe to open it, it gives an error (either 14 or 131).

So I downgraded to the older ADE (1079), but still no go. Any ideas?

joblack
05-04-2009, 08:03 PM
Version 6 of the py script? I'd like to get my hands on that, so PM me :)

I have ineptkey version 3 and ineptpdf version 3, and I'm still not having any success. Downloaded my ebook using an acsm link from Harper Collins (says PDF-1.6), and had the latest version of ADE installed on Vista. Key is extracted correctly and PDF is decrypted correctly, except when I use Adobe to open it, it gives an error (either 14 or 131).

So I downgraded to the older ADE (1079), but still no go. Any ideas?

The v6 is actually the v5 with adjustments from me (means it rips out some personal information (tracking id) from a certain providers). And the v5 is the official v3 (there were two nonpublic beta releases) so don't be confused. ;)

If you don't care about private information in it you'll be fine.

To your problem: Have you deleted your old registry entry, reregistered your old DE and downloaded the ebooks again.

If yes: Could be possible that the parser doesn't know all pdf-1.6 tags ...

Sydney's Mom
05-04-2009, 08:33 PM
If you were having problems, and get a new script, you should try it on all the books in your library. Even those that were returned. What could it hurt?

joblack
05-04-2009, 08:35 PM
If you were having problems, and get a new script, you should try it on all the books in your library. Even those that were returned. What could it hurt?

You can even script the inept scripts so it automatically decrypts all ebooks in a directory. So you don't get numb fingers after klicking 4.000 times on buttons :p

Dusky430
05-04-2009, 09:25 PM
Hello everyone :) I have spent all evening learning about how to get my PDF ebooks onto my Kindle--looks like I need version 3. I have version 2 and am experiencing the blank page/file damaged error. I would be very grateful if someone could PM me the link as well.

haytham
05-04-2009, 10:08 PM
thanks to all the mobileread members who are helping out in the event of problems

unfortunately, i'm still unable to decrypt a file, so i will post the steps i tried just in case someone has an idea of what might fix it:

- i uninstalled the newest version of DE
- i manually searched my registry for all instances of "digital editions" and "adept" and deleted them
- i installed the older version of DE provided on the forum
- at this point, it asks me to authorize my computer (i assume the key has been properly deleted). i authorize.
- i put the encrypted pdf, ineptpdf_v6, ineptkey_v3 in a new folder
- i run ineptkey and extract adeptkey.der
- i try running ineptpdf and get the same error as before "error decrypting book session key"

ps: when i ran ineptpdf_v2, it never complained about the key, however the ouput would be a blank pdf with the same number of pages as the encrypted.

BookLoverToo
05-04-2009, 10:13 PM
I also am short a version. Could someone please pm me the latest?
Thank you!:)

RobbieClarken
05-04-2009, 10:24 PM
I have ineptkey version 3 and ineptpdf version 3, and I'm still not having any success. Downloaded my ebook using an acsm link from Harper Collins (says PDF-1.6), and had the latest version of ADE installed on Vista. Key is extracted correctly and PDF is decrypted correctly, except when I use Adobe to open it, it gives an error (either 14 or 131).

So I downgraded to the older ADE (1079), but still no go. Any ideas?

Try opening the deDRMed file with Nitro PDF and then saving it to a new file. You should be able to open this new PDF with Acrobat.

Leep
05-04-2009, 11:36 PM
After you are downloading and authorizing an older copy of DE, are you removing the existing pdf file from the my documents\my digital editions folder and redownloading the book? You should see the re-downloaded book authorizing and then opening in DE.

I think that going back to the old version is working for some people.

joblack
05-05-2009, 12:14 AM
After a quick conversation with Epiphany I thought: why not??? A short but (at least for some) useful update:

http://img513.imageshack.us/img513/9049/ainept.png


It's based on the actual script release but adds the functionality to decrypt a selected directory.

Still, it has some minor restrictions:


it only recognize files with the extensions pdf or PDF (so no PdF or similar - should be solvable with regexes - but my Python Regex experience is limited)
the output directory has to be created first
it overwrites files in the output directories with the same name
if you want to decrypt only one file you still need 'the old version'
if a pdf doesn't decrypt the program will stop executing (hint: identify them and move them out of the input directory)
no real restriction but if you have a lot of files the window isn't responsive until it has finished. Don't panic
last but not least: Use only on your own risk (so if you burn your mouse (or cat) it's your responsibility) :p

Leep
05-05-2009, 12:18 AM
Very nice! May I have one?

BinaryTB
05-05-2009, 12:33 AM
it only recognize files with the extensions pdf or PDF (so no PdF or similar - should be solvable with regexes - but my Python Regex experience is limited)

Kodos:
http://kodos.sourceforge.net/

It really helps simplify Python regex. Helped me out a lot.

itsonlypatrick
05-05-2009, 02:04 AM
Try opening the deDRMed file with Nitro PDF and then saving it to a new file. You should be able to open this new PDF with Acrobat.

I've been having issues with PDF1.6, and using NitroPDF to re-save the unDRMed file just did the trick. Basically, I used version 3 of the scripts and the latest ADE to get the key and decrypt. Previously, when I tried opening the unDRMed files, I ended up with errors 131 or error 14. However, I opened and re-saved the file with NitroPDF, and voila! Success!

Hope this helps someone.

haliava
05-05-2009, 03:46 AM
A short but (at least for some) useful update:

Could you pm text/link to text (as well as to version 3)?

Thanks.

haytham
05-05-2009, 09:21 AM
today, i purchased another book from another online vendor just to try ineptpdf_v3, and it worked!
i think the error that i was getting earlier (error decrypting book session key) might have to do with that first book i was trying.

thanks for all your help!

nrapallo
05-05-2009, 10:33 AM
Searched google but doesn't (want to) find anything about ineptpdf.pyw, version 3. :(

Searching :yahoo: <-- ;)

BinaryTB
05-05-2009, 11:02 AM
Searching :yahoo: <-- ;)

You're right, just tried it, Google doesn't return a match, but :yahoo: definitely did. Guess Google's crawlers are just slow.

joblack
05-05-2009, 11:21 AM
You're right, just tried it, Google doesn't return a match, but :yahoo: definitely did. Guess Google's crawlers are just slow.

Google only finds it if you have linked it from a well known site. You can add websites manually ...

joblack
05-05-2009, 11:46 AM
You're right, just tried it, Google doesn't return a match, but :yahoo: definitely did. Guess Google's crawlers are just slow.

LOL - now I get the hint ... it's a brainer =)

nrapallo
05-05-2009, 11:51 AM
LOL - now I get the hint ... it's a brainer =)

:rolleyes: I should have entitled my post above "Riddle me this...." Done! :snicker:

Sydney's Mom
05-05-2009, 11:55 AM
Google only finds it if you have linked it from a well known site. You can add websites manually ...

OK, I don't want to be a novice forever. Can someone explain this to me without puns (I'm really bad at them)

joblack
05-05-2009, 11:56 AM
I've been having issues with PDF1.6, and using NitroPDF to re-save the unDRMed file just did the trick. Basically, I used version 3 of the scripts and the latest ADE to get the key and decrypt. Previously, when I tried opening the unDRMed files, I ended up with errors 131 or error 14. However, I opened and re-saved the file with NitroPDF, and voila! Success!

Hope this helps someone.

You probably have some new feature missing in the decrypted pdf. It's a solution but not a nice one. Can you specifiy which book you bought on which website?

wallcraft
05-05-2009, 12:08 PM
Can someone explain this to me without puns (I'm really bad at them) MobileRead has 278 smileys, one of which is the name of a famous search site. Hovering your mouse over a smiley brings up its name.

itsonlypatrick
05-05-2009, 12:13 PM
You probably have some new feature missing in the decrypted pdf. It's a solution but not a nice one. Can you specifiy which book you bought on which website?

Bought the book from Harper Collins.

joblack
05-05-2009, 01:09 PM
Okay, I've adjusted the epub script. Now it has an automated version as well ... :D

Leep
05-05-2009, 05:23 PM
Okay, I've adjusted the epub script. Now it has an automated version as well ... :D
You're just having too much fun! We thank you.

cheers

nohmi2
05-05-2009, 06:26 PM
:)
I was locked in mortal combat last night trying to convert a PDF to prc.

Half of the jargon is way over my head (OK so I'm dumb).

I do like the idea of being able to convert the whole file though.

Will get back into the trenches and do battle again today.

:D

joblack
05-06-2009, 12:12 PM
Ok, I just removed my registry and reactivated with the new version of ADE. Script works fine so far.

So they haven't changed the key saving scheme. Very strange - could be that some have more than one key in the registry (the key retrieval gets the first it finds).

People who have problems with this bookkey thing, inspect your registry for more than one entry like

privateLicenseKey

in the

[HKEY_CURRENT_USER\Software\Adobe\Adept]

(To open the registry -> Start -> Execute -> regedit (under XP don't know if that works for Vista)).

PS: I've got another suspicion: Have the ladies/gentlemen changed their hardware in the past and had to reactivate the ADE?

Leep
05-06-2009, 01:14 PM
Ok, I just removed my registry and reactivated with the new version of ADE. Script works fine so far.

So they haven't changed the key saving scheme. Very strange - could be that some have more than one key in the registry (the key retrieval gets the first it finds).

People who have problems with this bookkey thing, inspect your registry for more than one entry like

privateLicenseKey

in the

[HKEY_CURRENT_USER\Software\Adobe\Adept]

(To open the registry -> Start -> Execute -> regedit (under XP don't know if that works for Vista)).

PS: I've got another suspicion: Have the ladies/gentlemen changed their hardware in the past and had to reactivate the ADE?
My impression is that if you already had your adeptkey.der file, and had to upgrade DE, DE uses your old authorization key. So we have no problems decrypting with the new script.

It seems that people having problems are those that are running the key file for the first time after having upgraded to the latest version of DE. For some reason adeptkey.pyw does not find the key in the latest version, supporting your theory that Adobe may have moved the key to a different register within DE. Therefore, the script that needs possible modification now would be the adeptkey.pyw (or ineptkey.pyw) script, once someone can identify where the key in the new version is stored.

Does that may sense to your way of thinking?

cheers

joblack
05-06-2009, 01:39 PM
My impression is that if you already had your adeptkey.der file, and had to upgrade DE, DE uses your old authorization key. So we have no problems decrypting with the new script.

It seems that people having problems are those that are running the key file for the first time after having upgraded to the latest version of DE. For some reason adeptkey.pyw does not find the key in the latest version, supporting your theory that Adobe may have moved the key to a different register within DE. Therefore, the script that needs possible modification now would be the adeptkey.pyw (or ineptkey.pyw) script, once someone can identify where the key in the new version is stored.

Does that may sense to your way of thinking?

cheers

Well, I renamed my registry entry so ADE should think it is new. For complete certainty it's necessary to reinstall the newest ADE on a clean windows system. I'm not willing to do that at the moment so it still is a mystery.

The key is found (if it wouldn't find it the retrieval script would complain) - the question is if it is the key needed. I still can't repeat the error on my system so obviously I can't find the bug in it.

Btw. does somebody have the PDF Reference 5th Edition? I have only found the 6th Edition online ... if yes please publish a link or send it to me - thx.

joblack
05-06-2009, 01:53 PM
Perhaps this explains:

This document accompanies the release of Digital Editions 1.7.1. This release consists essentially of the removal of one now-obsolete feature and some bug fixes. The feature that has been removed is that Digital Editions no longer supports fulfillment from Adobe Content Server 3-powered sites. Adobe Content Server 3 is now obsolete, having been replaced by Adobe Content Server 4.

As of March 30, 2009 Adobe de-activated the support in the Adobe Content Server 3 activation server such that no new instances of Acrobat or Reader could be activated. Existing instances of Acrobat and Reader that had already been activated will continue to work and can still fulfill content from any website still providing Adobe Content Server 3 content.

With this release, Digital Editions will no longer fulfill content from sites powered by Adobe Content Server 3 (though few are left at this time). Digital Editions is still able to migrate existing Adobe Content Server 3-licensed eBooks to the new Adobe Content Server 4 license format. Such migration will be supported until mid-December 2009. After that no more migrations will be possible.

http://www.adobe.com/products/digitaleditions/pdfs/digital_editions_release_notes.pdf

grim_reader
05-06-2009, 03:10 PM
I've been having issues with PDF1.6, and using NitroPDF to re-save the unDRMed file just did the trick. Basically, I used version 3 of the scripts and the latest ADE to get the key and decrypt. Previously, when I tried opening the unDRMed files, I ended up with errors 131 or error 14. However, I opened and re-saved the file with NitroPDF, and voila! Success!

Hope this helps someone.Thanks a lot! It sure helped me!

At last I know the solution to the problem when when Acrobat refuses to open a decrypted PDF saying:
"There was an error opening this document. There was a problem reading this document (14)."

even though ineptpdf says:
"File successfully decrypted".

Great!

exscape
05-06-2009, 03:39 PM
Hi all,
I just bought a digital editions ebook, but I don't like the reader... so I started searching for a way to make it a real PDF, and ended up here. I only have version 2 of the script, so PMs would be appreciated!

Anyway, version 2 SAYS it decrypts successfully, but the output file isn't a valid PDF - OS X's Preview.app and Foxit both reject it. It's not all garbage though, looking through the raw data I can see the chapters in there, but the text is all garbage (encrypted I guess).

I tried running it through Nitro PDF... It crashed on opening the corrupt PDF. "Runtime error".

Any ideas? Help would be greatly appreciated. Kind of a waste of $25 if I can't read it!

DE 1.7.1.1085
ineptpdf/key version 3
Windows XP

Thanks in advance.

joblack
05-06-2009, 04:38 PM
Hi all,
I just bought a digital editions ebook, but I don't like the reader... so I started searching for a way to make it a real PDF, and ended up here. I only have version 2 of the script, so PMs would be appreciated!

Anyway, version 2 SAYS it decrypts successfully, but the output file isn't a valid PDF - OS X's Preview.app and Foxit both reject it. It's not all garbage though, looking through the raw data I can see the chapters in there, but the text is all garbage (encrypted I guess).

I tried running it through Nitro PDF... It crashed on opening the corrupt PDF. "Runtime error".

Any ideas? Help would be greatly appreciated. Kind of a waste of $25 if I can't read it!

DE 1.7.1.1085
ineptpdf/key version 3
Windows XP

Thanks in advance.

You can try the FBReader - newer versions can display ePubs very well. As for a conversion tool to pdf, I suppose there are a lot of tools to convert (not encrypted) epubs (which are basically some kind of xml format) to PDF.

You can additionally ask your question in the epub forum thread - they might be more informed about the exact circumstances ...

wallcraft
05-06-2009, 08:16 PM
I only have version 2 of the script Yahoo is updating its search of pastebin more frequently than Google.

JSWolf
05-06-2009, 08:33 PM
:)
I was locked in mortal combat last night trying to convert a PDF to prc.

Half of the jargon is way over my head (OK so I'm dumb).

I do like the idea of being able to convert the whole file though.

Will get back into the trenches and do battle again today.

:D
When you try to conver most PDF, think of the alternate meaning of PDF (Pretty Darn Foolish).

shankez
05-06-2009, 08:54 PM
My impression is that if you already had your adeptkey.der file, and had to upgrade DE, DE uses your old authorization key. So we have no problems decrypting with the new script.

It seems that people having problems are those that are running the key file for the first time after having upgraded to the latest version of DE. For some reason adeptkey.pyw does not find the key in the latest version, supporting your theory that Adobe may have moved the key to a different register within DE. Therefore, the script that needs possible modification now would be the adeptkey.pyw (or ineptkey.pyw) script, once someone can identify where the key in the new version is stored.

Does that may sense to your way of thinking?

cheers


This is my esperiment, may be it is useful:

Newly formatted computer, I have done a new complete installation of Adobe Digital Editions 1.7.1.1085; then I have re-downloaded two e-books from e-book.com (both pdf 1.5). I have authorized ADE, and downloaded them. I used the ineptkey.pyw to retreive the adeptkey.der and decripted with ineptpdf.pyw v.3 the newly downloaded file in the newly installed ADE: success! They can be read and opened in any pdf reader.

Then I tried to decrypt as well with the newly reteived key the encrypted version of the books previously downloaded with the old ADE installation: success too!

Finally I tried to decrypt a prevoiusly downloaded encrypted book from another vendor (pdf 1.4), wich isn't possible to re-download with the new ADE installtion: success too!
Note that this last ebook (pdf 1.4) was the only one I couln't decrypt with version 2 of ineptpdf.pyw, but only with version 3.

This version (3) is the one I used in all the experiment. In my experience, ineptpdf.pyw, version 3 (that can be retreived using yahoo search) seems to solve any problems..
Thank you i♥cabbages !

exscape
05-07-2009, 02:55 AM
Yes! Thanks a lot for the yahoo hint (and the two PMs :)), it works great now! The DE reader had much too blurry fonts for my liking, but now I can use any viewer I want. (That, and the page fit thing wasn't great on OS X - one page at a time was a bit too small, and custom made the scrollbar suck.)

Oh, and DRM sucks!

joblack
05-07-2009, 05:22 AM
If the pdf is decrypted successful but when you try to open it you get a

blabla error 14 or error 131

it's probably not a decryption or key problem.

After my quick analysis i think there is still a parsing problem which occures in rare circumstances.

joblack
05-07-2009, 10:47 PM
Does anybody have working encrypted pdfs where the inept script fails with 'no root object found' or similar behaviour?

If yes please PM.

tuufbiz1
05-08-2009, 09:34 AM
Dj vu time! I have successfully and reproducibly circumvented Adobe's ADEPT DRM system for PDF files. A discussion of the system and the circumvention is available in a blog post I've made on the subject: Link removed


Am I understanding this correctly...... you posted a link for this adobe cracker today and it was already removed? If so, how do I get it?

desertgrandma
05-08-2009, 09:45 AM
Am I understanding this correctly...... you posted a link for this adobe cracker today and it was already removed? If so, how do I get it?

The date of that post was 2/25.

wallcraft
05-08-2009, 10:02 AM
how do I get it? The names of the scripts are ineptkey (ineptkey.pyw) and ineptpdf (ineptpdf.pyw), the INEPT is a play on ADEPT which is a bit unfair of i♥cabbages because the scheme held up for years until he/she came along. On the other hand, i♥cabbages should know, if anyone outside Adobe does, how inept the DRM really is.

As I said above: Yahoo is updating its search of pastebin more frequently than Google.

joblack
05-08-2009, 11:54 AM
Am I understanding this correctly...... you posted a link for this adobe cracker today and it was already removed? If so, how do I get it?

The Dejav Vu was related to the pdf format (he has already published a script for epub before).

ReAdder
05-08-2009, 11:38 PM
Yes! Thanks a lot for the yahoo hint (and the two PMs :)), it works great now! The DE reader had much too blurry fonts for my liking, but now I can use any viewer I want. (That, and the page fit thing wasn't great on OS X - one page at a time was a bit too small, and custom made the scrollbar suck.)

Oh, and DRM sucks!

Exactly my sentiments :thumbsup: I've cursed at ADE@Mac all the time, not anymore :rolleyes:
They try to control - they get a rebellion :rofl:
But they never get it :smack:

GatorDeb
05-09-2009, 01:24 PM
Is version 2 of the KEY script and version 3 of the NET script the latest ones?

I can liberate just fine... but when I convert from PDF to PRC, formatting is gone and sentences run on together :(

nrapallo
05-09-2009, 01:38 PM
... but when I convert from PDF to PRC, formatting is gone and sentences run on together :(

That's just an inherent problem using .pdf to convert to any ebook format.

Did you use calibre or Mobipocket Creator to convert the .pdf to .prc? Sometimes the other can work better, except of course, when the original .pdf is comprised of just scanned images of pages. :rolleyes:

In that case, PDFRead works well!

GatorDeb
05-09-2009, 01:41 PM
Mobipocket Creator... Calibre converts to PRC?! I thought it hated anything Amazon :D

I'll have to try PDFRead... thanks for the tip! :)

nrapallo
05-09-2009, 01:45 PM
Mobipocket Creator... Calibre converts to PRC?! I thought it hated anything Amazon :D

No, the defection occurred when Kovid got a Kindle...:snicker: calibre does convert to .mobi now!

I'll have to try PDFRead... thanks for the tip! :)

But, just so that you will know, the resulting .prc will only be images or screenshots of the pages; no text will be there! See this thread (http://www.mobileread.com/forums/showthread.php?t=40725) for using PDFRead with the Kindle.

GatorDeb
05-09-2009, 01:51 PM
No, the defection occurred when Kovid got a Kindle...:snicker: calibre does convert to .mobi now!



But, just so that you will know, the resulting .prc will only be images or screenshots of the pages; no text will be there! See this thread (http://www.mobileread.com/forums/showthread.php?t=40725) for using PDFRead with the Kindle.

Kovid got a Kindle... :eek:

Sold my Kindle 1 for $500 in December when it was out of stock and about a couple of weeks before K2 was announced. Waiting for Kindle DX now and using my iPod Touch in the mean (blasphemy :eek:).

Argh then I guess PDFReader won't do... going to try the new Calibre now.

Sydney's Mom
05-10-2009, 02:30 AM
I have found Mobipocket Creator better for converting from PDF to Mobi. I know I'm probably doing it wrong, but since MC works, I am happy with that. But Calibre rocks for newspapers!

dextrous
05-11-2009, 09:16 PM
Hi, just stumbled upon this site via google...I have a pdf file i purchased from ebooks.com and is practically useless since i cannot even print it--what's the use of buying it?!

Can anyone help in converting it to regular pdf?

joblack
05-11-2009, 09:38 PM
The inept script has still some bugs in it.

Most of the pdfs work without a problem but I've found some inconsistencies (mainly in the dump method). In rare occasions (at the moment because these kind of pdfs (>= pdf 1.5 and xref stream directory present) are very rare) it doesn't create a working pdf.

It also doesn't work if you haven't got an empty or no trailer (that occures if you have the trailer information in a xref stream directory) - then you will get a 'nor root found'-error.

If you get these circumstances they are known but these adjustments aren't worked out yet.

wallcraft
05-11-2009, 09:40 PM
Can anyone help in converting it to regular pdf? If you can read it with Adobe Digital Editions, but not with other PDF readers, then it has ADEPT DRM and ineptpdf.pyw can most likely strip the DRM.

dextrous
05-11-2009, 10:08 PM
If you can read it with Adobe Digital Editions, but not with other PDF readers, then it has ADEPT DRM and ineptpdf.pyw can most likely strip the DRM.

yes....exactly the problem

i got the script running...but where do i find this .der

nrapallo
05-11-2009, 10:17 PM
yes....exactly the problem

i got the script running...but where do i find this .der

Did you find (and use) ineptkey.pyw, version 3... ;) there it is... :rolleyes:

wallcraft
05-11-2009, 11:11 PM
where do i find this .der Run ineptkey.pyw first (one time only).

dextrous
05-12-2009, 01:16 AM
thank you all for bearing with me :)

i got it working!!

i'll stick around...one question, is there something available to transfer kindle to pdf? i don't have kindle yet...just wondering how flexible it is.

zerospinboson
05-14-2009, 07:50 AM
this works with penguin-bought ade books?

joblack
05-14-2009, 09:45 AM
this works with penguin-bought ade books?

Most probably ... :2thumbsup

zerospinboson
05-14-2009, 11:00 AM
It's odd how penguin.co.uk offers an ePub (http://www.penguin.co.uk/nf/Book/BookDisplay/0,,9780141908335,00.html?strSrchSql=quixote/Don_Quixote_Miguel_de_Cervantes_Saavedra) version of a title while us.penguingroup (http://us.penguingroup.com/nf/Book/BookDisplay/0,,9781440665493,00.html?Don_Quixote_Miguel_de_Cer vantes_Saavedra) offers ADE/MSLit/eReader versions, but not ePub. (Although apparently the US store only sells to people who reside in the USA, which I assume also means my CC has to have been issued there.)
Oh, well, maybe later then :)

joblack
05-14-2009, 12:05 PM
It's odd how penguin.co.uk offers an ePub (http://www.penguin.co.uk/nf/Book/BookDisplay/0,,9780141908335,00.html?strSrchSql=quixote/Don_Quixote_Miguel_de_Cervantes_Saavedra) version of a title while us.penguingroup (http://us.penguingroup.com/nf/Book/BookDisplay/0,,9781440665493,00.html?Don_Quixote_Miguel_de_Cer vantes_Saavedra) offers ADE/MSLit/eReader versions, but not ePub. (Although apparently the US store only sells to people who reside in the USA, which I assume also means my CC has to have been issued there.)
Oh, well, maybe later then :)

I doubt that they check the address. Use your credit card with a fake address and it should work (it did with the Sony US Shop).

GatorDeb
05-15-2009, 06:13 AM
I think what I'm going to do is just wait until the DX comes out and use liberated PDFs on it. I'd guess the PDFs are not images so they'll reflow on the DX, right?

wallcraft
05-15-2009, 06:48 AM
I'd guess the PDFs are not images so they'll reflow on the DX, right? The KDX does not have reflow for PDFs. It only has two PDF "sizes" a) portrait with margins trimmed, and b) landscape with continuous pages and margins trimmed. It would be nice if it also had a 2-column mode, or some other quarter page zoom, but the argument for the KDX setup is that the landscape mode is essentially full size for letter/A4 documents.

If you have DRM-free PDFs, they can be reflowed off-line and made into MOBIs for the KDX. What reflowing within Adobe Digital Editions get you, though, is the ability to switch between reflow and standard page views. The KDX has ADE, but it does not implement its reflow capability.

GatorDeb
05-15-2009, 10:41 AM
Thanks for the answer! I'll keep the 505 then and go to the 700 or its next iteration when it dies. The reflow is very readable (although it does look better on the PC). I have a warranty until December 2010 that includes me breaking it.

godelocs
05-15-2009, 11:06 AM
Can anyone tell me how to reformat my pdf books to imp format for my ebw 1150.

nrapallo
05-15-2009, 11:59 AM
Can anyone tell me how to reformat my pdf books to imp format for my ebw 1150.

For any non-DRM'ed or unprotected .pdf, you can use PDFRead (http://www.mobileread.com/forums/showthread.php?t=21906) to produce a EBW1150 .imp (also known as imp2 format).

For ADEPT DRM'ed .pdf, well I just don't use them. ;)

But from what I see, you need python installed, run the key .py and then the inept drm .py. You'll get a non-DRM'ed .pdf, which can then be used with PDFRead or converted to .html using calibre or Mobipocket Creator.

Hope this helps.

jackky
05-15-2009, 04:44 PM
Hi,
I get the following error with ineptkey:

Traceback (most recent call last):
File "C:\Documents and Settings\xx\MyDocuments\My Digital Editions\ineptkey.pyw", line 198, in main
retrieve_key(keypath)
File "C:\Documents and Settings\xx\MyDocuments\My Digital Editions\ineptkey.pyw", line 140, in retrieve_key
vendor = cpuid0()
File "C:\Documents and Settings\xx\MyDocuments\My Digital Editions\ineptkey.pyw", line 103, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x00C14B58



Pls help me. TIA..

trekker99
05-16-2009, 12:26 PM
I am also having trouble with some pdfs bought from simon & schuster. I also get the "There was a problem reading this document (14)." and the page where this error occurs is blank. The rest of the pdf (before and after) seems intact. I have tried both the v2 and v3 of ineptpdf from pastebin and both have the same problem. I activated my DE when 1.5 was released. I am using v3 of ineptkey.

joblack: You were asking about the size of adeptkey.der... Not sure if it means anything but mine is 606 bytes rather than the 607 or 608 that has been talked about. I have used this key to liberate some epubs I bought and they seem to work fine.

Anyone with any ideas? Will v6 of ineptpdf fix this? If someone can PM me the link to it, I can give it a shot. Thanks.

joblack
05-16-2009, 06:13 PM
The inept script has still some bugs in it.

Most of the pdfs work without a problem but I've found some inconsistencies (mainly in the dump method). In rare occasions (at the moment because these kind of pdfs (>= pdf 1.5 and xref stream directory present) are very rare) it doesn't create a working pdf.

It also doesn't work if you haven't got an empty or no trailer (that occures if you have the trailer information in a xref stream directory) - then you will get a 'nor root found'-error.

If you get these circumstances they are known but these adjustments aren't worked out yet.

asdfasdf

trekker99
05-16-2009, 10:24 PM
Joblack, the pdfs I am having trouble with are a mixture of pdf 1.4 and pdf 1.5, so perhaps your latest scripts can resolve the problems I have with pdf 1.4 files.

It seems that from what I have seen so far, the errors come from pages with a mixture of text and images. This might result in a number of pages after that page becoming undisplayable.

joblack
05-17-2009, 04:27 AM
Joblack, the pdfs I am having trouble with are a mixture of pdf 1.4 and pdf 1.5, so perhaps your latest scripts can resolve the problems I have with pdf 1.4 files.

It seems that from what I have seen so far, the errors come from pages with a mixture of text and images. This might result in a number of pages after that page becoming undisplayable.

It depends what version is written at the beginning of the file. If there is something like %pdf-1.5 it`s version 1.5.

1.4 or earlier should work with the actual script.

BookishMom
05-17-2009, 04:13 PM
I was able to figure out how to do the DRMd MobiPocket books scripts (by Igor), but these have me stumped. Can someone send me a link to the latest scripts and maybe a "dummies" guide on how to run them? :o

joblack
05-18-2009, 02:14 AM
I was able to figure out how to do the DRMd MobiPocket books scripts (by Igor), but these have me stumped. Can someone send me a link to the latest scripts and maybe a "dummies" guide on how to run them? :o

Hey BookishMom

You are in the wrong forum section - this is the pdf section. You will have the best chances to get qualified answers in the Mobi section.

BookishMom
05-18-2009, 05:07 AM
Hey BookishMom

You are in the wrong forum section - this is the pdf section. You will have the best chances to get qualified answers in the Mobi section.

Hi :)

I'm sorry, I should have made myself more clear. I was asking about PDF files. I wasn't having problems with the Mobi scripts. The PDF ones were stumping me, though. But someone PM'd some help, so now I think I have everything working - just need to test it. :o

joblack
05-19-2009, 09:33 AM
Hi,
I get the following error with ineptkey:
Pls help me. TIA..

An application error has occurred and an application error log is being generated. Exception: access violation (0xC0000005), Address"

The error 0xC0000005 is generated by an illegal "memory access violation". This can be caused by anything from faulty RAM, an incorrect/corrupt device driver, poorly written/updated software and more commonly under Windows XP Service pack 2, malware/adware installations.

http://www.updatexp.com/0xC0000005.html

jackky
05-19-2009, 05:23 PM
joblack,
Thanks.
I solved the problem.
I started the PC on safe mode, then I was able to get the key file. :)

vince100
05-22-2009, 06:18 AM
This is fantastic work! I would really appreciate a pm with links to the newest versions of ineptkey and ineptpdf.

Thanks.

grim_reader
05-24-2009, 09:31 AM
Will v6 of ineptpdf fix this? ...v6 of ineptpdf?

Does it really exist? :blink:

Thanks for any confirmation.

joblack
05-24-2009, 08:27 PM
v6 of ineptpdf?

Does it really exist? :blink:

Thanks for any confirmation.

That depends on the problem.

AnnePaul
06-06-2009, 10:46 PM
Hi!
I have a question for gurus here, if I have a DRMd adobe ebook and I obtained my key using the ineptkey python script, can I then send this key to a friend so she installs it (how could that be even done?) in her computer and can open the same ebook I bought?
In case I wouldn't want to remove the DRM with the ineptpdf.pyw script...

Is this possible? thanks everyone!

wallcraft
06-06-2009, 11:03 PM
if I have a DRMd adobe ebook and I obtained my key using the ineptkey python script, can I then send this key to a friend so she installs it (how could that be even done?) in her computer and can open the same ebook I bought? If you want to share ebooks without removing DRM, then note that your friend can also join your Adobe ID (up to 6 PCs and devices per Adobe account). Then there is no need to strip the DRM at all. The downside of this approach is that there is a 6 device limit between the two of you. This is entirely legal, the new Cool-er reader (Cool-er: light, trendy, inexpensive e-book reader (http://www.mobileread.com/forums/showthread.php?t=46870)) is advertising exactly this approach.

It would also be possible to send the .pdf and the adeptkey.der file to your friend, but she would have to run ideptpdf to strip the DRM if she was not under your Adobe ID.

joblack
06-07-2009, 01:15 PM
Hi!
I have a question for gurus here, if I have a DRMd adobe ebook and I obtained my key using the ineptkey python script, can I then send this key to a friend so she installs it (how could that be even done?) in her computer and can open the same ebook I bought?
In case I wouldn't want to remove the DRM with the ineptpdf.pyw script...

Is this possible? thanks everyone!

No but you can strip the DRM and share your 'freed ebook' with your friend but that is most probably not legal in your country.

AnnePaul
06-07-2009, 08:22 PM
Thanks Wallcraft and joblack!

I will try your ideas.

pilotbob
06-08-2009, 09:24 AM
Hi!
I have a question for gurus here, if I have a DRMd adobe ebook and I obtained my key using the ineptkey python script, can I then send this key to a friend so she installs it (how could that be even done?) in her computer and can open the same ebook I bought?

Please keep in mind that MobileRead is not here to help you violate copyright and we do not condone such behavior. We generally allow these threads to help people personally read an ebook they have legally obtained.

[moderator]

MerryDay
06-11-2009, 08:20 PM
Hello!

Okay, so I received an ARC for review from a publisher, but - of course- it's an ADEPT DRMed file...and I really hate to read on a computer screen. Thankfully, I found this thread (Cabbages, you are the best), but...I've followed all directions, downloaded the programs & the scripts, but when I try to open the .pdf at the end, I get an "expected dict object" message and nothing shows up.

Is there a fix for this that I'm missing? If I found a link to the newest scripts, would it work? I feel rather like a n00b, but I'm hoping I've just overlooked something.

Thanks so much!

Dicedude
06-15-2009, 11:35 AM
Dj vu time! I have successfully and reproducibly circumvented Adobe's ADEPT DRM system for PDF files. A discussion of the system and the circumvention is available in a blog post I've made on the subject: Link removed

Could someone please send me this missing link? Thanks!

wallcraft
06-15-2009, 12:28 PM
Could someone please send me this missing link? You may not need the link, see my earlier post:

The names of the scripts are ineptkey (ineptkey.pyw) and ineptpdf (ineptpdf.pyw), the INEPT is a play on ADEPT which is a bit unfair of i♥cabbages because the scheme held up for years until he/she came along. On the other hand, i♥cabbages should know, if anyone outside Adobe does, how inept the DRM really is.

As I said above: Yahoo is updating its search of pastebin more frequently than Google.

h2chng
06-16-2009, 04:06 AM
Hi all

I am a newbie here.

I try running the ineptkey (with the latest ED version on vista home 32 bit) but I keep getting windowsError.

The best part is the window error code keep changing. So i have no idea what is going on, and how I am going to get the ineptkey to work.

Here is the error message:
Traceback (most recent call last):
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 198, in main
retrieve_key(keypath)
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 140, in retrieve_key
vendor = cpuid0()
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 103, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x01AE9C00

Any help would be greatly appreciated.

Thks
Chng

joblack
06-17-2009, 10:27 AM
Hi all

I am a newbie here.

I try running the ineptkey (with the latest ED version on vista home 32 bit) but I keep getting windowsError.

The best part is the window error code keep changing. So i have no idea what is going on, and how I am going to get the ineptkey to work.

Here is the error message:
Traceback (most recent call last):
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 198, in main
retrieve_key(keypath)
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 140, in retrieve_key
vendor = cpuid0()
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 103, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x01AE9C00

Any help would be greatly appreciated.

Thks
Chng

Looks like a hardware error (memory?) or some of these new memory protection schemes of the vista.crap.

h2chng
06-17-2009, 10:38 AM
I think so.

I just run the ineptkey on another laptop(window xp) without any problem.

It is working now. :)

For those who are still trying, you might want to see if it works on another system.

Cheers

bigj91
06-20-2009, 02:05 PM
First and foremost, thank you to cabbage, also iam i have followed much as i can on this thread, seems like i need the new version, could somebody pm me the link. I cant believe that i paid for a book, and now i am at the library and they wont let me download digital editions, so i need to remove the drm on the pdf, so that i can read it on any computer, the nerve to authorize 6 computers, after i paid for this crap.

thanks
jack

bigj91
06-20-2009, 03:04 PM
please i am begging!!

wallcraft
06-20-2009, 03:16 PM
seems like i need the new version See post #405 (http://www.mobileread.com/forums/showpost.php?p=492588&postcount=405).

redhairgal
06-23-2009, 10:09 AM
Help, I have a PDF of a cookbook I purchased in 2006 from Amazon. Publisher is Simon & Schuster. Anyway the publisher/author PULLED the book from Amazon so now I can't open the book on anything other than this very old computer. I'm afraid when it dies I'm going to have to re-buy the book. Unfortunately the book is now over $100 when it comes on the used market sigh.......

I was able to get the key without error from ineptkey.pyw it's 609 bytes. I tried to run all three versions of ineptpdf.pyw and all give the same error -5 decompressing data.

Help please?
Red

JSWolf
06-23-2009, 11:17 AM
Hi all

I am a newbie here.

I try running the ineptkey (with the latest ED version on vista home 32 bit) but I keep getting windowsError.

The best part is the window error code keep changing. So i have no idea what is going on, and how I am going to get the ineptkey to work.

Here is the error message:
Traceback (most recent call last):
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 198, in main
retrieve_key(keypath)
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 140, in retrieve_key
vendor = cpuid0()
File "C:\Users\user\Desktop\Testing\ineptkey.pyw", line 103, in cpuid0
cpuid0__(buffer)
WindowsError: exception: access violation writing 0x01AE9C00

Any help would be greatly appreciated.

Thks
Chng
It looks like it might be an access error. Try running the script as administrator. If that doesn't work, turn off UAC and then run the script. You can leave UAC off. In Vista it doesn't work well anyway.

wallcraft
06-23-2009, 11:30 AM
Help, I have a PDF of a cookbook I purchased in 2006 from Amazon. Publisher is Simon & Schuster. Anyway the publisher/author PULLED the book from Amazon so now I can't open the book on anything other than this very old computer. I'm afraid when it dies I'm going to have to re-buy the book. Can you read the PDF using Adobe Digital Editions on the original computer? If so, it should have been ungraded to the new ADE licence scheme. Perhaps there is a new copy of the file (look in My Documents\My Digital Editions), and that is the ugraded version.

Note that ineptpdf only works on Adobe Digital Editons PDFs, so the first step to recovering your PDF is getting it working in ADE. At that point it (the ADE version of the PDF) should be portable to any machine running ADE, but you may still want to strip the DRM for future compatibility.

redhairgal
06-23-2009, 05:02 PM
..........snip....... At that point it (the ADE version of the PDF) should be portable to any machine running ADE, .....snip.....

Thanks Wallcraft, it is readable in ADE, newest version, but it is not portable to any other computer. Amazon pulled it at the request of the author or publisher. It was encrypted under the older easy activation scheme which tied it to the hardware not the user since in the beginning there were no user accounts.

Now ADE keeps asking me to re-download the content if I wish to read it on any other computer. Since it's an Amazon pull it can't be downloaded again. Hence I am stuck and need to strip the DRM. But although adeptkey appears to properly pull the cert I get an error -5 decompressing data and it stops.
Red

2monte
06-24-2009, 10:15 PM
is there a way to fix "There was an error opening this document. The root object is missing or invalid"? what is the most up to date version of ineptpdf?

Thanks for the help

joblack
06-25-2009, 02:27 PM
is there a way to fix "There was an error opening this document. The root object is missing or invalid"? what is the most up to date version of ineptpdf?

Thanks for the help

No update available.

suecsi
06-29-2009, 05:39 AM
I have the root object error as well - but so far, only for one particular file, that appears to decrypt fine, but then when opening it in Adobe Reader, I get that error. If you try to open the decrypted version in Adobe Digital Editions, you get one blank white page.

I will be changing device soon, so this is why I did this - bizarrely enough the book in question (which I legitimately paid for) is about the President of the USA. Maybe he has better security:eek:

All the others have converted absolutely fine - PDF and EPUB.

joblack
06-29-2009, 09:14 AM
I have the root object error as well - but so far, only for one particular file, that appears to decrypt fine, but then when opening it in Adobe Reader, I get that error. If you try to open the decrypted version in Adobe Digital Editions, you get one blank white page.

I will be changing device soon, so this is why I did this - bizarrely enough the book in question (which I legitimately paid for) is about the President of the USA. Maybe he has better security:eek:

All the others have converted absolutely fine - PDF and EPUB.

If they moved the root directory to the xref index directory (pdf1.5+) the script doesn't work. There is a work to change it but the structure of such a pdf1.5 is still partly a mystery

doreenjoy
07-12-2009, 05:47 PM
I've been using the PDF decrypt with great success, but three particular PDFs give the error: "Dict required".

Any pointers?

joblack
07-20-2009, 04:57 PM
I've been using the PDF decrypt with great success, but three particular PDFs give the error: "Dict required".

Any pointers?

Probably the same problem. The dump method in the script is kind of static it doesn't take some of the the new pdf1.5+ features in account.

doreenjoy
07-20-2009, 05:10 PM
Probably the same problem. The dump method in the script is kind of static it doesn't take some of the the new pdf1.5+ features in account.

Thanks.

So do any of the brainy members of the forum have a fix in the works?

joblack
07-20-2009, 06:48 PM
Thanks.

So do any of the brainy members of the forum have a fix in the works?

I played around but imho the Adobe PDF Reference isn't very clear about the standard (at least there aren't enough examples for a deeper understanding).

It's not a quick fix because you need to know exactly how a pdf can be structured. Also there is no dump method from the original code (pdfminer) ... that's the work from ILC.

krischik
07-22-2009, 04:13 AM
This is self evident because they will never even notice whether or not I deleted the book.

Sure they know - You are bragging about it in a forum for book-enthusiast and surprise most library operators / employees are book-enthusiasts.

There are also publishers and eBook Shop operators among us. Some are hidden and some like beam (http://www.mobileread.com/forums/member.php?u=20208) quite openly. Because they too are often book-enthusiast.

Martin

ahi
07-22-2009, 02:33 PM
I'm afraid I consider that to be utterly immoral. But we must agree to differ.

Can I point out that this action that you consider to be utterly immoral--namely the keeping of a library loaned eBook for good--is such that the only certain impact it is going to have is to potentially enrich a single human being's mental vistas for longer?

I find laws that appear to be so unambiguously anti-human as immoral as you find copyright infringement to be.

I do not seek to necessarily convince you--just wanted to bring up another point of view.

- Ahi

Ps.: And I am a publisher, and not of just (nor even of primarily) public domain stuff.

Nine989
07-24-2009, 05:22 AM
Hi

I try to use the ineptpdf.pyw, but when I click "decrypt" I get the following error:

Error: Cyphertext too large.

Does anyone know how to solve this?

Thanks in advance.

MeMyselfAndI
07-29-2009, 11:57 AM
I have a pdf that I purchased a long time ago and can't open it now as I have changed hardware - ADE tells me to redownload it but the site I got it from no longer exists. I had hoped this INEPT program would remove the DRM so I can view it again, however when I run v2 I get "Error: Error -5 while decompressing the data".

Can someone provide assistance in rectifying this?

Thanks

Kostas
07-29-2009, 02:01 PM
MeMyselfAndI,
Theres is another thread opened a few days ago by a member with a similar problem with an old PDF DRM'ed file. Maybe you should try to find it.

MeMyselfAndI
07-30-2009, 02:46 PM
I think I found the one you are referring to unfortunately it is a little different then my issue. His is 10 years old whereas my PDF file is from 2007 - maybe my original post was a little misleading. If I open the PDF with a text viewer the first line is PDF-1.6, which I'm assuming is the version of PDF used to create it.
Does anyone know what Error 5 indicates -why there would be a problem decompressing the data?

Exitalterego
08-01-2009, 05:05 AM
Hi guys,

First off, thanks to i♥cabbages for the great work he has done on removing this most annoying DRM! However, it looks like the only versions of the scripts that I have been able to find after trawling the interwebs are slightly outdated. I'm using ineptepub v2, ineptpdf v2 and ineptkey v3. Could someone please PM me the most up-to-date versions of the scripts.

Thanks in advance!

GatorDeb
08-02-2009, 01:16 PM
Hi guys,

First off, thanks to i♥cabbages for the great work he has done on removing this most annoying DRM! However, it looks like the only versions of the scripts that I have been able to find after trawling the interwebs are slightly outdated. I'm using ineptepub v2, ineptpdf v2 and ineptkey v3. Could someone please PM me the most up-to-date versions of the scripts.

Thanks in advance!

:yahoo:

JSWolf
08-02-2009, 01:23 PM
I have a pdf that I purchased a long time ago and can't open it now as I have changed hardware - ADE tells me to redownload it but the site I got it from no longer exists. I had hoped this INEPT program would remove the DRM so I can view it again, however when I run v2 I get "Error: Error -5 while decompressing the data".

Can someone provide assistance in rectifying this?

Thanks
You can only remove the DRM if you have the key that the PDF was encrypted with. And to get the key, you need ADE to be registered and the PDF to ave used that key. Otherwise, you are out of luck.

radamo
08-03-2009, 09:59 AM
Why is it that some files that open correctly in ADE and run through the de-DRM process and say they decrypted properly but then won't open in Acrobat?
RA

Sydney's Mom
08-04-2009, 09:19 PM
Have you tried to convert them to another format? Sometimes converting it to mobi makes it readable.

Exitalterego
08-05-2009, 10:25 PM
Ok, so I've come across some problems.

Out of my ebook collection, I've got 10 pdf's that I can't decrypt. Three of them are v1.4 pdf's, two are v1.5 pdf's and the other 5 are v1.6 pdf's.

For the 1.4 and 1.5 pdf's I've tried decrypting these files on both Vista and XP and get different error messages when opening the files. Under Vista, the message reads "There was an error opening this document. The file is damaged and could not be repaired" (v1.4) or "There was an error... There was a problem reading this document (14)". Under XP it's the root object error mentioned else where in this thread.

I understand that v1.6 isn't supported by the script and that some v1.5's appear to have problems, but I thought v1.4 was fully supported. Am I wrong in this assumption?

Does anyone have any suggestions on how to fix this?

Thanks in advance

peterbb69
08-08-2009, 08:28 AM
I keep getting this error message when trying to decrypt an epub file I purchased from diesel-ebooks.com.
What does it mean, am I doing something wrong?
If I send the key and epub file to someone can they try to decrypt it for me.
Thanks.

Kostas
08-08-2009, 09:39 PM
I keep getting this error message when trying to decrypt an epub file I purchased from diesel-ebooks.com.
What does it mean, am I doing something wrong?
If I send the key and epub file to someone can they try to decrypt it for me.
Thanks.
This thread is about PDF files. If you used ineptpdf on a epub file, an error should be expected. There is a similar thread for epub files.:)

tengil
08-13-2009, 07:52 PM
Could someone please send me a link to the newest version of the script in PM?
Thanks in advance! :)

I have version 3, I saw someone in this thread wich head version 5?
One feature looked like to be "decrypt whole directory".

Anyone have link to it?

BTW about hosting the scripts!
I know a safe way to host the scripts!
Host it through TOR in a .onion domain. Very safe.
There are free file hosts under the .onion that you can use.

To reach the .onion network you need to use TOR or you can reach it through this site: http://tor2web.com/

Thanks for your work Cabbages! :)

Kostas
08-13-2009, 10:14 PM
Could someone please send me a link to the newest version of the script in PM?
Thanks in advance! :)

I have version 3, I saw someone in this thread wich head version 5?
One feature looked like to be "decrypt whole directory".

Anyone have link to it?

I might be wrong but I don't think there is such a V5.
AFAIK, V3 is the latest available.

joblack
08-14-2009, 08:16 AM
I might be wrong but I don't think there is such a V5.
AFAIK, V3 is the latest available.

You mean the AINEPT (Automated INEPT) - it's an advancement somebody ":rolleyes2:" has done so you can progess whole directories. The versions are arbitrary - the AINEPT has some small advancements.

JohnAppleseed0
08-15-2009, 01:00 PM
I purchased this semesters Microeconomics textbook from the McGraw HIll Website ($100USD)!. I would desperately like to read this file on my Amazon Kindle DX :).

I downloaded & installed Adobe 8, and the latest version of Digital Editions, in addition to version 2 & version 3 of the PDF inept decryption scripts. Version 2, it says decryption is successful, but when I open it, its just garbage crypto text. In Version 3, it just says "error decrypting book session key"

Any Ideas PLEASE???

JohnAppleseed0
08-18-2009, 03:49 AM
Bump.. any ideas?

JohnAppleseed0
08-19-2009, 02:09 AM
Comon, someone must be able to help me liberate my textbook!! FREEDOM!!

JohnTheRipper
08-19-2009, 03:25 AM
Comon, someone must be able to help me liberate my textbook!! FREEDOM!!

Hi all! I'm new to this forum and had acknowledge of ineptpdf last week. I bought an ebook but:

v2 => said "successfully decrypted"
v3 => said "error decrypting book session key"

Help!:help:

JohnTheRipper
08-19-2009, 03:26 AM
Hi all! I'm new to this forum and had acknowledge of ineptpdf last week. I bought an ebook but:

v2 => said "successfully decrypted"
v3 => said "error decrypting book session key"

Help!:help:

JohnTheRipper
08-19-2009, 03:28 AM
I've downloaded Cheat Engine 5.3, and viewing memory addresses from the digitaleditions.exe process I can see the text from the encrypted pdf...

JohnAppleseed0
08-19-2009, 05:51 AM
I have exactly the same problem!!!

JohnTheRipper
08-19-2009, 06:14 AM
The only solution so far to this maybe via screen captures at high res, then combining images with Acrobat to produce a PDF and then OCR Recognise with CleanText.

JohnTheRipper
08-19-2009, 06:16 AM
Because a PDF with only high res images can result in a large file; by OCR-Recognising you can reduce dramatically the filesize

RobbieClarken
08-19-2009, 07:11 AM
The only solution so far to this maybe via screen captures at high res, then combining images with Acrobat to produce a PDF and then OCR Recognise with CleanText.

You can also print some Digital Editions ebooks to file. You can use the PDF printer that comes with Nuance PDF Converter for this (Acrobat and Nitro's PDF printers don't work).

JohnTheRipper
08-19-2009, 08:43 AM
The problem is that the PDF is limited to a unique whole print of the book. How can I use Nuance printer if I already print the ebook?

RobbieClarken
08-19-2009, 08:54 AM
The problem is that the PDF is limited to a unique whole print of the book. How can I use Nuance printer if I already print the ebook?

Sorry, I haven't encountered this restriction so I'm not sure if it's possible to get around it.

JohnTheRipper
08-21-2009, 01:31 AM
Unfortunately for me:

V number (Optional but strongly recommended) A code specifying the algorithm to be used in encrypting
and decrypting the document:
0 An algorithm that is undocumented and no longer supported, and whose use is
strongly discouraged.
1 Algorithm 3.1 on page 73, with an encryption key length of 40 bits; see below.
2 (PDF 1.4) Algorithm 3.1 on page 73, but allowing encryption key lengths greater
than 40 bits.
3 (PDF 1.4) An unpublished algorithm allowing encryption key lengths ranging
from 40 to 128 bits. (This algorithm is unpublished as an export requirement of
the U.S. Department of Commerce.)

joblack
08-21-2009, 07:10 AM
Unfortunately for me:

V number (Optional but strongly recommended) A code specifying the algorithm to be used in encrypting
and decrypting the document:
0 An algorithm that is undocumented and no longer supported, and whose use is
strongly discouraged.
1 Algorithm 3.1 on page 73, with an encryption key length of 40 bits; see below.
2 (PDF 1.4) Algorithm 3.1 on page 73, but allowing encryption key lengths greater
than 40 bits.
3 (PDF 1.4) An unpublished algorithm allowing encryption key lengths ranging
from 40 to 128 bits. (This algorithm is unpublished as an export requirement of
the U.S. Department of Commerce.)

V0 - V4 should work ...

JohnTheRipper
08-21-2009, 08:00 AM
I have an PDF-1.4, EBX_HANDLER V 3 ebook and the ineptkey says "error decrypting book session key".

The text above is extracted from PDF Reference third edition Adobe Portable Document Format Version 1.4 (2001)

joblack
08-21-2009, 10:14 AM
Perhaps you have a not working (e.g. some bugs) script ... try the vanilla version.

Also check out if you have a root element at the end ... if it is moved the an xref stream reference the script doesn't work but that is pdf 1.5 feature.

JohnTheRipper
08-21-2009, 12:27 PM
This is the end of the file:


trailer
<</Size 1356/Root 1302 0 R/Encrypt 1354 0 R/Info 1300 0 R/ID[<21D9A1B03A6F84B90B439BF28D576856> <6C4C007A2C6F2D42B79A6DC58FF67A68>]/Prev 1561662>>
startxref
1591735
%%EOF

is this what you mean?

JohnTheRipper
08-21-2009, 12:29 PM
And the beginning:

%PDF-1.4
%

1 0 obj<</Contents 3 0 R/Type/Page/Parent 1259 0 R/Rotate 0/MediaBox[0 0 493 703]/CropBox[0 0 493 703]/Resources 2 0 R>>
endobj
2 0 obj<</ColorSpace<</Cs8 1167 0 R/Cs6 1166 0 R>>/Font<</F1 1170 0 R>>/ProcSet[/PDF/Text]/ExtGState<</GS2 1175 0 R>>>>
endobj
3 0 obj<</Length 283/Filter/FlateDecode>>stream

|›ž^A\]A٩*ж Ha.c^tiߣLu
k&
$yL}7“Šl8mMNAd73›M‹jŠY›

reader22
08-21-2009, 08:29 PM
Thank you so much for this. I've just converted all the pdf's with this. The ones ADE was willing to read anyway..

joblack
08-21-2009, 09:11 PM
This is the end of the file:


trailer
<</Size 1356/Root 1302 0 R/Encrypt 1354 0 R/Info 1300 0 R/ID[<21D9A1B03A6F84B90B439BF28D576856> <6C4C007A2C6F2D42B79A6DC58FF67A68>]/Prev 1561662>>
startxref
1591735
%%EOF

is this what you mean?

Yes - the script has also sometimes parser errors. You need to be an absolute pdf expert to understand what is pdf conform and what isn't ... :(

JohnTheRipper
08-22-2009, 10:10 AM
And what should I do? debug the script to see what is wrong?

It's supposed to decrypt the ADEPT_LICENSE>encryptedKey, and therefore all the streams...

joblack
08-23-2009, 01:59 PM
And what should I do? debug the script to see what is wrong?

It's supposed to decrypt the ADEPT_LICENSE>encryptedKey, and therefore all the streams...

Sure but the structure at the end can be different in dependence of the pdf level. As newer levels aren't supported some modifications have to be made. I myself am not a pdf expert so I could fiddle with the dump method but that wouldn't actually create a conform pdf in all cases ...

JohnTheRipper
08-24-2009, 11:21 AM
But the problem is that the dump method is never reached ('cos the ADEPTException), and the question is that the key is 127 bit long when it's RSA decrypted, that's wrong if I debug another PDF correctly decrypted which bookkey is 128-bit long...

PDFParser does his job correctly.

joblack
08-24-2009, 12:45 PM
But the problem is that the dump method is never reached ('cos the ADEPTException), and the question is that the key is 127 bit long when it's RSA decrypted, that's wrong if I debug another PDF correctly decrypted which bookkey is 128-bit long...

PDFParser does his job correctly.

The problem is that the parser under some circumstances read some garbage data as the key. That's the reason why the script stops.

I would be interested to communicate with a pdf expert. I've got the knowledge over the script and he/she would have deep pdf format knowledge.

But I suppose that won't be happening so the only possible solution is to get more pdf knowledge and do it yourself.

Anyway, I have to say that ILC has made a very good job - there is a lot of deep knowledge in the script. I suppose he was/is in a pdf related job anyway.

JohnTheRipper
08-24-2009, 01:26 PM
This is the encrypted key:

<encryptedKey>PDN/JFFoDC6XKdI1SOeOA3uLtgbaRmvGPf9gSwQOVOMvq3YQS/yDnTnx+oQoXR9lZF+V/pbGZ
g6UktG8iGSKG/6HrgyHIfnDo+6G4jqeX/0EEUunPS6O+h3SP56cvThtyaxVv0ayXhserM9cFY89KTTxcK0U bso0H4cqirlWR1c=</encryptedKey>

taken from the base64-decoded rights of the uncompressed ADEPT_LICENSE's xml. Then it applies an rsa decrypt, but it seems not to be correct. The ebx_V and ebx_type seems to be get ok (3 and 6). Actually, ineptpdf v2 decrypts but streams seems to be corrupted (i.e. not correctly decrypted) so I can see pages like in ADE.

Sure ILC has made a extremely good job, but part of the script is based on PDFParser from pdfminer..

I have no time now to reverse-engineer what ADE does when opens a DRM, it uses CRYPT32.DLL and CryptUnprotectData...

----------------

PDFMiner v20090824.
dumppdf said:

raise PDFEncryptionError('Unknown filter: param=%r' % param)
pdfminer.pdfparser.PDFEncryptionError: Unknown filter: param={'EBX_SELLER_URL': '', ...
... , 'Filter': /EBX_HANDLER, 'Length': 128, 'EBX_PUBLISHER_URL': '', 'V': 3}

joblack
08-24-2009, 08:49 PM
This is the encrypted key:

<encryptedKey>PDN/JFFoDC6XKdI1SOeOA3uLtgbaRmvGPf9gSwQOVOMvq3YQS/yDnTnx+oQoXR9lZF+V/pbGZ
g6UktG8iGSKG/6HrgyHIfnDo+6G4jqeX/0EEUunPS6O+h3SP56cvThtyaxVv0ayXhserM9cFY89KTTxcK0U bso0H4cqirlWR1c=</encryptedKey>

taken from the base64-decoded rights of the uncompressed ADEPT_LICENSE's xml. Then it applies an rsa decrypt, but it seems not to be correct. The ebx_V and ebx_type seems to be get ok (3 and 6). Actually, ineptpdf v2 decrypts but streams seems to be corrupted (i.e. not correctly decrypted) so I can see pages like in ADE.

Sure ILC has made a extremely good job, but part of the script is based on PDFParser from pdfminer..

I have no time now to reverse-engineer what ADE does when opens a DRM, it uses CRYPT32.DLL and CryptUnprotectData...

----------------

PDFMiner v20090824.
dumppdf said:

raise PDFEncryptionError('Unknown filter: param=%r' % param)
pdfminer.pdfparser.PDFEncryptionError: Unknown filter: param={'EBX_SELLER_URL': '', ...
... , 'Filter': /EBX_HANDLER, 'Length': 128, 'EBX_PUBLISHER_URL': '', 'V': 3}

RSA isn't used to decrypt the whole pdf it's only to decrypt the symmetric key (the former would be too slow). I know it comes from pdf miner but pdf miner has no dump method and almost no cryptological methods.

JohnTheRipper
08-25-2009, 03:15 AM
I mean that RSA is applied to the key; the whole pdf is supposed to be rc4 encrypted.

I think the problem is in initialize_ebx, not in dump. I don't understand when :

if ebx_V < 4 or ebx_type < 6:
V = ord(bookkey[0])
bookkey = bookkey[1:]

this produces (shorten bookkey length from 16 to 15) the error because the length doesn't match (not equal to 16)..

caterpillar
08-27-2009, 12:43 PM
Hi all! I'm new to this forum. I applied ineptpdf for my McGraw-Hill ebook and I got:

ineptpdf v2 => said "successfully decrypted" but it contained only blank-pages
ineptpdf v3 => said "error decrypting book session key"
ineptpdf v4 => said "error decrypting book session key"

Any help would be appreciated!

JohnTheRipper
08-28-2009, 11:19 AM
We are discussing right now about the problem. What pdf version and EBX_HANDLER version do you have in your PDF?

I have the same problem and no solution yet

caterpillar
08-28-2009, 06:26 PM
Hi Johntheripper, thank you for your response! My pdf file uses 128 bit EBX_HANDLER and PDF-1.3.

userman
09-03-2009, 03:24 AM
Hi,

for decrypt a ebook I need decrypt it from the pc/buy? because when i buy a ebook i can decryp it with inetpdf but when i get a ebook buyed from another computer i can not decrypt.

(sorry for my bad english)

wallcraft
09-03-2009, 09:54 AM
for decrypt a ebook I need decrypt it from the pc/buy? because when i buy a ebook i can decryp it with inetpdf but when i get a ebook buyed from another computer i can not decrypt. The way it is supposed to work is that you can decrypt any PDF bought for the same AdobeID as your PC. A single AdobeID can be associated with 6 devices (Windows PCs or Macs or EInk Readers). If the other computer was registered to another AdobeID, then your key won't work to decrypt it.

userman
09-03-2009, 10:56 AM
wallcraft sure, I know it now.

Thanks.

roger64
09-04-2009, 03:44 AM
So you can only decrypt your own DRMed files for interoperability purposes.
Sounds fair. And it works nicely. :)

JohnTheRipper
09-04-2009, 03:57 AM
So you can only decrypt your own DRMed files for interoperability purposes.
Sounds fair. And it works nicely. :)

Not all DRMed PDFs are currently possible to decrypt... the book session key error remains

Some of us are waiting for a new version of the ineptpdf that solves this problem

roger64
09-04-2009, 09:34 AM
OK. I did not do extensive trials. :)

On the epubfront, I got an excellent result with the v.2 version of the script and I failed with v.3. I don't know why.

JohnAppleseed0
09-07-2009, 12:28 AM
I don't think any update is forthcoming. The author has disappeared, and no one here seems really capable of solving the situation :(

elfwood
09-07-2009, 11:14 PM
Since I'm a total tech idiot, here's the dumb question of the day.
There are times that I'd like to switch an epub or adobe pdf ebook from one computer to another. Is there any way to do that?

Sometimes I could just return the book to the library, then check it out on the other laptop. But that won't work if there is a waiting list.

Still crabby about the epub font mess. I'd really like to have more control over the font choices--the way it is with adobe pdf--especially since the e-library I use seems only to be buying epub now.

elle

conant
09-09-2009, 12:57 PM
As I noticed that the scripts were no longer existed. Anyone can pm me an address? Much appreciation!~

krischik
09-09-2009, 01:59 PM
As I noticed that the scripts were no longer existed. Anyone can pm me an address? Much appreciation!~

Well there is a very interesting thread at Mobipocket (http://www.mobipocket.com/forum/viewtopic.php?t=16292) which might enlighten you.

Yes, still there, still not censored.

Martin

Jane A
09-09-2009, 07:40 PM
On the epubfront, I got an excellent result with the v.2 version of the script and I failed with v.3. I don't know why.

I found the same was true for me.

conant
09-10-2009, 02:37 AM
Hi Johntheripper, thank you for your response! My pdf file uses 128 bit EBX_HANDLER and PDF-1.3.

Hi...I 've got the same problem...try v5 automated...I'll pm you a link.:p

Rupan
09-17-2009, 02:54 AM
I'm also seeing this problem. I'd previously used ineptpdf to decrypt a purchased copy of Anathem and it worked well, so I went ahead and bought a McGraw-Hill textbook. Of course it can't be decrypted, but I can still use it in ADE. From what I can tell, v5 and v6 are only "feature enhancement" releases and do not contain any bugfixes. Too bad ILC is MIA.

joblack
09-19-2009, 12:09 AM
I'm working on it but I have not so much spare time (job, studies, ...). If you have a problem on a special pdf you can PM and I will try to solve it.

Anyway, don't expect a solution in a few days I'm still searching for a pdf expert who could explain some things (special cases) in a pdf I don't understand yet ...

Robrecht
09-22-2009, 04:43 PM
I got the 'root object missing or invalid' error after decrypting one of my books. The resulting file, in other words, is corrupted. Other books came out fine, but this one, it seemed, was lost in the shackles of that stupid Digital Editions contraption that doesn't allow me to read books I've paid for the way I want to.

Luckily, after some experimenting, I've found a solution.

Download and install the demo found here: http://www.pdf-repair.com/.

Run the program on the corrupted .pdf file (not the original ebook but the decrypted one). You will be shown a preview of the result, but since it's a demo, you can't save the fixed file.

Now open an explorer window and go to C:\Users\<yourname>\AppData\Local\Temp\

Search for a pdf file that was created today; in my case, it was called 'TMPFF0C.pdf'. This is the fixed file.

joblack
09-22-2009, 06:36 PM
I got the 'root object missing or invalid' error after decrypting one of my books. The resulting file, in other words, is corrupted. Other books came out fine, but this one, it seemed, was lost in the shackles of that stupid Digital Editions contraption that doesn't allow me to read books I've paid for the way I want to.

Luckily, after some experimenting, I've found a solution.

Download and install the demo found here: http://www.pdf-repair.com/.

Run the program on the corrupted .pdf file (not the original ebook but the decrypted one). You will be shown a preview of the result, but since it's a demo, you can't save the fixed file.

Now open an explorer window and go to C:\Users\<yourname>\AppData\Local\Temp\

Search for a pdf file that was created today; in my case, it was called 'TMPFF0C.pdf'. This is the fixed file.

This is a quickfix and it shows that the pdf is mostly intact (so the decryption is working) and only some metadata are wrong or missing.

But that's no long term solution - especially for more than one e-book.

JohnAppleseed0
09-26-2009, 04:23 AM
I got the 'root object missing or invalid' error after decrypting one of my books. The resulting file, in other words, is corrupted. Other books came out fine, but this one, it seemed, was lost in the shackles of that stupid Digital Editions contraption that doesn't allow me to read books I've paid for the way I want to.

Luckily, after some experimenting, I've found a solution.

Download and install the demo found here: http://www.pdf-repair.com/.

Run the program on the corrupted .pdf file (not the original ebook but the decrypted one). You will be shown a preview of the result, but since it's a demo, you can't save the fixed file.

Now open an explorer window and go to C:\Users\<yourname>\AppData\Local\Temp\

Search for a pdf file that was created today; in my case, it was called 'TMPFF0C.pdf'. This is the fixed file.

still outputs garbage for me

tuufbiz1
09-27-2009, 01:41 PM
In the past I've had no problems with the inept python scripts but occasionally I now encounter DE pdf's that I can't strip the drm. Any suggestions?

discusaigon
09-29-2009, 11:49 AM
I got the same problem with an ebook I bought.

it does seem to work but I cannot open the final pdf, I got an "error14"

pdf repair didn't work either.

yoadobe
09-30-2009, 11:18 AM
Could someone please please PM me a link to the latest ineptpdf/ineptkey files?

I have v2, and they work beautifully on some files but not all.

Thank you very much in advance

krischik
10-01-2009, 11:14 AM
Could someone please please PM me a link to the latest ineptpdf/ineptkey files?

Check posting No. 480 which is from me :).

joblack
10-02-2009, 06:33 AM
There is an URL without the bittorrent trouble ...

krischik
10-02-2009, 07:54 AM
There is an URL without the bittorrent trouble ...

You mean the one that disappears every 5 days and can only be found with Yahoo but not with Google.

Besides: Bittorrent is no trouble - it is an excellent download tool used by Eclipse, KDE, OpenOffice.org, Word of Warcraft and yes most Pirates.

joblack
10-02-2009, 09:47 AM
You mean the one that disappears every 5 days and can only be found with Yahoo but not with Google.


No it can't be found - it finds you ;)

discusaigon
10-02-2009, 11:29 AM
Hi Can you only tell us what is the latest version number so we 'll know what we are searching for ?

Thanks

Fischi
10-23-2009, 11:43 AM
Hi guys Im a real noob and need your professional help. ^^ Ive bought a drm epub ebook and my stupid sony ebook library cracks up when i plug in my reader. So i want to remove the fu**ing drm **** to put it on my sd and give it on my reader without installing all new. The only problem is i have no idea how python or the script works that i♥cabbages wrote.
I hope anyone here can help me with my problem :2thumbsup
sorry for my bad english im from austria greets and :thanks: Fischi

wallcraft
10-23-2009, 11:59 AM
Ive bought a drm epub ebook and my stupid sony ebook library cracks up when i plug in my reader. There is a separate thread for ineptepub.pyw, but the PDF and ePub scripts work the same way. For python, see Install Python Windows (http://wiki.mobileread.com/wiki/Install_Python_Windows). Otherwise, there is little to add to i♥cabbages's blog post. If you get the scripts from Pastebin, you will need to rename them from xxxx.txt (or whatever) to ineptepub.pyw (say). To "run" a .pyw script all you need to do is double click on it just like any standard Windows program.

Fischi
10-23-2009, 12:06 PM
Thanks for the quick answer was the first thread i found and i only read until site 13 ^^ reaaly helps me if it is so easy thank you very much

UntamedMaiden
10-25-2009, 08:20 PM
@blueoregon I went to the website you asked about, and looks to me like a way for a hacker to get free reign access to your computer. Wouldn't recommend using it. I'm on a Mac, and the site asked me to give it unrestricted access to my computer (as if!). Definitely seems fishy to me, don't use it!

A question for everyone: What's the method of using the pdf/ePub scripts on a Mac? I don't have easy access to Windows. I know how to strip DRM off of prc files on my Mac, but don't quite understand how to do it for pdf/ePub files. Thanks for any help!

RobbieClarken
10-25-2009, 08:54 PM
A question for everyone: What's the method of using the pdf/ePub scripts on a Mac? I don't have easy access to Windows. I know how to strip DRM off of prc files on my Mac, but don't quite understand how to do it for pdf/ePub files. Thanks for any help!

I'm not sure there is presently a way to fetch your ADEPT key on a Mac. So I would recommend running a virtual box with Windows installed on it. Sun Microsystems' VirtualBox (http://www.virtualbox.org/) is a nice (free) option but you will need a copy of Windows to install on it.