ElDavoo / wa-crypt-tools

Manage WhatsApp .crypt12, .crypt14 and .crypt15 files.
GNU General Public License v3.0
636 stars 82 forks source link

crypt13 decryption support #11

Open ElDavoo opened 2 years ago

ElDavoo commented 2 years ago

Why not?

In case of crypt13 I don't know if the program already works, tests are required. In case of crypt12, the protobuf message needs to be decoded.

Sabbir6967 commented 2 years ago

Hi, I need to decrypt my crypt12 backup file. I tried using whatsapp viewer. It says "Decryption failed. Error during unzipping (inflate)". I have root access to the phone but it seems the key is wrong. Can you help me?

ElDavoo commented 2 years ago

Hi, as stated in the homepage, crypt12 works but is not supported, meaning if it doesn't work I'm not going to help you. As written in the readme, try using this cmdlins: python ./decrypt14_15.py ./key ./msgstore.db.crypt12 ./msgstore.db -np -ivo 51 -do 67

ElDavoo commented 1 year ago

Crypt12 support implemented in 0ff580e . It's still needed to test with non-msgstore crypt12 backups (as I don't have those) and crypt13 (that are very rare).

ElDavoo commented 1 year ago

Some tests files (key + encrypted files) are needed, otherwise I can't work out the format.
Did it even exist at all?