Skip to content

PhoneSmith v1.0.0

Choose a tag to compare

@PiHiker PiHiker released this 07 Dec 03:26
· 6 commits to main since this release
b6d61f8

PhoneSmith is a Python tool for generating and formatting phone numbers in multiple styles based on one area code. Whether you're working on dialing, data analysis, CTF challenges, or penetration testing. PhoneSmith crafts comprehensive wordlists of phone numbers for a specified area code.

Installation
Clone the repository to your local machine:

git clone https://github.com/PiHiker/PhoneSmith.git

cd PhoneSmith

Ensure Python 3.x is installed on your system. If not, download it from python.org.

Usage
Run PhoneSmith using the command line:

python3 PhoneSmith.py [area_code] [--output OUTPUT]

Command-Line Arguments
area_code (optional): The 3-digit area code for the phone numbers (e.g., 123). If not provided, the script will prompt you to enter it interactively.
--output OUTPUT (optional): The output file to save the wordlist. Defaults to <area_code>-wordlist.txt.
Examples
Generate phone numbers for area code 721 and save to 721-wordlist.txt:

python3 PhoneSmith.py 721

Generate phone numbers for area code 456 and save to mylist.txt:

python3 PhoneSmith.py 456 --output mylist.txt

Run the script without an area code (interactive prompt):

python3 PhoneSmith.py

Please enter a 3-digit area code: 789

PhoneSmith is crafting phone numbers for area code 789...

Wordlist saved to 789-wordlist.txt

Output
The generated file will contain all possible phone numbers in the specified formats, for example:

1230000000 1+1230000000 1-123-000-0000 (123) 000-0000 +1 123 000 0000 ...