[go: nahoru, domu]

Skip to content

Find info about user by phone using GetContact API

License

Notifications You must be signed in to change notification settings

v1a0/getcontact

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language grade: Python

Warning

This project is not intended for downloading GetContact database. This project provides the opportunity to receive information by phone number with a limited number of requests for one token per month. Several examples of tokens are posted in the repository. If the script does not work, use your tokens.

About

After decompiling the application GetContact, I created simple API to get information directly without installing this application. Unfortunately, the application sends your contacts from the smartphone notebook to public database, but this problem does not occur using this script :)

How to get keys

If script doens't run properly try to update token`s inforamation in dump/tokens.yaml file. Or if you want to run with Premium Account enter your auth data in this file.

Requirements: Android with ROOT-rights.

Open in filemanager of phone /data/data/app.source.getcontact/shared_prefs/GetContactSettingsPref.xml

  • AES key: FINAL_KEY
  • token: TOKEN
  • exp: PRIVATE_KEY

Edit dump/tokens.yaml with your data by:

  • AES_KEY: AES key from GetContactSettingsPref.xml
  • ANDROID_OS: For example android 5.0
  • DEVICE_ID: For example 14130e29cebe9c39
  • IS_ACTIVE: true if your token is valid
  • PRIVATE_KEY: exp from GetContactSettingsPref.xml
  • REMAIN_COUNT: Any natural num if your token is valid
  • TOKEN: token from GetContactSettingsPref.xml

How to run

Install tesseract to bypass captcha

Python3

  • Create and run venv
[ ! -d venv ] && python3 -m venv venv; source venv/bin/activate
  • Install requirements
pip3 install -r requirements.txt
  • Console output
python3 ./src/main.py -p +79291045342

Output:

Phone: +79291045342
User: Андрей Тимофеев
Tag list: 
	 Андрей Тимофеев
	 Андрей Спб
	 Андрей Челентос
	 Андрей Катин
	 Андрей
	 Онлрей
	 Экс Бойфренд Aka Реальный Долбоеб
	 Андрей Chelentos
	 Andrey Tymofeev
	 Андрей Тим
	 Андрюша :
	 Андрей 💑
	 .andrey
	 Andrey
Remain count: 194
  • Console JSON-format output
python3 ./src/main.py -j -p +79291045342

Output:

{'name': None, 'phoneNumber': '+79291045342', 'country': 'RU', 'displayName': 'Андрей Тимофеев', 'profileImage': None, 'email': None, 'is_spam': False, 'remain_count': 194, 'tags': ['Андрей Тимофеев', 'Андрей Спб', 'Андрей Челентос', 'Андрей Катин', 'Андрей', 'Онлрей', 'Экс Бойфренд Aka Реальный Долбоеб', 'Андрей Chelentos', 'Andrey Tymofeev', 'Андрей Тим', 'Андрюша :', 'Андрей 💑', '.andrey', 'Andrey']}

Docker

chmod +x ./run.sh
sudo docker build . -t getcontact
sudo docker run -t getcontact -p +79291045342

About

Find info about user by phone using GetContact API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.7%
  • Dockerfile 4.1%
  • Shell 0.2%