giacomoferretti/whatsapp-backup-downloader-decryptor
About
A tool to download encrypted WhatsApp backups from Google Drive and decrypt them locally.
Systems & InfrastructureMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- +4
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalWhatsApp Backup Google Drive Downloader Decryptor
Prerequisites
- End-to-end encrypted backups on Google Drive
- 64-digit encryption key (PASSWORD IS NOT SUPPORTED)
Usage
Using PyPi
Install the
wabddpackagepip install wabddor by using
pipxpipx install wabddGet token (change with your Google account email used in WhatsApp backup settings)
wabdd token [email protected]- If you need additional information, check the guide
Download backup
wabdd download --token-file /tokens/YOUR_GOOGLE_EMAIL_ADDRESS_token.txtor with filters (e.g. excluding videos)
wabdd download --exclude "Media/WhatsApp Video/*" --token-file /tokens/YOUR_GOOGLE_EMAIL_ADDRESS_token.txtDecrypt backup (only if end-to-end encryption is enabled)
wabdd decrypt --key-file keys/PHONE_NUMBER_decryption.key dump backups/PHONE_NUMBER_DATE
Getting the 64-digit encryption key
Creating a new backup
Under
Settings > Chats > Chat backup > End-to-end encrypted backupTap on
Turn onChoose
Use 64-digit encryption key instead
Generate your 64-digit key
Copy the value into a text file (e.g. in this case
bf902e3b590af0ba781b75134c08026614ef6af12b754ee0139ebbd25f58481c)
Using root access
Copy the
/data/data/com.whatsapp/encrypted_backup.keyto your pcRun the following script
with open("encrypted_backup.key", "rb") as f: print(f.read()[-32:].hex())Copy paste the output string into a new file
Getting the oauth_token
Login using the Google account associated in the WhatsApp backup settings.
You will get the following screen
Now click on "I agree", the form will load indefinitely.
Open the Developer Tools using
F12,CTRL+SHIFT+Ior by right-cliking the page > InspectNow go to the Application tab, under Cookies select
https://accounts.google.comCopy the value of the
oauth_tokencookie
Frequently Asked Question
Does this tool support normal backups (.crypt14)?
No, this tool only supports end-to-end encrypted backups .crypt15. Follow #18 for more.
I made the backup using a password instead of the 64-digit encryption key. Can I use this tool?
No, this tool only supports end-to-end encrypted backups that use the 64-digit encryption key. Follow #14 for more.
💖 Support My Work
If you find my projects useful, consider supporting me:
Your support helps me continue improving these tools and creating new ones. Thank you! 🙌
If you can't donate, I also appreciate stars ⭐ on my repositories!
Explore related projects
Loading…