Commit 7925694c authored by wang's avatar wang

f9 test

parent e44ddd95
...@@ -9,19 +9,19 @@ ...@@ -9,19 +9,19 @@
</head> </head>
<body> <body>
<script> <script>
window._pxVid = '0d23fe7e-87ba-11ee-9670-cd751a140603'; window._pxVid = 'a00c865a-883c-11ee-9488-da4457dd0ef6';
window._pxUuid = '64247278-96aa-4772-a492-9186669dc741'; window._pxUuid = '1ff0199e-2953-439e-9dbc-fa6528799c44';
window._pxAppId = 'PXVb73hTEg'; window._pxAppId = 'PXVb73hTEg';
window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net'; window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net';
window._pxCustomLogo = ''; window._pxCustomLogo = '';
window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js'; window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js';
window._pxFirstPartyEnabled = 'false'; window._pxFirstPartyEnabled = 'false';
var script = document.createElement('script'); var script = document.createElement('script');
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=64247278-96aa-4772-a492-9186669dc741&v=0d23fe7e-87ba-11ee-9670-cd751a140603&m=0'; script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=&u=1ff0199e-2953-439e-9dbc-fa6528799c44&v=a00c865a-883c-11ee-9488-da4457dd0ef6&m=0';
document.head.appendChild(script); document.head.appendChild(script);
script.onerror = function () { script.onerror = function () {
script = document.createElement('script'); script = document.createElement('script');
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=64247278-96aa-4772-a492-9186669dc741&v=0d23fe7e-87ba-11ee-9670-cd751a140603&m=0'; script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=&u=1ff0199e-2953-439e-9dbc-fa6528799c44&v=a00c865a-883c-11ee-9488-da4457dd0ef6&m=0';
script.onerror = window._pxDisplayErrorMessage; script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script); document.head.appendChild(script);
}; };
......
...@@ -344,7 +344,6 @@ class PxBypass(): ...@@ -344,7 +344,6 @@ class PxBypass():
# sid, vid,ts, num1 ,num2,str1, uuid # sid, vid,ts, num1 ,num2,str1, uuid
data_str = ctxStep2.call('genPayload3', self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2, data_str = ctxStep2.call('genPayload3', self.target_url, self.sid, self.vid, self.ts, self.num1, self.num2,
self.str1, self.uuid, self.performanceNow) self.str1, self.uuid, self.performanceNow)
self.log.info(f'data_str3 {data_str}')
self.do_collector(data_str) self.do_collector(data_str)
...@@ -378,15 +377,24 @@ class PxBypass(): ...@@ -378,15 +377,24 @@ class PxBypass():
self.cookies.update({ self.cookies.update({
'pxcts': self.cts 'pxcts': self.cts
}) })
self.session.cookies.update({
'pxcts': self.cts
})
if 'pxde' in i: if 'pxde' in i:
self.cookies.update({ self.cookies.update({
'_pxde': tmp[3] '_pxde': tmp[3]
}) })
self.session.cookies.update({
'_pxde': tmp[3]
})
elif '_px2' in i: elif '_px2' in i:
self.cookies.update({ self.cookies.update({
'_px2': tmp[3] '_px2': tmp[3]
}) })
self.session.cookies.update({
'_px2': tmp[3]
})
self.log.info(f'px2_decode {base64.b64decode(tmp[3].encode()).decode()}') self.log.info(f'px2_decode {base64.b64decode(tmp[3].encode()).decode()}')
# elif '31536000' in i: # elif '31536000' in i:
# self.cookies.update({ # self.cookies.update({
......
...@@ -4927,8 +4927,8 @@ function genPayload2(url, sid, vid, ts, num1, num2, str1, uuid, startTs, startTs ...@@ -4927,8 +4927,8 @@ function genPayload2(url, sid, vid, ts, num1, num2, str1, uuid, startTs, startTs
// "PX11431": 1692944411084, // 0III0III // "PX11431": 1692944411084, // 0III0III
"PX11431": parseInt(ts), // "PX11431": parseInt(ts), //
// "75602>44073>?2261175": "46531=77340=<1152246", // "75602>44073>?2261175": "46531=77340=<1152246",
"PX12454": num1, // 0III0II0 "PX12454": parseInt(num1), // 0III0II0
"PX11701": num2, // I00III "PX11701": num2.substring(0,80), // I00III
"PX11529": memory.usedJSHeapSize,// usedJSHeapSize "PX11529": memory.usedJSHeapSize,// usedJSHeapSize
// "PX11529": 74208842,// usedJSHeapSize // "PX11529": 74208842,// usedJSHeapSize
"PX11555": memory.jsHeapSizeLimit,// jsHeapSizeLimit "PX11555": memory.jsHeapSizeLimit,// jsHeapSizeLimit
......
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