Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
3.1 kB
1
Indexable
Never
import requests
import json
import base64
from bs4 import BeautifulSoup


get1 = requests.get("http://res.ma7hrte3s4d5r6t.com/beta/config_b/server.json")
get2 = requests.get("http://res.ma7hrte3s4d5r6t.com/beta/Android/0514/LuaScripts.json")
get3 = requests.get("http://res.ma7hrte3s4d5r6t.com/beta/Android/0514/AssetBundles.json")
number = input("Number: ") 
url = 'http://login.ma7hrte3s4d5r6t.com/info'
url1 ='http://login.ma7hrte3s4d5r6t.com/account'
url2 ='http://login.ma7hrte3s4d5r6t.com/verifyCode'
url3 = 'http://login.ma7hrte3s4d5r6t.com/reg'


headers1 = {
  'Host': 'login.ma7hrte3s4d5r6t.com',
  'User-Agent': 'UnityPlayer/2019.2.11f1 (UnityWebRequest/1.0, libcurl/7.52.0-DEV)',
  'Content-Type': 'application/x-www-form-urlencoded',
  'X-Unity-Version': '2019.2.11f1',
  'Content-Length': '28'
}
data = ("content=eyJ0eXBlIjozfQ%3d%3d")
data1 = ("content=eyJ0eXBlIjoyfQ%3d%3d")
r = requests.post(url, data= data, headers=headers1)
r1 = requests.post(url, data= data1, headers=headers1)
print(r.text)
print(r1.text)
headers2 = {
  'Host': 'login.ma7hrte3s4d5r6t.com',
  'User-Agent': 'UnityPlayer/2019.2.11f1 (UnityWebRequest/1.0, libcurl/7.v52.0-DEV)',
  'Content-Type': 'application/x-www-form-urlencoded',
  'X-Unity-Version': '2019.2.11f1',
  'Content-Length': '88'
}


first1 = '{"type":5,"PhoneNumber":"'
second1 = '","phoneArea":"063"}'
final1 = first1 + number + second1
headers= {
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "en-US,en;q=0.9",
"Cache-control": "max-age=0",
"Content-Length": "97",
"Content-Type": "application/x-www-form-urlencoded",
"User-agent": 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.67 Safari/537.36',
"Cookie": "__gads=ID=e04d55e1c5b84d3c-22b995e999d300d9:T=1653821983:RT=1653821983:S=ALNI_Mbu5QR_ImulHFNMHG9Ft5Wn3EHxRA; __gpi=UID=000005ec024c3b1a:T=1653821983:RT=1653821983:S=ALNI_MamBT1Gr84D8NI9Lq4JKPK0dlnQYw"
}
print(final1)
post = {
  "request": final1
}
en = requests.post("https://www.base64encode.net/", data=post, headers=headers)
soup = BeautifulSoup(en.text, 'html.parser')
div = soup.find("div", {"id":"response"})
okay = ("content="+div.text)
one = requests.post(url1, data=okay, headers=headers2)
print(one.text)
print(okay)


first = '{"phoneArea":"063","phone":"'
second = '","type":"1"}'
ok = first + number + second
post1 = {
  "request": ok
}
en1 = requests.post("https://www.base64encode.net/", data=post1, headers=headers)
soup1 = BeautifulSoup(en1.text, 'html.parser')
div1 = soup1.find("div", {"id":"response"})
o = div1.text + "=="
okay1= ("content="+o)
headers3 = {
  'Host': 'login.ma7hrte3s4d5r6t.com',
  'User-Agent': 'UnityPlayer/2019.2.11f1 (UnityWebRequest/1.0, libcurl/7.v52.0-DEV)',
  'Content-Type': 'application/x-www-form-urlencoded',
  'X-Unity-Version': '2019.2.11f1',
  'Content-Length': '80',
  'Accept-Encoding': "deflate,gzip"
}
two = requests.post(url2, data=okay1, headers=headers3)
print(two.text)
print(okay1)