- GetContact changed API, therefore project is not working. Maybe in future will be fixed
- Captcha not working in GetContact App, therefore my scripts doesn't pass verification too :( Please, use another tokens
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
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 :)
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
- AES key:
FINAL_KEY
- token:
TOKEN
Edit dump/tokens.yaml
with your data by:
AES_KEY
: AES key fromGetContactSettingsPref.xml
ANDROID_OS
: For exampleandroid 5.0
DEVICE_ID
: For example14130e29cebe9c39
IS_ACTIVE
:true
if your token is validREMAIN_COUNT
: Any natural num if your token is validTOKEN
: token fromGetContactSettingsPref.xml
Install tesseract to bypass captcha
[ ! -d venv ] && python3 -m venv venv; source venv/bin/activate
pip3 install -r requirements.txt
python3 ./src/main.py -p +792910453XX
Output:
Phone: +792910453XX
User: Андрей Тимофеев
Tag list:
Андрей Тимофеев
Андрей Спб
Андрей Челентос
Андрей Катин
Андрей
Онлрей
Экс Бойфренд Aka Реальный Долбоеб
Андрей Chelentos
Andrey Tymofeev
Андрей Тим
Андрюша :
Андрей 💑
.andrey
Andrey
Remain count: 194
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']}
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
chmod +x ./run.sh
sudo docker build . -t getcontact
sudo docker run -t getcontact -p +792910453XX