Coder Social home page Coder Social logo

pnwgen's Introduction

Phone number Wordlist Generator v.0.3

Rawsec's CyberSecurity Inventory

A very flexible phone number wordlist generator based on Python. Obviously, more than 30% users have their mobile phone numbers set as passwords. Sometimes you need to get a phone-numbers based wordlist for chosen region, but you have a very slow internet connection.

This is a simple but flexible python script that allows you to operatively generate needed wordlist depending on your current situation. For example, the new mobile network code appears in your country, you do not have to wait when a new wordlist appears, you can generate the new sequence with the new code in a new file, and append this file to your old wordlist using CLI.

What is new in v.0.3?

Optimized code, better performance on wordlist generation.

Requirements:

Python3*

Usage:

-Generates SNs (subscriber numbers) from 4 to 10 digits as raw output:

4 digits: from 0000 to 9999 
5 digits: from 00009 to 99999
...
10 digits: from 0000000000 to 9999999999

-Standard raw output is 7 digits

-Allows to add any prefixes (e.g CC, NDC)

-You have to set prefixes manually, just write them to the file "prefix.txt"

-Each prefix should be written in a new line

-You can input the prefixes in any format (e.g 093, 8093, 8-093, +38(093) e.t.c). For example, if you chose two prefixes 063 and 093 and the standard raw 7 digits output, the general output in the file "wordlist.txt" will be the next:

0630000000
0630000001
0630000002
[...]
0639999999
0930000000
0930000001
0930000002
[...]
0939999999

It means that the custom prefixes will be switched automatically, and all of generated output you will find in one wordlist file. This feature differs this script from most other generators, where you have to "set prefix => generate => wait => set prefix => generate => wait => merge two wordlists".

-If you want to generate the raw sequence without any prefix, the next line after comment in "prefix.txt" should be empty.

-Allows to add permanent suffix. Just put your suffix in the argument when script is launching.

python3 pnwgen.py [suffix]

Launching:

-Download program

-cd to the program's directory

-put your custom prefixes in the file "prefix.txt"

-type:

python3 pnwgen.py

Quick launch:

python3 pnwgen.py [prefix] [suffix] [length]

Note: the length you should specify is the length of generated sequence between the prefix and the suffix, but not the length of the entire numbers that should appear in your wordlist

output wordlist.txt size with standard 7-digits raw output:

--without prefixes ~ 80 Mb

--with two 3-digits prefixes ~ 300Mb

DISCLAIMER:

Usage of this program is only allowed within boundaries of law. Developers assume no liability and are not responsible for any misuse or damage caused by this program.

https://awake.pro/

pnwgen's People

Contributors

toxydose avatar eclipse7 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.