Coder Social home page Coder Social logo

555russich / phones_range Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8 KB

Scrap possible phones range from codificator.ru to json file and generate file for hashcat or similar brute force tool

Python 100.00%
brute-force brute-force-passwords bruteforce bruteforce-attacks hashcat hashcracker hashcracking password password-cracker password-generator security-vulnerability wifi wifi-security wpa2-cracking

phones_range's Introduction

This repository can help you scrap possible phone numbers, generate password dict based on scrapped phones ranges to crack with hashcat or similar tool.

Now supports only +7 code

Preamble

Crack all phone's range using GPU such as GTX 960 4gb taking about 3-4 hours... My thoughts to make it faster (ofc if we are lucky):

If you know region OR mobile operator OR code which that phone can use, you can generate possible phones based on this information.

Requirements

python3

packages: bs4, requests

Installation

git clone https://github.com/555Russich/phones_range
cd phones_range
pip3 install bs4 requests

Usage

  1. Scrap possible phone ranges in json from https://codificator.ru
python3 scrap_phone_codes.py
  1. Generate password dict based on json file. Filters can be passed as arguments
python3 gen_dict.py --help
usage: gen_dict.py [-h] [--list-codes] [--list-regions] [--list-operators] [-c CODE] [-r REGION] [-o OPERATOR]

options:
  -h, --help            show this help message and exit
  --list-codes
  --list-regions
  --list-operators
  -c CODE, --code CODE
  -r REGION, --region REGION
  -o OPERATOR, --operator OPERATOR

Examples:

Generate all possible phones:

python3 gen_dict.py

Region filter:

python3 gen_dict.py -r "Московская область и г. Москва"

Operator filter:

python3 gen_dict.py -o МТС

All regions to stdout:

python3 gen_dict.py --list-regions

All operators to stdout:

python3 gen_dict.py --list-operators

It's possible to combine filters and pass few values for one filter

Generated dict will look like that:

9160000000
9160000001
9160000002
9160000003
9160000004
9160000005
9160000006
9160000007
9160000008
9160000009
...

After that you can run hashcat and use phones.rule file:

hashcat <some_more_parameters> -r phones.rule <your_hash_file> phones_filtered.dict

phones_range's People

Contributors

555russich avatar

Stargazers

 avatar

Watchers

 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.