๐ฅฐ8๐5๐4๐3โค2
Share source buff ฤฤng kรญ map free fire
import requests, urllib3
from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
class amdtsmodzapi:
def __init__(self, key, iv):
self.KEY, self.IV = key, iv
def cute_payload(self, map_code):
msg = amdtscutesub_pb2.CSSubscribeWorkshopCodeReq()
msg.slot_id, msg.subscription_source, msg.language, msg.workshop_code = 1, 26, "en", map_code
cipher = AES.new(self.KEY, AES.MODE_CBC, self.IV)
return cipher.encrypt(pad(msg.SerializeToString(), 16))
def cutemapcode(self, code):
code = code.strip()
return code.upper().replace("#FREEFIRE", "") if "#FREEFIRE" in code.upper() else code
def send_request(self, jwt, map_code):
try:
r = requests.post(
"https://clientbp.ggpolarbear.com/SubscribeWorkshopCode",
headers={
"Authorization": f"Bearer {jwt}",
"Content-Type": "application/octet-stream",
"User-Agent": "UnityPlayer/2022.3.47f1",
"ReleaseVersion": "OB53",
"X-GA": "v1 1"
},
data=self.cute_payload(map_code),
verify=False
)
print("cute" if r.status_code == 200 else f"tร y {r.status_code}")
except:
pass
def run_once(self):
f = input("file jwt: ").strip()
c = self.cutemapcode(input("code map: "))
try:
jwts = [i.strip() for i in open(f) if i.strip()]
except:
return print("file error")
print("loading", len(jwts))
for j in jwts: self.send_request(j, c)
print("done")
if __name__ == "__main__":
KEY = bytes([89,103,38,116,99,37,68,69,117,104,54,37,90,99,94,56])
IV = bytes([54,111,121,90,68,114,50,50,69,51,121,99,104,106,77,37])
amdtsmodzapi(KEY, IV).run_once()
โค11๐ฅฐ4๐3๐1๐1