gkpln3 / evrit-to-kindle

Decrypts encrypted books from Evrit to allow sending them to Kindle devices, Please don't use this to pirate books. העברה של ספרים מאפליקציית עברית לקינדל.
GNU General Public License v3.0
24 stars 1 forks source link

Evrit Book Decryptor

Decrypts encrypted books from Evrit to allow sending them to Kindle devices.

Don't use this to pirate books.

Update

This project doesn't work ATM, seems like they've changed the encryption method to use GCM instead of CBC. Also they've added root detection, which is kind of a bummer because it makes the app unusable on some phones. So I've updated the code with a root detection bypass, but didn't make it to update the decryptor itself (it also seems like evrit is not very happy with this project so I will not be updating it anytime soon).

How to use

Have fun!

Also, if you like a book, buy it, don't be a pirate.

What to do if it breaks

Obfuscation is probably different.

Evrit stores its EPUB files in the /data/data/com.yit.evritViewer/files/Books folder, each epub file (which is basically a zip) holds a couple of xhtml files (one for each chapter), evrit encrypts those files (inside the zip) and stores them under the same name, on startup it decrypts them back and uses the decrypted file. To find the decryption method we do the following:

Screen Shot 2022-02-17 at 1 08 35 Screen Shot 2022-02-18 at 22 18 18

You are also welcome to open a pull request.