The maximum number (tline) of TQDM should be correctly calculated no matter what input is given into this generator.
The function on line 35 -46 should be replaced by a "simple" mathmatical equation which has been explained here on reddit.
What makes this equation hard is the sequential excusion rule I buildt in this verion of Suraj Singh original word generator.
Get the file by cloning the repro:
- Run
git clone http://https://github.com/MdeFrance/Generators.git
To run the script:
- Run
(YOUR PATCH)/Wordlist_generator.py
Progress bar module named: TQDM
To install the progress bar module (TQDM)
- Run
pip install tqdm
Enter here all characters for combination:
[+] Please Enter Here All Characters For Combination :> qwerty
Enter here min/max lengh of words:
[+] Please Enter Minimum Lenth Of Words :> 2
[+] Please Enter Maximum Lenth Of Words :> 6
Enter here sequental character exclution:
[+] Please Enter Sequential Charachter Exclution :> 3
Example:
1. ('q','q','q','q') = 4 sequental characters --> EXCLUDED and SKIPED
2. ('q','q','q','w') = 3 sequental characters --> EXCLUDED and SKIPED
3. ('q','q','q','e') = 3 sequental characters --> EXCLUDED and SKIPED
4. ('q','q','q','r') = 3 sequental characters --> EXCLUDED and SKIPED
5. ('q','q','w','q') = 2 sequental characters
6. ('q','q','w','w') = 2 sequental characters
7. ('q','q','w','e') = 2 sequental characters
8. ('q','q','w','r') = 2 sequental characters
Enter path and filename of wordlist file (Incl. your file extention)
[+] Please Enter Name Of Wordlist File :> test.txt
Press Enter/Return to start the generator
[+] Numbers Of Total Lines : 50826
[+] Are You Ready ? [Press Enter]
100%|█████████████████████████████████| 50826/50826 [00:00<00:00, 109521.63it/s]
Done Sucessfully
***************************************************
* Successfully created thanks for using *
***************************************************
- [Python]
- Suraj Singh - Initial work - Suraj Singh