whapa icon indicating copy to clipboard operation
whapa copied to clipboard

Error -3 while decompressing data: incorrect header check

Open SW33TSHOT opened this issue 3 years ago • 14 comments

Starting to decrypt... [e] An error has ocurred decrypting 'C:\Users\Hardik\Desktop\007\WhatsApp\Databases\msgstore-2021-07-23.1.db.crypt14' - Error -3 while decompressing data: incorrect header check [e] An error has ocurred decrypting 'C:\Users\Hardik\Desktop\007\WhatsApp\Databases\msgstore-2021-07-24.1.db.crypt14' - Error -3 while decompressing data: incorrect header check [e] An error has ocurred decrypting 'C:\Users\Hardik\Desktop\007\WhatsApp\Databases\msgstore.db.crypt14' - Error -3 while decompressing data: incorrect header check [i] Decryption completed #125

SW33TSHOT avatar Jul 25 '21 08:07 SW33TSHOT

@B16f00t ??

SW33TSHOT avatar Jul 28 '21 09:07 SW33TSHOT

You have a not valid key for that backup or you have a different offset #96, #113, #120

B16f00t avatar Jul 29 '21 17:07 B16f00t

i put valid key but every time same error occurred! please help me

is there any other salutation.

SW33TSHOT avatar Aug 01 '21 08:08 SW33TSHOT

Are you sure it is a valid key?

B16f00t avatar Aug 02 '21 16:08 B16f00t

i am 100% sure put valid key ! @B16f00t

SW33TSHOT avatar Aug 13 '21 05:08 SW33TSHOT

If you follow this thread #113, maybe @ElDavoo can solve your problem. Be careful when extracting the Key because if you are not root the key can change.

B16f00t avatar Aug 23 '21 08:08 B16f00t

I am trying to know if the key file is identical for both crypt12 and crypt14. If you install the latest version of WA and restore from old crypt12, the App will not convert the db to crypt14. The decryption works for old crpt12 db, but not for old crypt14 db. Are the key file different for each?!

khalidco avatar Aug 30 '21 13:08 khalidco

no.

ElDavoo avatar Aug 30 '21 13:08 ElDavoo

Can you elaborate? ☺ Is it possible to use the key file associated with crypt12 to decrpt a crypt14 db at all? I read somewhere that changing the offsets may work.

khalidco avatar Aug 30 '21 14:08 khalidco

the key is always the same, unless it changed for other reasons. you need to use recent versions of programs to have updated offsets

ElDavoo avatar Aug 30 '21 16:08 ElDavoo

I registered again using an emulator and pulled a different key file! The decryption process still fails.. I think I am using the last updated version of the script. Installing the pycrypto and pycrypto dome was failing due to vcvar...bat and was later fixed by getting an MSI version of the binary. However, it gives run errors for some odd reason. Regards..

khalidco avatar Sep 08 '21 14:09 khalidco

same error

[e] An error has ocurred decrypting '/home/mc/Desktop/msgstore.db.crypt14' -  Error -3 while decompressing data: incorrect header check


OS : Kali linux key and database are same

mrmc-mc avatar Dec 12 '21 18:12 mrmc-mc

Had the same problem, but decrypting worked with https://github.com/ElDavoo/WhatsApp-Crypt14-Decrypter/blob/master/decrypt14.py After comparing the offsets, I got whacipher.py working by changing the offset in line 79 to data = db_data[190:] (notice: 190 instead of 191) Hope this can help someone

Frischid avatar Feb 14 '22 10:02 Frischid

Basically in the database header you have the WhatsApp version, whose length often changes. Example: "2.21.24.22" => 11 bytes => offset=191 "2.22.3.77" => 10 bytes => offset=190 "2.22.5.7" => 9 bytes => offset=189

So yeah using a fixed offset won't work.

ElDavoo avatar Feb 14 '22 10:02 ElDavoo