View Single Post
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