Арабский питон
Ir al canal en Telegram
Привет @durov Канал не нарушает правила Telegram. Нет спама, оскорблений, порнографии или нзаконной торговли. Пожалуйста, пересмотрите жалобы. Спасибо!
Mostrar más4 369
Suscriptores
+1324 horas
+2187 días
+2 17030 días
Archivo de publicaciones
4 366
import httpx
import secrets
import hashlib
import time
import json
def enc_int(value):
out = bytearray()
while value > 0x7f:
out.append((value & 0x7f) | 0x80)
value >>= 7
out.append(value)
return bytes(out)
def decode_varint(data, offset):
value = 0
shift = 0
while True:
byte = data[offset]
value |= (byte & 0x7f) << shift
shift += 7
offset += 1
if not (byte & 0x80):
break
return value, offset
def decode_response(data):
if isinstance(data, str):
data = data.encode('utf-8', errors='ignore')
offset = 5
result = {}
while offset < len(data):
tag = data[offset]
field_num = tag >> 3
wire_type = tag & 0x07
offset += 1
if wire_type == 0:
value, offset = decode_varint(data, offset)
result[field_num] = value
elif wire_type == 2:
length, offset = decode_varint(data, offset)
value = data[offset:offset+length]
offset += length
try:
result[field_num] = value.decode('utf-8')
except:
result[field_num] = value.hex()
return result
def extract_token(raw_str):
if raw_str.startswith("0a") and len(raw_str) > 2:
raw_str = raw_str[2:]
if raw_str.startswith("40") and len(raw_str) > 2:
raw_str = raw_str[2:]
if len(raw_str) > 2:
length = int(raw_str[:2], 16)
if length <= len(raw_str[2:]):
raw_str = raw_str[2 + length:]
return raw_str[:64] if len(raw_str) >= 64 else raw_str
def build_req(phone, pwd_hash, country):
phone_b = phone.encode()
pwd_b = pwd_hash.encode()
country_b = country.encode()
nested = b"\x08" + enc_int(418) + b"\x12" + enc_int(2) + b"05" + b"\x1a" + enc_int(2) + b"IQ" + b"\x22" + enc_int(8) + b"Asiacell" + b"\x2a" + enc_int(8) + b"Asiacell"
proto = b"\x0a" + enc_int(len(phone_b)) + phone_b + b"\x12" + enc_int(len(pwd_b)) + pwd_b + b"\x2a" + enc_int(len(country_b)) + country_b + b"\x32" + enc_int(len(nested)) + nested
return b"\x00" + len(proto).to_bytes(4, "big") + proto
phone = input("Phone: ").strip()
pwd = input("Password: ").strip()
country = input("Country: ").strip().upper()
pwd_hash = hashlib.md5(pwd.encode()).hexdigest()
payload = build_req(phone, pwd_hash, country)
headers = {
"User-Agent": "grpc-java-okhttp/1.61.0",
"content-type": "application/grpc",
"te": "trailers",
"lang": "ar",
"version": "2004000",
"vc": "2004000",
"vn": "2.4.0.0",
"os": "android",
"sys_version": "android-15",
"model": "TECNO+LJ9",
"mcc": "418",
"locale": "ar_EG",
"net_type": "4",
"pkg": "com.xparty.androidapp",
"issue_channel": "1",
"did": secrets.token_hex(8),
"timezone": "3",
"device_level": "HIGH",
"x-sign-version": "v1",
"x-timestamp": str(int(time.time())),
"grpc-timeout": "14999175u",
}
url = "https://rpc-hw.xenalive.me/grpc.login.LoginService/PhoneLogin"
with httpx.Client(http2=True, timeout=30.0) as client:
res = client.post(url, content=payload, headers=headers)
decoded = decode_response(res.content)
message = ""
for field_num, value in decoded.items():
if isinstance(value, str) and len(value) > 5 and not all(c in '0123456789abcdef' for c in value.lower()):
message = value
break
if message:
print(json.dumps({
"error": message,
"status": 0,
}, indent=4, ensure_ascii=False))
else:
token_field = decoded.get(3, "")
token = extract_token(token_field) if isinstance(token_field, str) else ""
signed_token_field = decoded.get(4, "")
signed_token = extract_token(signed_token_field) if isinstance(signed_token_field, str) else ""
print(json.dumps({
"token": token,
"expiry_time": decoded.get(2, 0),
"signed_token": signed_token,
"status": decoded.get(7, 0),
"country": decoded.get(8, ""),
"currency": decoded.get(9, ""),
"user_id": decoded.get(10, ""),
}, indent=4, ensure_ascii=False))
لوكن xenalive كامل مكمل ما ناقصه شيء فقط جيب وشد اتصال معلومات مال ذهب 🤯4 366
• اداة صيد يلا شات.
• مفعلة لباچر، اذا تتوقف طبك مرض
• الاداة مثلما گلتلكم قبل راح اسويها 7 دول المجانية.
• اذا توقفت وتكلي مادري وكذا، لا راح افعلها الك واحظرك.
• فقط يطلب منك ايدي حسابك التلي، والبوت يدزلك الصيد الك.
• الصيد اخذه من @Yalalodobot لازم تدز /start علمود يوصلك الصيد، واذا ماوصلك، فالصيد ينحفظ بملف hit.txt.
♕ صورة الصيد @iKingNow دزهن هنا.
♕ شغال فقط لهذا البايثون
https://t.me/Lib_Devil/9
4 366
سورس حل كابتشا مال بورجي [visual captcha]
الاستخدام: صوره الايقونات اليريدهن + صوره الخلفيه
Source for solving Pubg [visual captcha]
Usage: Image of the desired icons + background image
#By: @ii00hh
