-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathWarpKeyGen.py
98 lines (80 loc) · 4.31 KB
/
WarpKeyGen.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
import random
import httpx
import time
import os
keys = [
"LeU482c9-9I521pwS-4D1fuy09",
"Cy798YL1-5I38Tuw1-sg927e1L",
"2gC61hL3-3Sz89EL5-97xdfG65",
"7wIq5l04-2ME4dg76-2vD98y7Z",
"TM98h53f-82XAJ0N4-5HE6z9c3",
"4zM8u57N-75V98JhO-6D5sZ03h",
"4O21olg7-Fc5691Hp-6n9N5fT7",
"63y0U4Ig-8Yl4HR27-94n5Jqc2",
"uV1v95y2-GbV54Y98-l3O4n80J",
"rS0R716n-684r9dBG-639N5qJG",
"R7cF58O3-a8h460Xy-Rx15BX39",
"5FtI7g13-b89iU10G-pkog9853",
"u8T9O57e-L3w671vm-6h9mM05o",
"S5NXl426-9Y62WRK0-0DS8Vx57",
"Y9s608lS-I0C4Xw76-uQ72LY14",
"1Afg08W9-goH6190J-0G3pE5f6",
"9Cg84yY1-Hb7Tf304-83B6pmi1",
"12Z0vc4x-906i7IPs-60v9wg1V",
"17hs6oa9-46R98yqI-89Svy3W6",
"76rT0D1K-pv46U0F1-2l9A8h5t",
"n97rm1G0-714vbf3I-O05L16NJ",
"iD8j457u-e314Fm8c-06x7RwN4",
]
key_list = []
os.system('cls' if os.name == 'nt' else 'clear')
banner = """
▄▄▌ ▐ ▄▌ ▄▄▄· ▄▄▄ ▄▄▄· ▄ •▄ ▄▄▄ . ▄· ▄▌ ▄▄ • ▄▄▄ . ▐ ▄
██· █▌▐█▐█ ▀█ ▀▄ █·▐█ ▄█ █▌▄▌▪▀▄.▀·▐█▪██▌ ▐█ ▀ ▪▀▄.▀·•█▌▐█
██▪▐█▐▐▌▄█▀▀█ ▐▀▀▄ ██▀· ▐▀▀▄·▐▀▀▪▄▐█▌▐█▪ ▄█ ▀█▄▐▀▀▪▄▐█▐▐▌
▐█▌██▐█▌▐█ ▪▐▌▐█•█▌▐█▪·• ▐█.█▌▐█▄▄▌ ▐█▀·. ▐█▄▪▐█▐█▄▄▌██▐█▌
▀▀▀▀ ▀▪ ▀ ▀ .▀ ▀.▀ ·▀ ▀ ▀▀▀ ▀ • ·▀▀▀▀ ▀▀▀ ▀▀ █▪
"""
print(banner)
skok_keys = int(input("Добро пожаловать в warp+ ключ генератор\nВыберите сколько ключей будет сгенерировано: "))
generated_keys = 0
# бля нахуй ты это читаешь создатель еблан
for i in range(skok_keys):
print(f"Начинаю генерировать ключ по счету > [{generated_keys + 1}]")
try:
headers = {
"CF-Client-Version": "a-6.11-2223",
"Host": "api.cloudflareclient.com",
"Connection": "Keep-Alive",
"Accept-Encoding": "gzip",
"User-Agent": "okhttp/3.12.1",
}
with httpx.Client(base_url="https://api.cloudflareclient.com/v0a2223", headers=headers, timeout=35) as client:
r = client.post("/reg")
id, klych, token = r.json()["id"], r.json()["account"]["license"], r.json()["token"]
r = client.post("/reg")
id2, token2 = r.json()["id"], r.json()["token"]
headers_get, headers_get2, headers_post = {"Authorization": f"Bearer {token}"}, {"Authorization": f"Bearer {token2}"}, {"Content-Type": "application/json; charset=UTF-8", "Authorization": f"Bearer {token}"}
json = {"referrer": f"{id2}"}
client.patch(f"/reg/{id}", headers=headers_post, json=json)
client.delete(f"/reg/{id2}", headers=headers_get2)
key = random.choice(keys)
json = {"license": f"{key}"}
client.put(f"/reg/{id}/account", headers=headers_post, json=json)
json = {"license": f"{klych}"}
client.put(f"/reg/{id}/account", headers=headers_post, json=json)
r = client.get(f"/reg/{id}/account", headers=headers_get)
ref, klych = r.json()["referral_count"], r.json()["license"]
client.delete(f"/reg/{id}", headers=headers_get)
# бля ну точно еблан
if int(ref) >= 12_000_000:
print(f"[{generated_keys + 1}] Был найден Ключ! -> {klych} > Keys.txt")
with open('Keys.txt', 'a') as f:
f.write(f"[{generated_keys + 1}] Ключ -> {klych} - {ref} PB Траффик\n")
if (generated_keys + 1) % 1 == 0:
time.sleep(7)
generated_keys += 1
except Exception as pizdec:
print(f" {pizdec} - Ошибка связаная с обработкой http запроса.")
time.sleep(5)
input('\nПрограмма завершила свою работу.\nНажмите энтер чтобы закрыть программу!\n')