Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2008, 06:52 AM   #166
orwell2k
Addict
orwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheeseorwell2k can extract oil from cheese
 
orwell2k's Avatar
 
Posts: 357
Karma: 1112
Join Date: Oct 2008
Location: Euroland
Device: PocketBook 360°, BeBook (Hanlin V3), iRex DR1000S, iPad
Quote:
Originally Posted by pdurrant View Post
I've uploaded a new version of my Applescript that can cope with $ in PIDs, and yes, it does that by enclosing the PID in single quotes.

It's worth a download even if your PIDs don't have $ in them, as it also now reports errors returned from the python script, and the readme has the new fix instructions for the 0.02 version of the MobiDeDRM.py script.

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


Paul
You could also use the original script and place a backslash before the $ symbol - this is the standard Unix (Mac, Linux, etc.) way of cancelling the special meaning of the character immediately following the backslash.

So, entering the PID as 12345\$67 (or whatever) with the normal script will interpret that PID string as the intended 12345$67
orwell2k is offline   Reply With Quote
Old 11-18-2008, 07:38 AM   #167
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,029
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by AZed View Post
Just to toot my own horn a bit, I'd point out the EBook::Tools unpacker keeps even more metadata than mobi2oeb, and as of v0.3.0 (just uploaded to CPAN, not yet indexed), supports HUFF/CDIC as well.
Do you have a direct link please?
JSWolf is offline   Reply With Quote
Old 11-18-2008, 08:00 AM   #168
taltman711
Member
taltman711 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Mar 2008
Device: Kindle
Quote:
Originally Posted by JSWolf View Post
Do you have a direct link please?
Ebook Tools 3.0

Tim
taltman711 is offline   Reply With Quote
Old 11-18-2008, 09:07 AM   #169
AZed
Connoisseur
AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.
 
Posts: 57
Karma: 307
Join Date: Oct 2008
Device: PalmOS PDA
Quote:
Originally Posted by taltman711 View Post
Technically, http://search.cpan.org/dist/EBook-Tools/ is a better link since it will always point to the most recent version, but yes, thank you, that works too.

Update: and that link is going to be important, because I just spotted a major problem in 0.3.0 -- the MSReader.pm file didn't get uploaded, so the convertlit support is missing. Fixed in 0.3.1.

Also, the main thread on MobileRead where I post updates is here:

https://www.mobileread.com/forums/showthread.php?t=31142

Last edited by AZed; 11-18-2008 at 02:27 PM.
AZed is offline   Reply With Quote
Old 11-18-2008, 10:44 PM   #170
thanhtrang
Junior Member
thanhtrang began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: Sony Reader PRS - 505
How about mobipocket files with content encrypted, do we have a solution ?
thanhtrang is offline   Reply With Quote
Old 11-18-2008, 11:06 PM   #171
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by thanhtrang View Post
How about mobipocket files with content encrypted, do we have a solution ?
A solution to what? removing the DRM? If so, did you read this thread?

BOb
pilotbob is offline   Reply With Quote
Old 11-19-2008, 01:05 AM   #172
AZed
Connoisseur
AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.
 
