kovinevmv / getcontact

Find info about user by phone number using GetContact API
MIT License
437 stars 74 forks source link
aes-key caller-id getcontact osint phone phone-number reverse-engineering

Codacy Badge Language grade: Python

Update [01.02.2021]

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, run script in debug mode

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 doesn'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 (or emulator).

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

Edit dump/tokens.yaml with your data by:

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 +792910453XX

Output:

Phone: +792910453XX
User: Андрей Тимофеев
Tag list: 
     Андрей Тимофеев
     Андрей Спб
     Андрей Челентос
     Андрей Катин
     Андрей
     Онлрей
     Экс Бойфренд Aka Реальный Долбоеб
     Андрей Chelentos
     Andrey Tymofeev
     Андрей Тим
     Андрюша :
     Андрей 💑
     .andrey
     Andrey
Remain count: 194

Console JSON-format output

python3 ./src/main.py -j -p +792910453XX

Output:

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

Debug mode

python3 ./src/main.py -v -p +792910453XX

Output:

[2020-08-09 21:19:30] Call print_information_by_phone with phone  +792910453XX
[2020-08-09 21:19:30] Call get_information_by_phone with phone  +792910453XX
[2020-08-09 21:19:30] Call get_name_by_phone with phoneNumber  +792910453XX
[2020-08-09 21:19:30] Call _send_post with url: https://pbssrv-centralevents.com/v2.5/search data: {"data": "IntagsrX4IGrPHP7pfJfl9jBqULuZK25pFdPYdCGjSEovlUiPr9rdM/O1rcOcW6WPKUONujPcQKWBlEVzv5R6sFelyff9c5su48kI6fqBZpjVGohthrvzOKtuCC0Tne9N1v30b0PL4HKQrmWPlik8kGCSqajsivlJ01a+e9ELkXk/AjaHrm9cZVxyCfZpx4D"}
...
'Try premium free', 'subsInfoButtonIntroText': 'Try Getcontact Premium now to increase tag view limit and enjoy other Premium Benefits.'}}}
[2020-08-09 21:19:31] Call _print_beauty_output with data  {'name': None, 'phoneNumber': '+792910453XX', 'country': 'RU', 'displayName': 'Not Found', 'profileImage': None, 'email': None, 'is_spam': False, 'tags': []}
Phone: +792910453XX
User: Not Found

Docker

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

Donate for coffee

Boosty