Code Monkey home page Code Monkey logo

getcontact's Introduction

Codacy Badge Language grade: Python

Update [01.02.2021]

  • Captcha not working in GetContact App, therefore my scripts doesn't pass verification too :( Please, use another tokens

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

  • AES key: FINAL_KEY
  • token: TOKEN

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
  • 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 +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

getcontact's People

Contributors

kovinevmv avatar dependabot-preview[bot] avatar deepsource-autofix[bot] avatar deepsourcebot avatar codacy-badger avatar bb2504 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.