-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
49 lines (36 loc) · 1.07 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import pyfiglet as fig
from colorama import Fore, Back, Style
print()
print(Fore.YELLOW + "Hello user...")
print("Project - Password Generator")
print()
banner = fig.figlet_format("Password Tool")
print(Fore.GREEN + banner)
print(Style.RESET_ALL)
print()
print(Fore.YELLOW + "Developer : Ketan Mote")
print("Codename : ")
print("Github : ")
print("Version : ")
print("Contact : +91 9696969696 / [email protected]")
print(Style.RESET_ALL)
print("----------------------------------------------------------------------------------------------------------------------------")
print("")
print("[+] Available Generators")
print("")
print(Fore.BLUE + "[1] Password")
print("[2] OTP")
print(Style.RESET_ALL)
print("")
opt = int(input("Enter the Option :"))
print("")
if (opt == 1):
import passwd
plen = 0
print(passwd.passwd(plen))
elif (opt == 2):
import otp
olen = 0
print(otp.otp(olen))
else:
print("Enter right option!")