π Introduction AIT WiFi Voucher Generator is an open-source Python tool designed to generate potential username and password combinations for security testing and password auditing. It uses itertools to automate the generation of brute-force combinations based on predefined patterns.
π οΈ Requirements
Install the latest stable version of Python:
- π₯ Download Python
To verify the installation:
python --versionor
python3 --versionThis tool uses the built-in Python modules:
itertoolsstring
Thereβs no need for external libraries beyond Python.
π Installation & Setup
Clone the repository to your local machine:
git clone https://github.com/yourusername/ait-wifivouchgen.gitNavigate into the project directory:
cd ait-wifivouchgenThe generator.py script generates username and password combinations based on your selection. You can run the script with one of the following options (1-14), or select option 15 to generate all combinations.
Running the Generator:
python generator.pyThis will generate combinations based on the selected option.
Note: The script also creates a prefix.txt file in the Dictionary directory, which is required for testing. This file will contain a hardcoded value for the exact username prefix after execution.
π’ Option Breakdown The following options define different username and password combination formats. Select the option that matches your needs:
- Option 1: Uppercase letters (AAAA)
- Option 2: Number + Uppercase letters (1AAA)
- Option 3: Uppercase + Number + Uppercase + Uppercase (A1AA)
- Option 4: Uppercase + Uppercase + Number + Uppercase (AA1A)
- Option 5: Uppercase + Uppercase + Uppercase + Number (AAA1)
- Option 6: Number + Number + Uppercase + Uppercase (11AA)
- Option 7: Number + Number + Number + Uppercase (111A)
- Option 8: Number + Number + Number + Number (1111)
- Option 9: Uppercase + Uppercase + Number + Number (AA11)
- Option 10: Uppercase + Number + Number + Number (A111)
- Option 11: Uppercase + Number + Uppercase + Number (A1A1)
- Option 12: Uppercase + Number + Number + Uppercase (A11A)
- Option 13: Number + Uppercase + Number + Uppercase (1A1A)
- Option 14: Number + Uppercase + Uppercase + Number (1AA1)
- Option 15: Generate all combinations (1-14)
To generate all dictionaries for all combinations:
python generator.py --option 15π Generated Files
The generated combinations will be saved in the Dictionary folder inside the project directory. Each combination type will have its own subfolder with username.txt and password.txt files containing the generated values.
Example directory structure:
Dictionary/
βββ UC-UC-UC-UC/
β βββ username.txt
β βββ password.txt
βββ Num-UC-UC-UC/
β βββ username.txt
β βββ password.txt
...
βββ All Combinations/
βββ username.txt
βββ password.txt
Each file will contain the generated combinations that match the chosen pattern.
π§ Troubleshooting
β Invalid Option Error If you see an error like:
Invalid option. Please enter a number between 1 and 15.
Ensure that youβve selected a valid option. The script only supports options between 1 and 15.
β Permission Errors If you encounter permission issues, make sure you have the necessary permissions to create files and directories in the location where you are running the script.
π License This project is open-source and licensed under the MIT License.