Commit 3bd06bbf authored by 王明明's avatar 王明明

222

parent a2ab93d7
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{"appId":"PXkp4CLSb5","jsClientSrc":"/kp4CLSb5/init.js","firstPartyEnabled":true,"vid":"66e3aaff-2c6b-11ee-8704-9d2bcfe3aad0","uuid":"0a417281-6870-1031-9f79-3f32a1130ea5","hostUrl":"/kp4CLSb5/xhr","blockScript":"/kp4CLSb5/captcha/kp4CLSb5/captcha.js?a=c&u=0a417281-6870-1031-9f79-3f32a1130ea5&v=66e3aaff-2c6b-11ee-8704-9d2bcfe3aad0&m=0","altBlockScript":"https://captcha.px-cloud.net/PXkp4CLSb5/captcha.js?a=c&u=0a417281-6870-1031-9f79-3f32a1130ea5&v=66e3aaff-2c6b-11ee-8704-9d2bcfe3aad0&m=0","customLogo":"https://content.spirit.com/a/1679"}
\ No newline at end of file
...@@ -26,10 +26,10 @@ class PxBypass(): ...@@ -26,10 +26,10 @@ class PxBypass():
'http': 'http://127.0.0.1:7890', 'http': 'http://127.0.0.1:7890',
'https': 'http://127.0.0.1:7890', 'https': 'http://127.0.0.1:7890',
} }
session.proxies = { # session.proxies = {
'http': "http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600", # 'http': "http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600",
'https': "http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600", # 'https': "http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600",
} # }
def __init__(self, target_url): def __init__(self, target_url):
self.target_url = target_url self.target_url = target_url
...@@ -82,9 +82,9 @@ class PxBypass(): ...@@ -82,9 +82,9 @@ class PxBypass():
"ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb", "ea", "eb", "ec", "ed", "ee", "ef", "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", "fa", "fb",
"fc", "fd", "fe", "ff"] "fc", "fd", "fe", "ff"]
bs = 0 bs = 0
ys = [63, 161, 165, 50, 14, 19] ys = [random.randint(10,255) for _ in range(6)]
random.shuffle(ys) # random.shuffle(ys)
Gs = 8057 Gs = random.randint(1100,9999)
Ws = 0 Ws = 0
s = Gs s = Gs
h = get_timestamp() h = get_timestamp()
...@@ -129,7 +129,7 @@ class PxBypass(): ...@@ -129,7 +129,7 @@ class PxBypass():
"PX11379": True}}] "PX11379": True}}]
data_str = json.dumps(data, separators=(',', ':')) data_str = json.dumps(data, separators=(',', ':'))
self.log.info(f'data_str {data_str}') self.log.info(f'data_str {data_str}')
o = self.encrypt(base64.b64encode('1604064986000'.encode()).decode(), 10)
payload = base64.b64encode(self.encrypt(data_str, 50)).decode() payload = base64.b64encode(self.encrypt(data_str, 50)).decode()
ctx = MiniRacer() ctx = MiniRacer()
ctx.eval(jsCode) ctx.eval(jsCode)
...@@ -151,7 +151,7 @@ class PxBypass(): ...@@ -151,7 +151,7 @@ class PxBypass():
"pxhd": self.params['_pxhd'], "pxhd": self.params['_pxhd'],
"rsc": "1" "rsc": "1"
} }
print(body)
url = "https://collector-pxkp4clsb5.px-cloud.net/api/v2/collector" url = "https://collector-pxkp4clsb5.px-cloud.net/api/v2/collector"
headers = { headers = {
"authority": "collector-pxkp4clsb5.px-cloud.net", "authority": "collector-pxkp4clsb5.px-cloud.net",
......
This source diff could not be displayed because it is too large. You can view the blob instead.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>
<script src="init.js"></script>
<script src="captcha.js"></script>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment