YuvrajRaghuvanshiS / WhatsApp-Key-Database-Extractor

The most advanced and complete solution for extracting WhatsApp key/DB from package directory (/data/data/com.whatsapp) without root access.
MIT License
443 stars 57 forks source link

WhatsApp V2.11.431 apk unavaliable #88

Closed albertcd closed 2 years ago

albertcd commented 2 years ago

Describe the bug After try download WhatsApp 2.11.431 python break script execution without errors. The helpers folder haven't any APK file.

To Reproduce Steps to reproduce the behavior:

  1. run 'python wa_kdbe.py'
  2. Enter
  3. Continue : y
  4. Enter

Expected behavior Continue execution

Screenshots

cmd_2022-03-09_19-41-23

Terminal output or log file


====== Logging starts here. ====== 
File: wa_kdbe.py
Date: Wednesday 09/03/2022, 19:29:15
If you see any password here then do let know @github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor

[Wednesday 09/03/2022, 19:29:15] >>> I am in device_serial_id.init(mode=USB, tcp_ip=, tcp_port=)
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.main()
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.check_bin()
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.show_banner()

================================================================================
========                Current release date: 08/03/2022                ========
========                                                                ========
========  db   d8b   db  .d8b.         db   dD d8888b. d8888b. d88888b  ========
========  88   I8I   88 d8' `8b        88 ,8P' 88  `8D 88  `8D 88'      ========
========  88   I8I   88 88ooo88        88,8P   88   88 88oooY' 88ooooo  ========
========  Y8   I8I   88 88~~~88 C8888D 88`8b   88   88 88~~~b. 88~~~~~  ========
========  `8b d8'8b d8' 88   88        88 `88. 88  .8D 88   8D 88.      ========
========   `8b8' `8d8'  YP   YP        YP   YD Y8888D' Y8888P' Y88888P  ========
========                                                                ========
================================================================================

============ WhatsApp Key / Database Extrator for non-rooted Android ===========

================================================================================
===                                                                          ===
===  xxxxx  PLEASE TAKE WHATSAPP CHAT BACKUP BEFORE GETTING STARTED.  xxxxx  ===
===                                                                          ===
===     For that go to "WhatsApp settings \u2192 Chat Settings \u2192 Chat Backup"     ===
===              here take a local backup. Prepare for Worst.                ===
===                                                                          ===
===  Also if you see a folder "Android/media/com.whatsapp" copy it somewhere ===
===   safe. New versions of WhatsApp are saving data here INCLUDING IMAGES   ===
===       AND VIDEOS. I try to save it while uninstalling WhatsApp but       ===
===                        YOU CAN NEVER BE TOO SAFE.                        ===
===                                                                          ===
===     This script can extract your WhatsApp msgstore.db (non crypt12,      ===
===   un-encrypted file) and your "key" file from "/data/data/com.whatsapp"  ===
===  directory in Android 4.0+ device without root access. However you need  ===
===   to have JAVA installed on your system in order to "view the extract".  ===
===  If you don't have JAVA installed then you can "view extract" later by   ===
===   running "view_extract.py". The idea is to install a "Legacy WhatsApp"  ===
===       temporarily on your device in order to get the android backup      ===
===    permission. You should not lose any data and your current WhatsApp    ===
===   version will be installed after this process so don't panic and don't  ===
=== stop this script while it's working. However if something fails you can  ===
===    run "restore_whatsapp.py" and reinstall current WhatsApp or simply    ===
===                    update that from Google Play Store.                   ===
===                                                                          ===
===                      Script by: Yuvraj Raghuvanshi                       ===
===                      Github.com/YuvrajRaghuvanshiS                       ===
================================================================================

[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.check_java()
[Wednesday 09/03/2022, 19:29:15] Found Java v1.8.0_281 installed on system. Continuing...

[Wednesday 09/03/2022, 19:29:15] Arguments passed: Namespace(allow_reboot=False, tcp_ip=None, tcp_port='5555', scrcpy=False, tar_only=False)
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.get_sys_info()
[Wednesday 09/03/2022, 19:29:15] System Info: {
  "Architecture": "AMD64",
  "Hostname": "TEST-PC",
  "Platform": "Windows",
  "Platform Release": "10",
  "Platform Version": "10.0.19044",
  "Processor": "AMD64 Family 23 Model 113 Stepping 0, AuthenticAMD",
  "RAM": "32 GB",
  "Python": [
    "tags/v3.9.7:1016ef3",
    "Aug 30 2021 20:19:38"
  ]
}
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.run_scrcpy(_is_scrcpy=False)
[Wednesday 09/03/2022, 19:29:15] Turned off wifi and mobile data...
[Wednesday 09/03/2022, 19:29:15] Please read above instructions carefully \u2191 . Continue? (default y): y

[Wednesday 09/03/2022, 19:29:15] If you haven't already, it is adviced to take a WhatsApp chat backup by going to "WhatsApp settings \u2192 Chat Settings \u2192 Chat Backup". Hit "Enter" key to continue.
[Wednesday 09/03/2022, 19:29:15] >>> I am in wa_kdbe.usb_mode()
[Wednesday 09/03/2022, 19:29:15] >>> I am in handler.handler(adb=bin\adb.exe -s LGM1608f6fb81c)
[Wednesday 09/03/2022, 19:29:15] Connected to LG-M160

[Wednesday 09/03/2022, 19:29:15] >>> I am in handler.after_connect(adb=bin\adb.exe -s LGM1608f6fb81c)
Starting new HTTPS connection (1): web.archive.org:443
https://web.archive.org:443 "HEAD /web/20141111030303if_/http://www.whatsapp.com/android/current/WhatsApp.apk HTTP/1.1" 200 0
[Wednesday 09/03/2022, 19:29:15] WhatsApp v2.19.150 installed on device
[Wednesday 09/03/2022, 19:29:15] Downloading legacy WhatsApp V2.11.431 to "helpers" folder
YuvrajRaghuvanshiS commented 2 years ago

I see request has status code 200 (OK) but script never called download function. I will check that after some time, in the meantime see that url at the end of log, download that and save that to helpers/LegacyWhatsApp.apk

I made a mistake in prior commits, it should be fixed in the following commit, try and do let me know.

albertcd commented 2 years ago

It works! Thanks u

YuvrajRaghuvanshiS commented 2 years ago

Perfect!