mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 19:05:51 +03:00
[GH-ISSUE #147] Update the new crypt 14 offset! #134
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mrmc-mc on GitHub (Dec 12, 2021).
Original GitHub issue: https://github.com/B16f00t/whapa/issues/147
I think in the new version of whatsapp[my version: 2.21.23.23], encoding of key and database files has been changed.
As a result, the
offsetposition has also changed.I use latest version of repository for decrypt
.crypt14file (several times) and every time I got an error . I'm sure the files are correctError ;
@Eligio-Cazo commented on GitHub (Dec 17, 2021):
The encryption of crypt14 is not correct, I have it done in python in case you are interested.
@mrmc-mc commented on GitHub (Dec 17, 2021):
Yes, Sure. Please let us know how you did
@Eligio-Cazo commented on GitHub (Dec 17, 2021):
In def encrypt14
You need change
header = db_cript_data[0:191]
iv = db_cript_data[67:83]
and remove 'iv' in fh.write(header +iv+ aes.encrypt(zlib.compress(data)) + footer)
in def decryp14
only chage
header = db_cript_data[0:191]
iv = db_cript_data[67:83]
@mrmc-mc commented on GitHub (Dec 17, 2021):
in the current decrypt14 function :
header detached in the 191-byte positon
Where it should change according to you?
@B16f00t commented on GitHub (Dec 17, 2021):
If the scripts works, you can propose to make a pull request to fix the issue
@Eligio-Cazo commented on GitHub (Dec 18, 2021):
Changes must be made in whacipher.py file
The encrypt14 function is missing, the code can be copied from the decryp12 function and make the changes so that encrypt with crypt14 works as well
@mrmc-mc commented on GitHub (Dec 18, 2021):
The file I am trying to decrypt was created and encrypted by WhatsApp itself and taken from the database folder:
/sdcard/Whatsapp/Databases/msgstore.db.crypt14.If your code works properly And decrypts
.crypt14file correctly, please share it with us with more details@Eligio-Cazo commented on GitHub (Dec 19, 2021):
I have posted a version to encrypt and decrypt crypt14, it is a compilation of several versions that I found to encrypt and decrypt crypt14. In May 2021 the offset of the file was changed.
The comments on the file are in Spanish, sorry.
https://github.com/Eligio-Cazo/Desencriptar_crypt14
@Mrakobes666 commented on GitHub (Feb 24, 2022):
I replaced a piece of code in the file "whacipher.py" but still
Error -3 while decompressing data: incorrect header check
@Baneeishaque commented on GitHub (Apr 28, 2022):
The issue remains, please reopen.