During network pen test I met the case of setting phone number as an access point's root pre-shared password. It's not safe at all, however, I did not find suitable wordlist on the internet. No wonder, because APs are based in different countries with different region and country codes. Also phones could be written in many styles.
In many cases we do not need the large set of all possible phone numbers: all countries, all region codes, all telephone providers, etc. We want suitable set for our current situation. This is what this application was designed for. Hope it will be usefull.
This is a CLI application for generating wordlist of phone numbers for bruteforce attacks. It provides generating lists with custom or predefined configurations.
Also package allows to include different phone number's writing styles in one wordlist. For example styles 0680010000
, 380680010000
,
38 068 001 00 00
, etc.
- npm v7.0.5
- node v12.14.0
Note: requirements are based on PC configuration that was used during package developing.
$ npm i -g phoneg
$ phoneg --help
The example will generate all possible phone numbers list for UA country.
$ phoneg -f ./result.txt -C ua
$ phoneg -f ./result.txt -C ua -t p fp fsp
$ phoneg -f ./result.txt -c 380 67 -n 8954444 -m 8959999
Result:
0678954444
0678954445
0678954446
0678954447
...
0678959999
ua
- Ukraine
p
- simple phone number -0678999999
dp
- hyphenatedp
-067-899-99-99
fp
- fullp
-380678999999
fsp
- space-separatedfp
-38 067 899 99 99
fsap
-fsp
with addition -+38 067 899 99 99
fdsp
- hyphenatedfsp
-38067-899-99-99
fdsap
-fdsp
with addition -+38067-899-99-99
If you found this project usefull and know how to improve it, please provide pull request with your code changes. I will appreciate it.