Commit 7a16ad18 authored by wang's avatar wang

加密函数 转 py

parent f8c3c7ef
......@@ -67,7 +67,7 @@ class PxBypass():
prox = 'http://user-uni001-region-us-sessid-1111-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
prox = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:9000'
prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
prox = 'http://127.0.0.1:7890'
# prox = 'http://127.0.0.1:7890'
session.proxies = {
'http': prox,
'https': prox,
......@@ -99,6 +99,7 @@ class PxBypass():
self.pxUrl = f"https://collector-{self.appId}.px-cloud.net/api/v2/collector"
self.target_url = target_url
self.log = logger.bind(module_name='px')
self.log.info(f'proxy: {self.prox}')
def inc(self):
self.seq += 1
......@@ -262,7 +263,7 @@ class PxBypass():
f.append(255 & s)
for i in ys:
f.append(i)
print(f)
# print(f)
# 18992390-8912-11ee-a2e1-b3b33c4f608f
# 70e50290-8911-11ee-bc61-f92af0d8127e
# f = [112,229,2,144,137,17,17,238,188,97,249,42,240,216,18,126]
......
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