MarcoG3 / WhatsDump

Extract WhatsApp private key from any non-rooted Android device (Android 7+ supported)
https://plainsec.org
GNU Lesser General Public License v3.0
268 stars 58 forks source link

Updated whatsApp & Android-SDK issues #56

Closed YuvrajRaghuvanshiS closed 2 years ago

YuvrajRaghuvanshiS commented 3 years ago

Updated Whatsapp with link file and new apk files which works. android_sdk.py modified to solve many issues regarding downloading of SDK.

Solved : #51 #47 #41 #40 #35 and many more.

ShadyMedic commented 3 years ago

After I downloaded your master branch, I got much further than with the base version, but it still won't let me install the SDK completely.

There is some problem with accepting licences, I don't have a chance to type y and the licences probably reject themselves, one by one. In the end, I get:

[ERROR] Could not install packages from SDK Manager
[ERROR] Failed to install Android SDK

So I tried running the same command again. The output looked similar, but it took a bit longer. To the end, there was a prompt:

Do you wish to create a custom hardware profile [no]

but I couldn't type anything. After a minute or two, it just wrote

Android AVD successfully installed.

I hope it will work now. But is this the expected behaviour?

YuvrajRaghuvanshiS commented 3 years ago

Allow me some time to look into that.

ShadyMedic commented 3 years ago

Update: It works (the installation of SVK)! You're a legend. Somebody (@MarcoG3), please merge this.

YuvrajRaghuvanshiS commented 3 years ago

Thanks. Can you comment what did you miss the first time? Most of the times others benefit from it.

ShadyMedic commented 3 years ago

I don't think I really missed anything. I just had to run the same command twice and then the emulator was installed successfully.

guanana commented 3 years ago

Thanks for the pull, I have still a problem with your code. When running on MacOS High Sierra

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/android/sdklib/tool/sdkmanager/SdkManagerCli : Unsupported major.minor version 52.0

*EDIT: After some debug I found my JAVA_HOME wasn't set properly. Run brew install java and echo 'export PATH="/usr/local/opt/openjdk/bin:$PATH"' >> /Users/<USER>/.bash_profile source /Users/<USER>/.bash_profile

Now when running the command I'm not getting that error anymore but getting this instead Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

*EDIT: After some more debugging it looks like it only works with specific Java versions, so I managed to make it work with

brew tap homebrew/cask-versions
brew install homebrew/cask-versions/adoptopenjdk8
export JAVA_HOME=/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home

And run the command twice (I think first time just doesn't accept all the licenses and then it requires a second run once the licenses are accepted)

YuvrajRaghuvanshiS commented 3 years ago

Hi @guanana , looks like you fixed it. I have not worked with this for a while that's why these issues are still here.

YuvrajRaghuvanshiS commented 3 years ago

Hey whoever reading this message. I am no longer maintaining/ working on this fork however "अतिथिदेवो भव:" : Guests are equivalent to God. And I will not leave you empty handed. Here is what you can try which I wrote. https://github.com/YuvrajRaghuvanshiS/WhatsApp-Key-Database-Extractor