Commit 4df8d3cb authored by wang's avatar wang

uuid

parent 18f37791
......@@ -9,19 +9,19 @@
</head>
<body>
<script>
window._pxVid = '429a198b-8889-11ee-ac19-826f33e695d8';
window._pxUuid = 'a34c34c3-22ff-4cfd-b243-23bce2e1b3c1';
window._pxVid = 'dda98c53-88fe-11ee-b1d0-462e4e6aaa17';
window._pxUuid = '304283c8-4d90-49cd-84b3-39b091404f5c';
window._pxAppId = 'PXVb73hTEg';
window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net';
window._pxCustomLogo = '';
window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js';
window._pxFirstPartyEnabled = 'false';
var script = document.createElement('script');
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=a34c34c3-22ff-4cfd-b243-23bce2e1b3c1&v=429a198b-8889-11ee-ac19-826f33e695d8&m=0';
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=304283c8-4d90-49cd-84b3-39b091404f5c&v=dda98c53-88fe-11ee-b1d0-462e4e6aaa17&m=0';
document.head.appendChild(script);
script.onerror = function () {
script = document.createElement('script');
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=a34c34c3-22ff-4cfd-b243-23bce2e1b3c1&v=429a198b-8889-11ee-ac19-826f33e695d8&m=0';
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=304283c8-4d90-49cd-84b3-39b091404f5c&v=dda98c53-88fe-11ee-b1d0-462e4e6aaa17&m=0';
script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script);
};
......
......@@ -147,7 +147,7 @@ class PxBypass():
self.seq = 0
self.rsc = 1
self._step_1()
# self.seq += 1
self.seq += 1
# self._step_11()
# time.sleep(1.5)
......@@ -194,8 +194,9 @@ class PxBypass():
# f.write(res.text)
def __uuid(self):
return str(uuid.uuid4())
return "b8a39670-7866-11ee-9655-63a4f05cd5d1"
return ctxStep2.call('genUuid')
# return str(uuid.uuid4())
# return "b8a39670-7866-11ee-9655-63a4f05cd5d1"
def _step_1(self):
t1 = int(time.time() * 1000)
......@@ -253,7 +254,7 @@ class PxBypass():
# cks.append(f'{k}={v}')
# # resp = requests.post('http://127.0.0.1:59001/akamai/gen', json={
# self.prox = f'http://user-uni001-region-us-sessid-{random.randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# self.prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
self.prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
cks = []
for k, v in self.cookies.items():
cks.append(f'{k}={v}')
......@@ -261,8 +262,8 @@ class PxBypass():
cks.append(f'{k}={v}')
print('; '.join(cks))
url = 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-11-30&ADT=1&umnr=false&mon=true'
# response = requests.post('http://52.52.23.116/tls/forward',
response = requests.post('http://127.0.0.1:58000/tls/forward',
response = requests.post('http://52.52.23.116/tls/forward',
# response = requests.post('http://127.0.0.1:58000/tls/forward',
json=dict(url=url, headers={
"authority": "booking.flyfrontier.com",
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
......
......@@ -7,9 +7,12 @@ session = tls_client.Session(client_identifier='chrome_112')
prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
prox = 'http://user-uni001-region-us-sessid-1111-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://user-uni001-region-us-sessid-1111-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
cks = '_pxvid=60298cf0-890e-11ee-a91f-673b3b24dbf9; pxcts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ZDBkZWE5ODQxYzQxN2Q1NzhkMWYyMmJjYjMwODY2In0=; pxcts=7307f1f0-8879-11ee-a411-eb292611a785'
# cks = ''
......@@ -38,5 +41,6 @@ response = requests.post('http://52.52.23.116/tls/forward',
# ,allow_redirects=True
))
response = response.json()
print(response)
print(response['status_code'])
print(response['text'])
\ No newline at end of file
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