Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Other discussions > Removing DRM protection from eBooks
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #21  
Old 03-11-2010, 02:51 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


ineptkey.pyw, version 4.3
Code:
http://pastebin.com/f6ffa029
ineptepub.pyw, version 4
Code:
http://pastebin.com/f5c0ce06b
Note that ineptkey.pyw, version 4.3 and ineptepub.pyw, version 4 can't be used together.
Reply With Quote
  #22  
Old 03-20-2010, 12:51 PM
foghat foghat is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
foghat is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Hi,

When I double click the ineptkey.pyw, I keep getting an error that states:
---------------------------
ADEPT Key
---------------------------
This script requires PyCrypto, which must be installed separately. Read the top-of-script comment for details.
---------------------------
OK
---------------------------

Thing is, I have installed PyCrypto (pycrypto-2.1.0.win32-py2.6.zip) - during the installation, it correctly finds my python 2.6 installation. I see the pycrpto files at:

C:\Python26\Lib\site-packages\Crypto

Not sure if it makes a difference, but I have tried running ineptkey.pyw from the python 26 directory and The Crypto directory, same error. I have tried rebooting as well.

I am running win7 64bit - not sure if that is causing any issues. Anyone have any thoughts?
Reply With Quote
  #23  
Old 03-20-2010, 01:15 PM
Stream Recorder
 
Posts: n/a
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Quote:
Originally Posted by foghat View Post
This script requires PyCrypto, which must be installed separately.
....
Thing is, I have installed PyCrypto (pycrypto-2.1.0.win32-py2.6.zip) - during the installation, it correctly finds my python 2.6 installation. .
....
I am running win7 64bit - not sure if that is causing any issues. Anyone have any thoughts?
win7 64bit, so you can try to use pycrypto-2.0.1.win-amd64-py2.6.exe instead of pycrypto-2.1.0.win32-py2.6.zip.

But I recommend to use pyhton x32 with pycrypto x32.
Reply With Quote
  #24  
Old 03-20-2010, 01:37 PM
foghat foghat is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
foghat is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


^ Thanks. I looked for a 64bit version, but didn't see it at the bottom there. But now found it and installed it.

So, now I can get one step further, inptkey.pyw runs, but now I get the following error:

Code:
Traceback (most recent call last):
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 230, in main
    retrieve_key(keypath)
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 149, in retrieve_key
    vendor = cpuid0()
  File "D:\Users\username\Documents\Documents\ebooks\epub drm removal\ineptkey.pyw", line 112, in cpuid0
    cpuid0__(buffer)
WindowsError: exception: access violation writing 0x0000000002447740
Thoughts?

When you say, "But I recommend to use pyhton x32 with pycrypto x32"

Do you mean install the 32 bit versions on a 64bit machine or that I should try find a 32bit machine to do this on?
Reply With Quote
  #25  
Old 03-20-2010, 01:43 PM
Stream Recorder
 
Posts: n/a
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Quote:
Originally Posted by foghat View Post
Do you mean install the 32 bit versions on a 64bit machine or that I should try find a 32bit machine to do this on?
32bit python with 32bit pycrypto was tested on Windows 7 64 bit. This combination should work just fine.
Reply With Quote
  #26  
Old 03-20-2010, 02:50 PM
foghat foghat is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
foghat is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Thanks,

Getting closer and closer...

So, I installed the 32 bit versions and now I can retrieve my key fine. I have my encrypted epub, which I can view in Adobe Digital Editions.

However, when I run ineptepub.pyw, I get the following error:

Code:
Error: list assignment index out of range
Any thoughts?
Reply With Quote
  #27  
Old 03-20-2010, 03:04 PM
foghat foghat is offline
Junior Member
 
Join Date: Mar 2010
Posts: 6
foghat is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


figured it out. I had to use version 2 of ineptepub.pyw.

Version 4 was giving me the error.
Reply With Quote
  #28  
Old 04-01-2010, 06:33 PM
lovebooks lovebooks is offline
Junior Member
 
Join Date: Mar 2010
Posts: 5
lovebooks is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


I had read through the thread and am still having problems.

I have:
-Windows 7
-Python 2.65 (read that v 3.01 wasn't working)
-pycrypto 2.01
-ineptkey 3
-ineptpub 2
- adobe digital edition 1.72 (couldn't find older version)

Thanks for any suggestions you may have
Reply With Quote
  #29  
Old 04-01-2010, 06:48 PM
lovebooks lovebooks is offline
Junior Member
 
Join Date: Mar 2010
Posts: 5
lovebooks is on a distinguished road
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Okay I downloaded ineptkey 4.3 and ineptpub 4 but now I get the following error message "error: list assignment index out of range"
Reply With Quote
  #30  
Old 04-02-2010, 12:03 AM
Stream Recorder
 
Posts: n/a
Default

Re: How to remove DRM from sony ebooks (BBeB and EPUB)


Quote:
Originally Posted by lovebooks View Post
I had read through the thread and am still having problems.

I have:
-Windows 7
-Python 2.65 (read that v 3.01 wasn't working)
-pycrypto 2.01
-ineptkey 3
-ineptpub 2
- adobe digital edition 1.72 (couldn't find older version)
Make sure to use Python x32, Pycrypto x32.

You should be able to download ADE 1.71 from
http://stream-recorder.com/forum/sho...93&postcount=3

Quote:
Originally Posted by lovebooks View Post
Okay I downloaded ineptkey 4.3 and ineptpub 4 but now I get the following error message "error: list assignment index out of range"
ineptepub v.4 does not work with ineptkey v.4 (mentioned by foghat above).

Try to use aineptepub.pyw, version 4.1 (with ineptkey v.4). It should work with both ADE 1.71 and ADE 1.72
Code:
http://pastebin.com/f4a7c338a
aineptepub.pyw removes protection from whole folders of EPUB eBooks (rather than a single EPUB file).

Alternatively you can use ineptepub.pyw v.2 with ineptkey v.4.
Reply With Quote
Reply Post New Thread
Tags: , , , , , , , , , , , , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:56 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons