Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-sync problem Unable to locate google drive file map for: com.whatsapp #1

Closed
wootw0rm opened this issue May 4, 2018 · 29 comments
Closed

Comments

@wootw0rm
Copy link

wootw0rm commented May 4, 2018

i have notify
whagdext.py -sync
Unable to locate google drive file map for: com.whatsapp

@B16f00t
Copy link
Owner

B16f00t commented May 4, 2018

Make sure you have typed the phone number associated with the whatsapp account in the celnumber field inside the settings.cfg file.
The number can not contain 00 or +, enter the country code and your phone number.

@wootw0rm
Copy link
Author

wootw0rm commented May 5, 2018

i have other error:

root@kali:~/Tools/whapa# python3 ./whagdext.py -sync
Traceback (most recent call last):
File "./whagdext.py", line 277, in
main()
File "./whagdext.py", line 261, in main
runMain('sync', 'all', 0)
File "./whagdext.py", line 208, in runMain
drives = gDriveFileMap()
File "./whagdext.py", line 76, in gDriveFileMap
for result in jres['items']:
KeyError: 'items'

@B16f00t
Copy link
Owner

B16f00t commented May 5, 2018

  1. Disable 2FA in your Google Account
  2. Download the latest version of whagdext.py
  3. Install the requirements
  4. Configure:
    Edit only the values of the./cfg/settings.cfg file
    [auth]
    gmail = alias@gmail.com
    passw = yourpassword
    devid = Device ID (optional, if specified get more information)
    celnumbr = BackupPhoneNumber (ex. 3466666666666, no + or 00)
  5. Use on a terminal: python3 whagdext.py -list.
    If you request it, log in to your browser and then click here, https://accounts.google.com/DisplayUnlockCaptcha.
  6. If it lists all the files in the account then try the '-sync' flag.
  7. Try another account if it's possible to see if the error continues.

@wootw0rm
Copy link
Author

wootw0rm commented May 9, 2018

root@kali:~/Tools/whapa# python3 ./whagdext.py -sync
Traceback (most recent call last):
File "./whagdext.py", line 278, in
distutils.dir_util.mkpath("./logs")
NameError: name 'distutils' is not defined

import distutils
from distutils import dir_util

python3 ./whagdext.py -list
Unable to locate google drive file map for: com.whatsapp

python3 ./whagdext.py -sync
Unable to locate google drive file map for: com.whatsapp

@B16f00t
Copy link
Owner

B16f00t commented May 9, 2018

You must update the last version or create 'logs' directory.
Run: python3 whagdext.py -list
I have just test with 2 accounts and it works for me, make sure you have your account, password and phone set in the settings.cfg file, in addition to having a copy made on your google drive.

@B16f00t
Copy link
Owner

B16f00t commented May 21, 2018

I have released a new tool, whagodri.py

@B16f00t B16f00t closed this as completed May 21, 2018
@svsagar85
Copy link

  1. Disable 2FA in your Google Account
  2. Download the latest version of whagdext.py
  3. Install the requirements
  4. Configure:
    Edit only the values of the./cfg/settings.cfg file
    [auth]
    gmail = alias@gmail.com
    passw = yourpassword
    devid = Device ID (optional, if specified get more information)
    celnumbr = BackupPhoneNumber (ex. 3466666666666, no + or 00)
  5. Use on a terminal: python3 whagdext.py -list.
    If you request it, log in to your browser and then click here, https://accounts.google.com/DisplayUnlockCaptcha.
  6. If it lists all the files in the account then try the '-sync' flag.
  7. Try another account if it's possible to see if the error continues.

@B16f00t thank you!!...this worked for me!

@prashantvermacs18
Copy link

i have same problem ..pls help

@hndrk92
Copy link

hndrk92 commented Oct 5, 2019

Hey, here ist the solution for this problem. Use this tool for the Download and it works, I tested it yesterday. Pls look first into the readme for questions!

https://github.com/B16f00t/whapa

@Lootierrez
Copy link

@wootw0rm did you solve it? I have the same problem and I don't know what else to do.

@mageshkandan
Copy link

thanks @hndrk92 it worked for me. For everyone struggling with unable to locate google drive error. Please ignore that software and download the one which @hndrk92 mentioned. Read the readme file before working on. It working perfectly for me... any query please contact me twitter @mageshmagi

@laserbu
Copy link

laserbu commented Oct 16, 2019

Hello @hndrk92, for me is not working. See my error:
File ".\libs\whagodri.py", line 1, in
from gpsoauth import google
ModuleNotFoundError: No module named 'gpsoauth'

What should I do? Thanks

@hndrk92
Copy link

hndrk92 commented Oct 16, 2019

_

Hello @hndrk92, for me is not working. See my error:
File ".\libs\whagodri.py", line 1, in
from gpsoauth import google
ModuleNotFoundError: No module named 'gpsoauth'

What should I do? Thanks_

Hi @laserbu, look in the top header where the icons are.
In this line are a icon wich call install requirements,
you have to install the requirements first, after this it works!

@laserbu
Copy link

laserbu commented Oct 16, 2019

Hi @hndrk92 that also gives me the following errors:

Collecting pycryptodome
Using cached https://files.pythonhosted.org/packages/b6/41/d3749c0caa860041eb6b0832c7087253d59cb5af8bb303a8d4b6daa74014/pycryptodome-3.9.0.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\lype\appdata\local\programs\python\python38-32\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\setup.py'"'"'; file='"'"'C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\pip-egg-info'
cwd: C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome
Complete output (31 lines):
Traceback (most recent call last):
File "c:\users\lype\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_ver
return self.find_available_vc_vers()[-1]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\setup.py", line 448, in <module>
    set_compiler_options(package_root, ext_modules)
  File "C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\compiler_opt.py", line 304, in set_compiler_options
    clang = compiler_is_clang()
  File "C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\compiler_opt.py", line 239, in compiler_is_clang
    return test_compilation(source, msg="clang")
  File "C:\Users\LyPe\AppData\Local\Temp\pip-install-kscsqi4m\pycryptodome\compiler_opt.py", line 82, in test_compilation
    objects = compiler.compile([fname], extra_postargs=extra_cc_options)
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\distutils\_msvccompiler.py", line 360, in compile
    self.initialize()
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\distutils\_msvccompiler.py", line 253, in initialize
    vc_env = _get_vc_env(plat_spec)
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
    return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 843, in __init__
    self.si = SystemInfo(self.ri, vc_ver)
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 485, in __init__
    self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
  File "c:\users\lype\appdata\local\programs\python\python38-32\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
    raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
Testing support for clang
----------------------------------------

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@hndrk92
Copy link

hndrk92 commented Oct 16, 2019

Hi @laserbu, did you have a full installed python version?

@laserbu
Copy link

laserbu commented Oct 16, 2019

I guess so, see below:
PS C:\WINDOWS\system32> python
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.

@hndrk92
Copy link

hndrk92 commented Oct 16, 2019

So, then deinstall the 3.8 version and install the 3.7.5. Pls check after the installation all the contents, all must be full installed. The next step is the whagodri.py. In youtube are some installation guides for Python and this required contents.

@laserbu
Copy link

laserbu commented Oct 16, 2019

it works! thanks

@hndrk92
Copy link

hndrk92 commented Oct 16, 2019

I do my best, you're welcome @laserbu👍

@ronitu22
Copy link

ronitu22 commented Oct 19, 2019

Hi @hndrk92 , can you help me with this massage ? i have 3.7.5 version and the requirements are installed. who can i make it work ?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File ".\libs\whagodri.py", line 258, in
getConfigs()
File ".\libs\whagodri.py", line 65, in getConfigs
except(ConfigParser.NoSectionError, ConfigParser.NoOptionError):
AttributeError: type object 'ConfigParser' has no attribute 'NoSectionError'`

@hndrk92
Copy link

hndrk92 commented Oct 20, 2019

Hi @ronitu22, du didn't install the python right or the settings are wrong. Go back to the start and deinstall pyhton! Install it fresh, install the required contents for pyhton and then open the tool. You do the same in the programm, install the required contents over the button in the header and fill out the settings!

In this video you will see, how pyhton get install right, look at 5 minutes and watch till the end. I hope it helped 👍

@ronitu22
Copy link

Hi @ronitu22, du didn't install the python right or the settings are wrong. Go back to the start and deinstall pyhton! Install it fresh, install the required contents for pyhton and then open the tool. You do the same in the programm, install the required contents over the button in the header and fill out the settings!

In this video you will see, how pyhton get install right, look at 5 minutes and watch till the end. I hope it helped 👍

thank you a lot @hndrk92! it works!

@laserbu
Copy link

laserbu commented Oct 20, 2019

Hello again @hndrk92:

By any chance whapa master can extract the key to decrypt whatsapp messages? I have tried with DB Extractor and Whatsdump and nothing. Could you please help me?
Maybe also @B16f00t can help me.
Thanks!

@hndrk92
Copy link

hndrk92 commented Oct 20, 2019

Hi @laserbu, you cannot decrypt whatsapp massages at this moment. There no solutions or methods for this problem! The cryptkey version is to high to crack it. So sorry, i can't help you 😔

@laserbu
Copy link

laserbu commented Oct 20, 2019 via email

@B16f00t
Copy link
Owner

B16f00t commented Oct 20, 2019 via email

@laserbu
Copy link

laserbu commented Oct 20, 2019 via email

@demoo1403
Copy link

hi @hndrk92
please help me solve the same proplem
Traceback (most recent call last):
File ".\libs\whagodri.py", line 258, in
getConfigs()
File ".\libs\whagodri.py", line 65, in getConfigs
except(ConfigParser.NoSectionError, ConfigParser.NoOptionError):
AttributeError: type object 'ConfigParser' has no attribute 'NoSectionError'`

@kduramos
Copy link

Hi @hndrk92 please can you help me?
When i try to use Whagodry i receive this messages:

[e] Error: Requested entity was not found.
[e] Unable to locate google drive file map for: com.whatsapp <Response [404]>
[i] Generating threads...
Traceback (most recent call last):
File ".\libs\whagodri.py", line 314, in
getMultipleFiles(drives, bearer, filter)
File ".\libs\whagodri.py", line 159, in getMultipleFiles
print("[+] Backup name : {}".format(drives["name"]))

I put allinformations right and i try in two differents accounts and as the same thing

B16f00t pushed a commit that referenced this issue Oct 30, 2022
packaging added might be necessary for whagodri
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests