-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathmain.py
46 lines (34 loc) · 1.08 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
from classes.gen import adidas
import json, colorama, threading
from classes.logger import logger
colorama.init()
log = logger().log
numThread = 1
log("--------------------------", "gray")
log("Confirmed Account Gen", "yellow")
log("By: Euphoria & Zruss", "yellow")
log("--------------------------", "gray")
try:
with open('./config/proxies.json') as json_data_file:
proxies = json.load(json_data_file)
log("%s Proxy(s) Loaded" % len(proxies), "info")
except:
log("Error in proxy file..", "error")
quit()
try:
with open('./config/config.json') as json_data_file:
config = json.load(json_data_file)
log("Config Loaded", "info")
except:
log("Error in config.json...", "error")
quit()
log("--------------------------", "gray")
def main(x, proxies, config):
AC = adidas(x, proxies, config)
AC.run()
threads = []
log("Starting Tasks...", "clear")
for x in range(config['numofAccounts']):
t = threading.Thread(target= main, args=(x, proxies, config))
threads.append(t)
t.start()