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

How to remove DRM from sony ebooks (BBeB and EPUB) with ineptkey.pyw, inepepub.pyw

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

Stream Ripper 11-21-2010 11:40 PM

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


 
Quote:

Originally Posted by or-reader-2011 (Post 23139)
Never mind, it was a corrupt zip file. I didn't see my exact error in the thread, but after digging around I tried to re-zip the file and it worked without a problem.

Thanks for your response and I'm glad you got it working! :)

baxna 11-26-2010 02:38 AM

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


 
Hi there, this doesn't seem to be working for me... maybe you can tell me what I'm doing wrong?

On my WinXP laptop, I installed the following:
  1. Adobe Digital Editions
  2. python-2.7.msi
  3. pycrypto-2.1.0.win32-py2.7.exe
  4. ineptkey.pyw (tried version 4.3 and 5)
  5. ineptepub.pyw (version 4.1)

Then I copied the 2 pyw files into the folder where my Sony Reader books are located. I double-clicked on the ineptkey.pyw file... and absolutely nothing happened. My mouse cursor changed to an hourglass for a split-second, but that's it. I don't see any adeptkey.der anywhere??

Thanks.

Stream Recorder 11-26-2010 10:13 AM

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


 
Quote:

Originally Posted by baxna (Post 23217)
I double-clicked on the ineptkey.pyw file... and absolutely nothing happened. My mouse cursor changed to an hourglass for a split-second, but that's it. I don't see any adeptkey.der anywhere??

Make sure
1. to download python scripts, not copy-paste them
2. to rename downloaded .TXT files into .PYW files.

If this doesn't help, then open Python, then go to File -> Open and open your .PYW script.

baxna 11-26-2010 05:12 PM

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


 
Thanks for the suggestions. I tried downloading the scripts again, and made sure the file extensions are showing so I can see what type of file it really is. Also, clicking on the Python program does nothing... should an interface window open or something happen? Also, I can click on the Python command line app and that opens, could you tell me how to accomplish all this with the command line?

Stream Recorder 11-26-2010 09:55 PM

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


 
baxna, could you please right click on ineptkey.pyw and open the file properties and make a screenshot of them?

Make sure again that you use Python x32, not x64.

Also please try the following:
  1. Open Command Prompt(run cmd.exe).
  2. Change the directory to where you saved the pyw scripts
    i.e.
    Code:

    cd c:/undrm_tools/
  3. Run ineptkey.pyw by invoking python first as follows:
    Code:

    python ineptkey.pyw
    If that does not work, then try running it with pythonw as follows:
    Code:

    pythonw ineptkey.pyw

After running your scripts by invoking python or pythonw, you should get at least an error message that can be used to find out what is going wrong.

Stream Recorder 11-26-2010 11:24 PM

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


 
Quote:

Originally Posted by KBB (Post 21919)
I just got a new computer. Does this work on a Mac?

Try to use the following:
DeDRM AppleScript for Mac OS X 10.5, 10.6

baxna 11-26-2010 11:55 PM

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


 
I think I've got what you're looking for:



Code:

python ineptkey.pyw
File "ineptkey.pyw", line 279 with open(keypath, 'wb') as f:
SyntaxError: invalid syntax

Any thoughts?

klist 11-27-2010 01:40 AM

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


 
I have a problem removing a drm of an epub.

I have python 2.7 installed and pycrpypto for 2.7.

Then i take ineptkey version 4.3 and ineptepub 5.2 from pastie.

It makes the key.der file but when i open the pastie.pyw (ineptepub) and click on "decrypt" i get the error: Problem decrypting Session Key

What is my fault?
I have win 7 32 bit

Thanks a lot

Stream Recorder 12-02-2010 11:33 AM

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


 
Quote:

Originally Posted by baxna (Post 23241)
Code:

python ineptkey.pyw
File "ineptkey.pyw", line 279 with open(keypath, 'wb') as f:
SyntaxError: invalid syntax


Python is white space sensitive. Make sure you download the ineptkey.pyw, not copy-paste it.

Stream Recorder 12-02-2010 11:37 AM

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


 
Quote:

Originally Posted by klist (Post 23242)
I have a problem removing a drm of an epub.

I have python 2.7 installed and pycrpypto for 2.7.

Then i take ineptkey version 4.3 and ineptepub 5.2 from pastie.

It makes the key.der file but when i open the pastie.pyw (ineptepub) and click on "decrypt" i get the error: Problem decrypting Session Key

What is my fault?
I have win 7 32 bit

ineptepub.pyw error: Problem decrypting session key


All times are GMT -6. The time now is 12:35 AM.