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
269 stars 57 forks source link

sdk semi-manual installation #54

Open aryez91 opened 4 years ago

aryez91 commented 4 years ago

Hi guys, I didn't manage to install sdk as it was instructed. So I downloaded and extracted manually two files: commandlinetools-win-6609375_latest.zip into whatsdump-master\android-sdk\cmdline-tools

and platform-tools_r30.0.4-windows.zip into WhatsDump-master\android-sdk\platform-tools

and set appropriate environment paths for both folders.

It got me somewhat forward, but still couldn't proceed either to launching whatsdump (its says [ERROR] Cannot find WhatsDump AVD; install Android SDK and emulator packages with --install-sdk), and by running with the --install-sdk flag i get this:

[INFO] SDK tools directory already exists, skipping download & extraction...
[INFO] Updating SDK from manager...
Traceback (most recent call last):
  File "whatsdump.py", line 244, in <module>
    main()
  File "whatsdump.py", line 78, in main
    if not sdk.install():
  File "c:\Users\aryez\Downloads\WhatsDump-master\src\android_sdk.py", line 44, in install
    s0 = self._run_cmd_sdkmanager("--update", show=True)
  File "c:\Users\aryez\Downloads\WhatsDump-master\src\android_sdk.py", line 216, in _run_cmd_sdkmanager
    return self._run_cmd(CommandType.TOOLS_BIN, 'sdkmanager', args, wait, input, show)
  File "c:\Users\aryez\Downloads\WhatsDump-master\src\android_sdk.py", line 245, in _run_cmd
    wait, input, show)
  File "c:\Users\aryez\Downloads\WhatsDump-master\src\android_sdk.py", line 260, in _run_raw_cmd
    stderr=None if show else subprocess.PIPE)
  File "C:\Python27\lib\subprocess.py", line 710, in __init__
    errread, errwrite)
  File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
    startupinfo)
WindowsError: [Error 2] The system cannot find the file specified

Any ideas how to proceed?