Posts: 57
Karma: 307
Join Date: Oct 2008
Device: PalmOS PDA
Quote:
Originally Posted by thanhtrang View Post
How about mobipocket files with content encrypted, do we have a solution ?
If you mean one-command unpacking of DRM-protected files, no nothing supports that yet (though it would be fairly trivial to write a plugin for EBook::Tools that would do it, I wouldn't be able to distribute it).

On the other hand, it's not really that much more work to downconvert and then unpack the downconverted file. If you stick a copy of MobiDeDrm into the EBook::Tools configuration directory and then add your PIDs to the configuration file, it'll even just work via "ebook downconvert" followed by "ebook unpack".
AZed is offline   Reply With Quote
Old 11-19-2008, 01:38 AM   #173
thanhtrang
Junior Member
thanhtrang began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: Sony Reader PRS - 505
Quote:
Originally Posted by pilotbob View Post
A solution to what? removing the DRM? If so, did you read this thread?

BOb
Yes, i had already read this thread.

I know the solution to remove DRM in PID encrypted mobipocket files (in case we know PID). But, i do not know how to deal with content encrypted files which are only read in MobiReader or devices support prc officially. When i open them in calibre and convert them, a message " It is DRMed book. You must first remove the DRM..."displayed. I guess content encrypted method using a default PID that mobireader knows and it can open, but we really do not know "default" PID.

Do i make it clear ?

Last edited by thanhtrang; 11-19-2008 at 01:48 AM.
thanhtrang is offline   Reply With Quote
Old 11-19-2008, 02:11 AM   #174
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Quote:
Originally Posted by thanhtrang View Post
But, i do not know how to deal with content encrypted files
From Security/Encryption Options:
Quote:
* No encryption: the content of your ebook is not encrypted. It can be opened in the Mobipocket Reader by any user.
* Content Encryption: the content of your ebook is encrypted. This means that the source content does not appear as clear text and cannot be displayed or copied by a third-party software. It can however be opened in the Mobipocket Reader by any user.
* Content Encryption with password: the content is both encrypted and password-protected. Specify a password in the input field. The user will be requested to enter this password in order to open the ebook in the Mobipocket Reader.
* Content Encryption with DRM (Digital Rights Management): the content is encrypted for digital rights management. Such an eBook has to be retargeted with PIDs in order to be legible in the Mobipocket Reader.
I have never seen a "Content Encryption" MOBI so far as I know. I have not come across it on the MobiPocket Forums either, but Encryption strength in Mobipocket Creator 4.2 says:
Quote:
Whether you choose the password or DRM encryption, both methods use the same algorithms but with subtle changes.
However, mobidedrm currently only handles the DRM level of encryption.
wallcraft is offline   Reply With Quote
Old 11-19-2008, 03:02 AM   #175
thanhtrang
Junior Member
thanhtrang began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: Sony Reader PRS - 505
Quote:
Content Encryption: the content of your ebook is encrypted. This means that the source content does not appear as clear text and cannot be displayed or copied by a third-party software. It can however be opened in the Mobipocket Reader by any user
Exactly what i want to say.

Quote:
I have never seen a "Content Encryption" MOBI so far as I know
I upload a "content encrypted" file. Do not care about languages, it is written in Vietnamese.

To know what kind of content encryption in a prc file, please open it in Mobireader, select propertise and summary tab, then find encryption label. You will see Content Encrypted (if Content Encryption with DRM it will be PID Encrypted).

I see a lot of content encrypted files which are only opened in Mobireader, and i am so surpprise that you never see it.

Thus, the question: "how to open these content encrypted files in another third-party software". In my case, i need to open them in calibre to convert them into lrf and put them in my Sony Readẻ
Attached Files
File Type: prc Kiep sau - Marc Levy.prc (222.5 KB, 558 views)

Last edited by thanhtrang; 11-19-2008 at 03:09 AM.
thanhtrang is offline   Reply With Quote
Old 11-19-2008, 05:04 AM   #176
igorsk
Wizard
igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.igorsk ought to be getting tired of karma fortunes by now.
 
Posts: 3,442
Karma: 300001
Join Date: Sep 2006
Location: Belgium
Device: PRS-500/505/700, Kindle, Cybook Gen3, Words Gear
To decrypt such files, do the following changes in mobidedrm.py:

Code:
-temp_key = PC1(keyvec1, pid, False)
+temp_key = keyvec1
-if verification == ver and cksum == temp_key_sum and (flags & 0x1F) == 1:
+if verification == ver and cksum == temp_key_sum:
It can probably be made nicer but I guess you could keep two copies of the script.
igorsk is offline   Reply With Quote
Old 11-19-2008, 11:20 AM   #177
thanhtrang
Junior Member
thanhtrang began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: Sony Reader PRS - 505
Quote:
Originally Posted by igorsk View Post
To decrypt such files, do the following changes in mobidedrm.py:

Code:
-temp_key = PC1(keyvec1, pid, False)
+temp_key = keyvec1
-if verification == ver and cksum == temp_key_sum and (flags & 0x1F) == 1:
+if verification == ver and cksum == temp_key_sum:
It can probably be made nicer but I guess you could keep two copies of the script.
thank you! it seem work well.

Last edited by thanhtrang; 11-19-2008 at 11:29 AM.
thanhtrang is offline   Reply With Quote
Old 11-19-2008, 12:07 PM   #178
AZed
Connoisseur
AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.AZed has a complete set of Star Wars action figures.
 
Posts: 57
Karma: 307
Join Date: Oct 2008
Device: PalmOS PDA
Quote:
Originally Posted by thanhtrang View Post
I see a lot of content encrypted files which are only opened in Mobireader, and i am so surpprise that you never see it.
Could you point me to a source of these, please? I'd be interested in looking at the structure.
AZed is offline   Reply With Quote
Old 11-19-2008, 12:24 PM   #179
thanhtrang
Junior Member
thanhtrang began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Oct 2008
Device: Sony Reader PRS - 505
Quote:
Originally Posted by AZed View Post
Could you point me to a source of these, please? I'd be interested in looking at the structure.
in my previous post, i attached a content encrypted file.

Thank igorsk again for his new codes. I modified mobidedrm.py and it works well.
thanhtrang is offline   Reply With Quote
Old 11-28-2008, 02:47 PM   #180
DixieGal
Hi There!
DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.DixieGal ought to be getting tired of karma fortunes by now.
 
DixieGal's Avatar
 
Posts: 7,473
Karma: 2930523
Join Date: Feb 2008
Location: Ft Lauderdale
Device: iPad
FRAK!

How in bloody H3LL do I do this?

A couple of you have tried to teach me basics, but it just won't click in my stupid brain!!!!

I have python, mobidedrm, and someone who is trying to help sent me a secure book and a PID to practice with.


1. I put the book file into the folder with mobidedrm.
2. I open the python command prompt from the "start" menu at bottom of screen.
3. I type: mobidedrm.py booktitle.prc clearbooktitle.prc PID and "enter"
4. Invalid syntax.

ARRRRRGH!!! Please please help!!
DixieGal is offline   Reply With Quote
Reply

Tags
conversion, drm, formatting, mobipocket


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Epub/Mobipocket creation tool: Jutoh Julian Smart ePub 78 03-28-2014 07:28 AM
eReader Decoder Tool wallcraft Workshop 177 09-27-2009 08:46 PM
Secure Mobipocket Decoder ebookfab Kindle Formats 3 12-09-2008 08:50 PM
Secure Mobipocket Decoder v0.3 Aenea Kindle Formats 74 07-10-2008 09:57 AM
Secure Mobipocket Decoder is no more... Aenea Kindle Formats 26 04-12-2008 09:53 AM


All times are GMT -4. The time now is 06:15 PM.


MobileRead.com is a privately owned, operated and funded community.