Night 7k to 12k Call Girls Service In Navi Mumbai 👉 BOOK NOW 9833363713 👈 ♀️...
1
1. import os
def clear():
try:
os.system('cls')
except:
os.system('clear')
def logo():
print(" _ _ ")
print(" | | (_)")
print(" ___ ___ _ __ ___ | |__ _ ")
print(" / __/ _ | '_ ` _ | '_ | |")
print(" | (_| (_) | | | | | | |_) | |")
print(" ______/|_| |_| |_|_.__/|_| by Developernnn")
logo()
print("Select a program mode!")
print("=======================")
print("nWrite:n1- Brute (only password)n2- Check (number;password)")
print("n=======================")
mode=input("Program mode: ")
clear()
logo()
print("Enter the name of the .txt file where the result will be saved.")
nameFile=input("Name: ")
clear()
logo()
print("")
length = int(input("Length: "))
clear()
logo()
print("Enter information about the person for generating password
combinations.")
print("(Input through ';')")
info = input("Information: ").split(";")
clear()
logo()
def variants(depth):
if depth == 1:
for head in info:
yield head
else:
f = open(nameFile + ".txt", "a")
for head in info:
for tail in variants(depth-1):
if len(head + tail) >= length:
print(head + tail)
f.write(number + head+tail + "n")
f.close()
if mode == "1":
number = ""
elif mode == "2":
inumber = input("Write the number: ")
number = inumber + ";"
for itm in (variants(4)):
continue
num_comb = sum(1 for line in open(nameFile + ".txt"))