-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gen_Pass.py
68 lines (63 loc) · 2.14 KB
/
Gen_Pass.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
import string
import random
import time
import os
class colori:
verde = '\033[92m' #GREEN
giallo = '\033[93m' #YELLOW
rosso = '\033[91m' #RED
RESET = '\033[0m' #RESET COLOR
print(colori.verde + """..######...########.##....##....########.....###.....######...######.
.##....##..##.......###...##....##.....##...##.##...##....##.##....##
.##........##.......####..##....##.....##..##...##..##.......##......
.##...####.######...##.##.##....########..##.....##..######...######.
.##....##..##.......##..####....##........#########.......##.......##
.##....##..##.......##...###....##........##.....##.##....##.##....##
..######...########.##....##....##........##.....##..######...######. """)
print(colori.giallo + "----------------------------------------#Password-Generation-------------------------------------------")
print("--------------------")
print("Author: AceVenom |")
print("--------------------")
print("---------Menu--------")
nome = input("insert name: ")
time.sleep(1)
cognome = input("insert surname: ")
time.sleep(1)
print(""" ___ ___ _ _ ___ ___ _ _____ ___ ___ _ _
/ __| __| \| | __| _ \ /_\_ _|_ _/ _ \| \| |
| (_ | _|| .` | _|| / / _ \| | | | (_) | .` |
\___|___|_|\_|___|_|_\/_/ \_\_| |___\___/|_|\_|
""")
time.sleep(1)
def simboli():
simbolo = "!"
simbolo2 = "?"
simbolo3 = "^"
simbolo4 = "$"
simbolo5 = "*"
simbolo6 = "."
simbolo7 = "_"
print(colori.rosso + "password with simbols: " + simbolo4 + simbolo3 + nome + simbolo5 + simbolo2 + simbolo4 + cognome )
def numeri():
numero1 = "0"
numero2 = "1"
numero3 = "2"
numero4 = "3"
numero5 = "4"
numero6 = "5"
numero7 = "6"
numero8 = "7"
numero9 = "8"
numero10 = "9"
numero11 = "10"
print("password with numbers: " + numero2 + cognome + numero5 + nome + numero11)
def misto():
print("password with simbols and numbers: " + simbolo4 + numero11 + nome + simbolo7 + simbolo6 + numero2 + cognome + numero10 + simbolo5)
def pulizia():
time.sleep(1)
simboli()
time.sleep(1)
numeri()
time.sleep(1)
misto()
pausa = input("insert any button for continue...")