-
Notifications
You must be signed in to change notification settings - Fork 0
/
CompilePasswords.py
131 lines (111 loc) · 3.29 KB
/
CompilePasswords.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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
import os
import ctypes, sys
from subprocess import call
# import file Banners (START-END)
from BannerStart import Random_HeaderStart
from BannerEnd import Random_HeaderEnd
import io
sys.stdout = io.TextIOWrapper(sys.stdout.detach(), encoding = 'utf-8')
sys.stderr = io.TextIOWrapper(sys.stderr.detach(), encoding = 'utf-8')
# Colors
COLOR_BANNER = '\033[0;36m'
ERROR = '\033[1;31m'
ERROR_DATA = '\033[4;31m'
SUCCESS = '\033[1;32m'
MESSAGE = '\033[0;33m'
MESSAGE2 = '\033[0;35m'
MESSAGE3 = '\033[1;35m'
MESSAGE4 = '\033[1;34m'
END = '\033[0;m'
def Init():
call('clear')
# Function of Banner Start
Random_HeaderStart()
print("\n",ERROR,"[Info]",MESSAGE,"Verification of passwords ([2 PERSONS OR MORE..])\n")
print(MESSAGE2," || Wrotten in Python")
print(MESSAGE2," || coded by Trex-Codes")
print(MESSAGE2," || >> https://github.com/Trex-Codes", END)
def Person1():
contador = 0
while contador < 1:
Data = {
# Program-App, Url, user, password
"Gmail": "https://mail.google.com/mail/u/0/ ," "[email protected] ," "Hola123",
}
print('\n')
for key in Data:
print(key, end=" || ")
print('\n')
print(MESSAGE4)
logOption = input(" What you want to know: ")
print(END)
if logOption == "Gmail" or logOption == "gmail" or logOption == "correo":
print(Data['Gmail'])
elif logOption == "q" or logOption == "!q" or logOption == "quit":
print('\n')
print(SUCCESS,"[+] SUCCESSFUL EXIT!!",END)
call('clear')
contador = 2
else:
print(ERROR_DATA,"Data no exist yet",END)
def Person2():
contador = 0
while contador < 1:
Data = {
# Program, Url, user, password
"Gmail": "https://mail.google.com/mail/u/0/ ," "[email protected] ," "Hola123",
}
print('\n')
for key in Data:
print(key, end=" || ")
print('\n')
print(MESSAGE4)
logOption = input(" What you want to know: ")
print(END)
if logOption == "Gmail" or logOption == "gmail" or logOption == "correo":
print(Data['Gmail'])
elif logOption == "q" or logOption == "!q" or logOption == "quit":
print('\n')
print(SUCCESS,"[+] SUCCESSFUL EXIT!!",END)
call('clear')
contador = 2
else:
print(ERROR_DATA,"Data no exist yet",END)
cont = 1
while cont != 0:
print(MESSAGE4)
optionPrinc = input(" ---------------------------------------------\n [1] Check Password (Person1 - Person2)\n [q] Exit || Finish Program\n ---------------------------------------------\n\n [+] >> ")
print('\n')
print(END)
if optionPrinc == "1":
coun2 = 0
while coun2 == 0:
call('clear')
print(MESSAGE3)
SelectPerson = input(' ---------------------------------------------\n [?] Who you are (P1-P2)\n [q] Back\n ---------------------------------------------\n\n [+] >> ')
call('clear')
print(END)
if SelectPerson == "p1":
call('clear')
Person1()
coun2 = 1
elif SelectPerson == "p2":
call('clear')
Person2()
coun2 = 1
elif SelectPerson == "q":
print('\n')
coun2 = 1
else:
print('\n')
print(ERROR," [!] Only (P1 or P2)", END)
elif optionPrinc == "q":
cont=cont-1
print(SUCCESS," [+] SUCCESSFUL EXIT!!",END)
# Function of Banner end
Random_HeaderEnd()
call('clear')
else:
call('clear')
print(ERROR,"[!] Option Wrong!! || Only ([1], [2], [q]\n",END)
Init()