-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxHeaders.py
More file actions
224 lines (197 loc) · 8.8 KB
/
Copy pathxHeaders.py
File metadata and controls
224 lines (197 loc) · 8.8 KB
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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
import requests , os , psutil , sys , jwt , pickle , json , binascii , time , urllib3 , base64 , datetime , re ,socket , threading
from protobuf_decoder.protobuf_decoder import Parser
from xC4 import *
from datetime import datetime
from google.protobuf.timestamp_pb2 import Timestamp
from concurrent.futures import ThreadPoolExecutor
from threading import Thread
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
def ToK():
while True:
try:
r = requests.get('https://tokens-asfufvfshnfkhvbb.francecentral-01.azurewebsites.net/ReQuesT?&type=ToKens')
t = r.text
i = t.find("ToKens : [")
if i != -1:
j = t.find("]", i)
L = [x.strip(" '\"") for x in t[i+11:j].split(',') if x.strip()]
if L:
with open("token.txt", "w") as f:
f.write(random.choice(L))
except: pass
time.sleep(5 * 60 * 60)
Thread(target=ToK , daemon = True).start()
def equie_emote(JWT,url):
url = f"{url}/ChooseEmote"
headers = {
"Accept-Encoding": "gzip",
"Authorization": f"Bearer {JWT}",
"Connection": "Keep-Alive",
"Content-Type": "application/x-www-form-urlencoded",
"Expect": "100-continue",
#"Host": "clientbp.ggblueshark.com",
"ReleaseVersion": "OB51",
"User-Agent": "Dalvik/2.1.0 (Linux; U; Android 9; G011A Build/PI)",
"X-GA": "v1 1",
"X-Unity-Version": "2018.4.11f1",
}
data = bytes.fromhex("CA F6 83 22 2A 25 C7 BE FE B5 1F 59 54 4D B3 13")
requests.post(url, headers=headers, data=data)
def GeTToK():
with open("token.txt") as f: return f.read().strip()
def Likes(id):
try:
text = requests.get(f"https://tokens-asfufvfshnfkhvbb.francecentral-01.azurewebsites.net/ReQuesT?id={id}&type=likes").text
get = lambda p: re.search(p, text)
name, lvl, exp, lb, la, lg = (get(r).group(1) if get(r) else None for r in
[r"PLayer NamE\s*:\s*(.+)", r"PLayer SerVer\s*:\s*(.+)", r"Exp\s*:\s*(\d+)",
r"LiKes BeFore\s*:\s*(\d+)", r"LiKes After\s*:\s*(\d+)", r"LiKes GiVen\s*:\s*(\d+)"])
return name , f"{lvl}" if lvl else None, int(lb) if lb else None, int(la) if la else None, int(lg) if lg else None
except: return None, None, None, None, None
def Requests_SPam(id):
Api = requests.get(f'https://tokens-asfufvfshnfkhvbb.francecentral-01.azurewebsites.net/ReQuesT?id={id}&type=spam')
if Api.status_code in [200, 201] and '[SuccessFuLy] -> SenDinG Spam ReQuesTs !' in Api.text: return True
else: return False
def GeT_Name(uid , Token):
data = bytes.fromhex(EnC_AEs(f"08{EnC_Uid(uid , Tp = 'Uid')}1007"))
url = "https://clientbp.common.ggbluefox.com/GetPlayerPersonalShow"
headers = {
'X-Unity-Version': '2018.4.11f1',
'ReleaseVersion': 'OB51',
'Content-Type': 'application/x-www-form-urlencoded',
'X-GA': 'v1 1',
'Authorization': f'Bearer {GeTToK()}',
'Content-Length': '16',
'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 7.1.2; ASUS_Z01QD Build/QKQ1.190825.002)',
'Host': 'clientbp.ggblueshark.com',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip'
}
response = requests.post(url , headers=headers , data=data ,verify=False)
if response.status_code == 200 or 201:
packet = binascii.hexlify(response.content).decode('utf-8')
BesTo_data = json.loads(DeCode_PackEt(packet))
try:
a1 = BesTo_data["1"]["data"]["3"]["data"]
return a1
except: return ''
else: return ''
def GeT_PLayer_InFo(uid , Token):
data = bytes.fromhex(EnC_AEs(f"08{EnC_Uid(uid , Tp = 'Uid')}1007"))
url = "https://clientbp.common.ggbluefox.com/GetPlayerPersonalShow"
headers = {
'X-Unity-Version': '2018.4.11f1',
'ReleaseVersion': 'OB51',
'Content-Type': 'application/x-www-form-urlencoded',
'X-GA': 'v1 1',
'Authorization': f'Bearer {GeTToK()}',
'Content-Length': '16',
'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 7.1.2; ASUS_Z01QD Build/QKQ1.190825.002)',
'Host': 'clientbp.ggblueshark.com',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip'}
response = requests.post(url , headers=headers , data=data ,verify=False)
if response.status_code == 200 or 201:
packet = binascii.hexlify(response.content).decode('utf-8')
BesTo_data = json.loads(DeCode_PackEt(packet))
NoCLan = False
try:
a1 = str(BesTo_data["1"]["data"]["1"]["data"])
a2 = BesTo_data["1"]["data"]["21"]["data"]
a3 = BesTo_data["1"]["data"]["3"]["data"]
player_server = BesTo_data["1"]["data"]["5"]["data"]
player_bio = BesTo_data["9"]["data"]["9"]["data"]
player_level = BesTo_data["1"]["data"]["6"]["data"]
account_date = datetime.fromtimestamp(BesTo_data["1"]["data"]["44"]["data"]).strftime("%I:%M %p - %d/%m/%y")
last_login = datetime.fromtimestamp(BesTo_data["1"]["data"]["24"]["data"]).strftime("%I:%M %p - %d/%m/%y")
try:
clan_id = BesTo_data["6"]["data"]["1"]["data"]
clan_name = BesTo_data["6"]["data"]["2"]["data"]
clan_leader = BesTo_data["6"]["data"]["3"]["data"]
clan_level = BesTo_data["6"]["data"]["4"]["data"]
clan_members_num = BesTo_data["6"]["data"]["6"]["data"]
clan_leader_name = BesTo_data["7"]["data"]["3"]["data"]
except:
NoCLan = True
if NoCLan:
a = f'''
[b][c][90EE90] [SuccessFully] - Get PLayer s'InFo !
[FFFF00][1] - ProFile InFo :
[ffffff]
Name : {a3}
Uid : {xMsGFixinG(a1)}
Likes : {xMsGFixinG(a2)}
LeveL : {player_level}
Server : {player_server}
Bio : {player_bio}
Creating : {account_date}
LasT LoGin : {last_login}
[90EE90]Dev : C4 Team OfficieL\n'''
a = a.replace('[i]','')
return a
else:
a = f'''
[b][c][90EE90] [SuccessFully] - Get PLayer s'InFo !
[FFFF00][1] - ProFile InFo :
[ffffff]
Name : {a3}
Uid : {xMsGFixinG(a1)}
Likes : {xMsGFixinG(a2)}
LeveL : {player_level}
Server : {player_server}
Bio : {player_bio}
Creating : {account_date}
LasT LoGin : {last_login}
[b][c][FFFF00][2] - Guild InFo :
[ffffff]
Guild Name : {clan_name}
Guild Uid : {xMsGFixinG(clan_id)}
Guild LeveL : {clan_level}
Guild Members : {clan_members_num}
Leader s'Uid : {xMsGFixinG(clan_leader)}
Leader s'Name : {clan_leader_name}
[90EE90]Dev : C4 Team OfficieL\n'''
a = a.replace('[i]','')
return a
except Exception as e:
return f'\n[b][c][FFD700]FaiLEd GeTinG PLayer InFo !\n'
else:
return f'\n[b][c][FFD700]FaiLEd GeTinG PLayer InFo !\n'
def DeLet_Uid(id , Tok):
print(f' Done FuckinG > {id} ')
url = 'https://clientbp.common.ggbluefox.com/RemoveFriend'
headers = {
'X-Unity-Version': '2018.4.11f1',
'ReleaseVersion': 'OB51',
'Content-Type': 'application/x-www-form-urlencoded',
'X-GA': 'v1 1',
'Authorization': f'Bearer {Tok}',
'Content-Length': '16',
'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 7.1.2; ASUS_Z01QD Build/QKQ1.190825.002)',
'Host': 'clientbp.ggblueshark.com',
'Connection': 'Keep-Alive',
'Accept-Encoding': 'gzip'}
data = bytes.fromhex(EnC_AEs(f"08a7c4839f1e10{EnC_Uid(id , Tp = 'Uid')}"))
ResPonse = requests.post(url , headers=headers , data=data , verify=False)
if ResPonse.status_code == 400 and 'BR_FRIEND_NOT_SAME_REGION' in ResPonse.text:
return f'[b][c]Id : {xMsGFixinG(id)} Not In Same Region !'
elif ResPonse.status_code == 200:
return f'[b][c]Good Response Done Delete Id : {xMsGFixinG(id)} !'
else:
return f'[b][c]Erorr !'
def ChEck_The_Uid(id):
Api = requests.get("https://panel-g2ccathtf6gdcmdw.polandcentral-01.azurewebsites.net/Uids")
if Api.status_code not in [200, 201]:
return False
lines = Api.text.splitlines()
for i, line in enumerate(lines):
if f' - Uid : {id}' in line:
expire, status = None, None
for sub_line in lines[i:]:
if "Expire In" in sub_line:
expire = re.search(r"Expire In\s*:\s*(.*)", sub_line).group(1).strip()
if "Status" in sub_line:
status = re.search(r"Status\s*:\s*(\w+)", sub_line).group(1)
if expire and status: return status, expire
return False
return False