From 691bfe31c85e34e0187bfc7f5c2c3ffc31ec5832 Mon Sep 17 00:00:00 2001 From: Knugi <24708955+KnugiHK@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:51:00 +0000 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4e906db..bfddd88 100644 --- a/README.md +++ b/README.md @@ -58,16 +58,21 @@ To support Crypt15 backup, install javaobj-py3 if it is not installed pip install javaobj-py3 # Or pip install whatsapp-chat-exporter["crypt15"] # install along with this software ``` -Place the decryption key file (encrypted_backup.key) and the encrypted WhatsApp Backup (msgstore.db.crypt15) in the working directory. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly. +Place the encrypted WhatsApp Backup (msgstore.db.crypt15) in the working directory. If you also want the name of your contacts, get the contact database, which is called wa.db. And copy the WhatsApp (Media) directory from your phone directly. +If you do not have the 32 bytes hex key (64 hexdigits), place the decryption key file (encrypted_backup.key) extracted from Android. If you gave the 32 bytes hex key, simply put the key in the shell. -And now, you should have something like this in the working directory. +Now, you should have something like this in the working directory (if you do not have 32 bytes hex key). ![Android folder structure with WhatsApp Crypt15 Backup](imgs/android_structure_backup_crypt15.png) -#### Extracting -Simply invoke the following command from shell. +##### Extracting +If you do not have 32 bytes hex key but have the key file available, simply invoke the following command from shell. ```sh wtsexporter -a -k encrypted_backup.key -b msgstore.db.crypt15 ``` +If you have the 32 bytes hex key, simply put the hex key in the -k option and invoke the command from shell like this: +```sh +wtsexporter -a -k 432435053b5204b08e5c3823423399aa30ff061435ab89bc4e6713969cdaa5a8 -b msgstore.db.crypt15 +``` ## Working with iPhone Do an iPhone Backup with iTunes first.