View Single Post
Old 07-25-2008, 02:50 AM   #117
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,089
Karma: 315558332
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
Updated Applescript

Hi Everyone,

I thought I'd removed my PID from the AppleScript, but I'd forgotten that it was on two places - once for drag&drop of files, and once for running the script on its own.

I've uploaded a new version of the applescript to my original message, number 103.

To decode DRMed Mobipocket files, you must have one of the PIDs for which the file is encrypted.

All Mobipocket Reader programs have a PID, usually visible in an "About" box, and consisting of ten characters and digits.

When buying a DRMed Mobipocket book, you have to supply the PID of the device on which you're going to read it. You can supply up to four separated PIDs for the same encrypted book.

To use the Python Mobipocket decoder, you need to know once of the PIDs used when the DRMed file was downloaded. The Python script does not break the encryption from a standing start, it just uses the known key to do the decoding.

I'm on Mac OS X 10.5.4 with the XCode 3.0 developer tools installed. I don't recall having to do anything in particular to get python running correctly.

So far I haven't come across a DRMed Mobipocket eBook that my modified MobiDeDRM 0.02 script won't handle. See

https://www.mobileread.com/forums/sho...4&postcount=76

for the modifications I use.

If anyone's had success with the Applescript it would be good to hear from them.

I do have another AppleScript for use with encrypted eReader files, using the eReader2html python script that usually accompanies the MobiDeDRM script. If anyone's interested, I'd be happy to upload that in the appropriate forum (well, without the eReader2html python script, of course.)

Paul
pdurrant is offline   Reply With Quote