-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathp-gen.py
40 lines (34 loc) · 1.42 KB
/
p-gen.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
import random
# colors
yellow='\033[93m'
gren='\033[92m'
cyan='\033[96m'
pink='\033[95m'
red='\033[91m'
b='\033[1m'
# code
print (red+b+"""
██████╗ ██████╗ ███████╗███╗ ██╗
██╔══██╗ ██╔════╝ ██╔════╝████╗ ██║
██████╔╝█████╗██║ ███╗█████╗ ██╔██╗ ██║
██╔═══╝ ╚════╝██║ ██║██╔══╝ ██║╚██╗██║
██║ ╚██████╔╝███████╗██║ ╚████║
╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝
v 1.0
"""+b+red)
print (gren+b+" <===[[ coded by N17R0 ]]===>"+b+gren)
print (" ")
print (yellow+b+" <---( YOUTUBE- Noob Hackers )--->"+b+yellow)
print (" ")
length=int(input(cyan+b+"Enter The Length Of The Password: "+b+cyan))
print (" ")
print (yellow+b+"-----> password generated <----"+b+yellow)
print (" ")
char="abcdefghijklmnopqrstuvwxyz1234567890@#$%&*^"
password= (gren+b+" "+b+gren)
for i in range(length):
password+=random.choice(char)
print(password)
print (" ")
print (yellow+b+"-----> grab your password <----"+b+yellow)
print (" ")