A powerful and customizable password list generator written in Python. This tool allows you to generate either random passwords or all possible combinations of passwords based on selected character sets. Ideal for penetration testers, developers, or anyone needing a robust password generation utility.
- Generate random passwords of custom length and quantity.
- Generate all possible combinations based on chosen character sets.
- Supports uppercase, lowercase, numbers, symbols, and custom character sets from a file.
- Displays progress updates during generation.
- Uses
coloramafor colorful CLI output. - Supports banners via an external
banner_module.
- Python 3.x
coloramamodule
Install dependencies:
pip install coloramaRun the script using:
python password_generator.py- Enter the desired password length (minimum 2).
- Select a character set from the provided options.
- Choose between:
- Generating random passwords
- Generating all possible combinations
For random passwords, you can set the quantity (default is 300).
For combinations, the tool will calculate all possible combinations and save them.
- All Alphabets (Uppercase)
- All Alphabets (Lowercase)
- Both Uppercase & Lowercase
- All Numbers
- All Symbols
- Alphabets (Lowercase) & Numbers
- Alphabets (Lowercase) & Symbols
- Alphabets (Uppercase) & Numbers
- Alphabets (Uppercase) & Symbols
- Numbers & Symbols
- Custom (from file
custom_pass_file.txt) - All (Uppercase, Lowercase, Numbers, Symbols)
Generated passwords are saved in the current directory:
- Random passwords:
option_name_random_pass.txt - Combinations:
option_name_combinations.txt
To use your own characters:
- Create a file named
custom_pass_file.txt - Add all desired characters on a single line
- Select option 11 during execution
Ensure you have a banner_module.py file with a display_banner_and_social() function to show the ASCII banner and social links/info.
Enter password length (min 2): 4
Enter your choice (1-12): 6
Choose an option:
1. Generate random passwords
2. Generate all possible combinations
Enter your choice (1/2): 1
Enter the number of random passwords to generate (min 2, default 300): 100This will generate 100 random passwords using lowercase letters and numbers.
This project is open-source and available under the MIT License.