Created
December 16, 2021 20:47
-
-
Save iNawaR1/c4a69d9ffd4b6c20d11c505e2ee79acb to your computer and use it in GitHub Desktop.
This tool help you to generate users for checkers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
from colorama import Fore | |
s=Fore.RED | |
m=Fore.BLUE | |
print(s) | |
print("Type {F} To start") | |
user = input("Type the Letter to start gen -> : ") | |
if user == 'F': | |
uesr = input("Type any first Tow letters or numbers for the users (NOTE if you want 100% random users just click Enter don't type here anything) -> : ") | |
ch = '1234567890qwertyuiopasdfghjklzxcvbnm._' | |
amount = input('Type How many users You want -> : ') | |
amount = int(amount) | |
l2 = input('Type 2 if you want 4 letters users | Type 3 if you want 5 letters users | Type 4 if you want 6 letters users | If you choosed 100% random users type here how many letters you want in your users for example 4 this will generate you 4 letters users. -> :') | |
l2 = int(l2) | |
iNaWaR = input("Type file name (txt) only!! =>> : ") | |
N1 = iNaWaR | |
for PSS in range(amount): | |
PSS = '' | |
for item in range(l2): | |
PSS = '' | |
for item in range(l2): | |
PSS += random.choice(ch) | |
print(uesr + PSS) | |
with open(N1, 'a') as x: | |
x.write(uesr + PSS + '\n') | |
else: | |
print(f"{m}Done!! You will find your users in -> : {N1}") | |
exit() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment