Commit a6b8d690 authored by wang's avatar wang

update 8.7.8

parent cfb23998
...@@ -272,7 +272,7 @@ function i(n) { ...@@ -272,7 +272,7 @@ function i(n) {
u = o[n]; u = o[n];
} else { } else {
for (var c = a(n), u = "", f = 0; f < c["length"]; ++f) { for (var c = a(n), u = "", f = 0; f < c["length"]; ++f) {
var s = "epvWEbf"["charCodeAt"](f % 7); var s = "H6bJaHJ"["charCodeAt"](f % 7);
u += String["fromCharCode"](s ^ c["charCodeAt"](f)); u += String["fromCharCode"](s ^ c["charCodeAt"](f));
} }
o[n] = u; o[n] = u;
...@@ -281,47 +281,47 @@ function i(n) { ...@@ -281,47 +281,47 @@ function i(n) {
} }
traverse(ast, { // traverse(ast, {
FunctionDeclaration(path) { // FunctionDeclaration(path) {
let {id, body} = path.node; // let {id, body} = path.node;
if (id.name !== 'J') return; // if (id.name !== 'J') return;
let binding = path.parentPath.scope.getBinding(id.name) // let binding = path.parentPath.scope.getBinding(id.name)
console.log(id.name, binding.references) // console.log(id.name, binding.references)
for (const referencePath of binding.referencePaths) { // for (const referencePath of binding.referencePaths) {
// console.log(generator(referencePath.parent).code, referencePath.parent.type) // // console.log(generator(referencePath.parent).code, referencePath.parent.type)
if (types.isVariableDeclarator(referencePath.parent)) { // if (types.isVariableDeclarator(referencePath.parent)) {
let idName = referencePath.parent.id.name; // let idName = referencePath.parent.id.name;
getBinding(referencePath.scope, idName, function (p) { // getBinding(referencePath.scope, idName, function (p) {
if (types.isCallExpression(p.parent)) { // if (types.isCallExpression(p.parent)) {
let arguments = p.parent.arguments; // let arguments = p.parent.arguments;
if (arguments.length !== 1) return // if (arguments.length !== 1) return
try { // try {
let res = J(arguments[0].value); // let res = J(arguments[0].value);
if (res === 'PX12571') debugger; // if (res === 'PX12571') debugger;
p.parentPath.replaceWith(types.valueToNode((res))) // p.parentPath.replaceWith(types.valueToNode((res)))
} catch (e) { // } catch (e) {
// console.error(generator(p.parent).code) // // console.error(generator(p.parent).code)
//
} // }
} // }
//
}) // })
//
} else if (types.isCallExpression(referencePath.parent)) { // } else if (types.isCallExpression(referencePath.parent)) {
let arguments = referencePath.parent.arguments; // let arguments = referencePath.parent.arguments;
if (arguments.length !== 1) continue // if (arguments.length !== 1) continue
try { // try {
let res = U(arguments[0].value); // let res = U(arguments[0].value);
referencePath.parentPath.replaceWith(types.valueToNode((res))) // referencePath.parentPath.replaceWith(types.valueToNode((res)))
} catch (e) { // } catch (e) {
// console.error(generator(p.parent).code) // // console.error(generator(p.parent).code)
//
} // }
} // }
//
} // }
} // }
}) // })
// U // U
...@@ -411,100 +411,7 @@ traverse(ast, { ...@@ -411,100 +411,7 @@ traverse(ast, {
}) })
//end //end
console.timeEnd("处理完毕,耗时"); console.timeEnd("处理完毕,耗时");
function isNodePure(node, scope) {
if (types.isLiteral(node)) {
return true;
}
return false
if (types.isUnaryExpression(node)) {
return isNodePure(node.argument, scope)
}
if (types.isIdentifier(node)) {//处理 var c = String;
if (scope && scope.isPure(node, true)) {
return true;
}
if (typeof this[node.name] != 'undefined') {
return true;
}
return false;
}
if (types.isMemberExpression(node)) {//处理 var d = String.fromCharCode;
let {object, property, computed} = node;
if (computed && !isNodePure(property, scope)) {
return false;
}
if (isNodePure(object, scope)) {
return true;
}
if (types.isIdentifier(object)) {
let name = object.name;
if (typeof this[name] != 'undefined' && name != 'window') {//注意object为window时,可能会还原出错
return true;
}
return false;
}
if (types.isMemberExpression(object)) {
return isNodePure(object, scope);
}
return false;
}
if (types.isBinary(node) && scope) {
return isNodePure(node.left, scope) && isNodePure(node.right, scope);
}
return false;
}
const restoreVarDeclarator = {
VariableDeclarator(path) {
let scope = path.scope;
let {id, init} = path.node;
if (!init && (!types.isNumericLiteral(init) || !types.isStringLiteral(init))) return
if (id.name === 'c' && init.value === 0) return
if (!types.isIdentifier(id) || !isNodePure(init, scope)) {
return;
}
const binding = scope.getBinding(id.name);
try {
var {
constant, referencePaths, constantViolations
} = binding; //变量的定义一定会有binding.
} catch (e) {
return;
}
if (constantViolations.length > 1) {
return;
}
if (init.name === 'i')return
if (constant || constantViolations[0] == path) {
for (let referPath of referencePaths) {
// console.log(init.value)
// console.log(id.name, referPath.type, generator(referPath.container).code, generator(init).code)
referPath.replaceWith(init);
}
// console.log(path.toString())
// path.remove();//没有被引用,或者替换完成,可直接删除
}
},
}
traverse(ast, restoreVarDeclarator)
let {code} = generator(ast, opts = {jsescOption: {"minimal": true}}); let {code} = generator(ast, opts = {jsescOption: {"minimal": true}});
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
<body> <body>
<script> <script>
window._pxVid = ''; window._pxVid = '';
window._pxUuid = 'e2cb612b-a156-11ee-85c0-8764a8ef6d46'; window._pxUuid = 'f1703b3c-a716-11ee-acc5-cae790565212';
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=e2cb612b-a156-11ee-85c0-8764a8ef6d46&v=&m=0'; script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=f1703b3c-a716-11ee-acc5-cae790565212&v=&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=e2cb612b-a156-11ee-85c0-8764a8ef6d46&v=&m=0'; script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=f1703b3c-a716-11ee-acc5-cae790565212&v=&m=0';
script.onerror = window._pxDisplayErrorMessage; script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script); document.head.appendChild(script);
}; };
......
...@@ -111,27 +111,28 @@ export function getPayload(uuid, vid, sid, ci, ts,cts, t, pxhd, appId,tag, ft, c ...@@ -111,27 +111,28 @@ export function getPayload(uuid, vid, sid, ci, ts,cts, t, pxhd, appId,tag, ft, c
let vh = null; let vh = null;
// console.log('now', le(), JSON.stringify(t)) // console.log('now', le(), JSON.stringify(t))
// for (var m = Vc(), M = 0; M < t["length"]; M++) { for (var m = Vc(), M = 0; M < t["length"]; M++) {
// var g = t[M]; var g = t[M];
// g["d"]["PX11379"] = false; g["d"]["PX11379"] = false;
// // if (cap){ // if (cap){
// // m && (g["d"]["PX12307"] = m); m && (g["d"]["PX12307"] = m);
// // g["d"]["PX12615"] = Bu; g["d"]["PX12615"] = Bu;
// // vh && (g["d"]["PX11375"] = vh); vh && (g["d"]["PX11375"] = vh);
// // var y = rl(); var y = rl();
// // y && (g["d"]["PX11668"] = y, g["d"]["PX12348"] = sl()); g["d"]["PX11668"] = 'pxhc'
// // } g["d"]["PX12348"] = false;
//
// } // }
// !function (t) {
// t[0] && t[0]["d"] && ((t[0] && t[0]["d"])["PX11645"] = su); }
// }(t); !function (t) {
// console.log('now', JSON.stringify(t)) t[0] && t[0]["d"] && ((t[0] && t[0]["d"])["PX11645"] = su);
}(t);
console.log('now', JSON.stringify(t))
// var A = $u(); // var A = $u();
var A = ci; var A = ci;
var V = se(ht(t), function (t, e) { var V = se(ht(t), function (t, e) {
return [uuid, t, e]['join'](":"); return [uuid, t, e]['join'](":");
}(Us[In], Us[Sn])); }(tag, ft));
var b = { var b = {
"vid": vid, "vid": vid,
"tag": Us[In], "tag": Us[In],
......
...@@ -24,8 +24,8 @@ log4js.configure({ ...@@ -24,8 +24,8 @@ log4js.configure({
}); });
class PxBypass { class PxBypass {
tag = "v8.7.2" tag = "v8.7.8"
ft = "317" ft = "318"
appId = "PXVb73hTEg" appId = "PXVb73hTEg"
ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
// ua = "Mozilla/5.0 (Linux; Android 10; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36"; // ua = "Mozilla/5.0 (Linux; Android 10; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36";
......
...@@ -75,7 +75,7 @@ function createPx1(t) { ...@@ -75,7 +75,7 @@ function createPx1(t) {
export function getPX12573(a, b, c) { export function getPX12573(a, b, c) {
let t = function (e, q, w) { let t = function (e, q, w) {
return (e + 13417) * q["charCodeAt"](13); return (e * 53975) * q["charCodeAt"](27);
// }["apply"](null, ['0III0III', 'I000I0', 'uuid']) // }["apply"](null, ['0III0III', 'I000I0', 'uuid'])
}["apply"](null, [a, b, c]) }["apply"](null, [a, b, c])
// console.log(t) // console.log(t)
......
...@@ -27,8 +27,8 @@ async function sleep(ms) { ...@@ -27,8 +27,8 @@ async function sleep(ms) {
} }
class PxBypass { class PxBypass {
tag = "v8.7.2" tag = "v8.7.8"
ft = "317" ft = "318"
appId = "PXVb73hTEg" appId = "PXVb73hTEg"
ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
...@@ -145,7 +145,8 @@ class PxBypass { ...@@ -145,7 +145,8 @@ class PxBypass {
let body = getPayload(this.uuid, this.vid, this.sid, this.px755, this.ts, this.cts, data, undefined, this.appId, this.tag, this.ft) let body = getPayload(this.uuid, this.vid, this.sid, this.px755, this.ts, this.cts, data, undefined, this.appId, this.tag, this.ft)
// this.log.info(body) // this.log.info(body)
body.push(`seq=${this.seq}`)
body.push(`rsc=${this.rsc}`)
let res = await axios.post(this.tlsUrl, JSON.stringify({ let res = await axios.post(this.tlsUrl, JSON.stringify({
url: this.pxUrl, url: this.pxUrl,
method: "POST", method: "POST",
...@@ -255,8 +256,8 @@ class PxBypass { ...@@ -255,8 +256,8 @@ class PxBypass {
let data = [{ let data = [{
"t": "PX12095", "t": "PX12095",
"d": { "d": {
"PX11645": this.url, "PX12207": 0, "PX12458": this.env.navigatorparams.platform, "PX11902": 0, "PX11645": this.url, "PX12207": 1, "PX12458": this.env.navigatorparams.platform, "PX11902": 0,
"PX11560": randint(24846, 24846 * 2), "PX12248": 3600, "PX11385": t1, "PX12280": t2, "PX11560": randint(1600, 2600), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": this.uuid, "PX12564": null, "PX12565": -1, "PX11496": this.uuid, "PX12564": null, "PX12565": -1,
"PX11379": true "PX11379": true
} }
......
...@@ -56,10 +56,13 @@ a2 = "UisrUitSHhEBDRAHHlIeAAsMAxAbHBwcHCsrKysrUh49EhpQHlFRUh4HGyhTKwgNCywYNxo4Ji ...@@ -56,10 +56,13 @@ a2 = "UisrUitSHhEBDRAHHlIeAAsMAxAbHBwcHCsrKysrUh49EhpQHlFRUh4HGyhTKwgNCywYNxo4Ji
a2 = "KysrKytSHj0SGlAeUVFSHgcbKFMrCA0LLBg3GjgmLxUvJTcWLCY7UiwbUhovNTQOLjUnFSw1MxYsNjtSODY3GiwmO1AtNjNWKwsVCwYLK1QrCAVWLBgoCy82DgsuNjNQLCYBFi82JA44MVJWLSU7Vi42Ixo4JgFSLDUwCywYJ1YvMSsRKwwzCy0IJ1AtN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INGw=="
b2 = base64.b64decode(a2.encode()) b2 = base64.b64decode(a2.encode())
for i in bytes(encrypt(b2, 866%128)).decode().split('~~~~'): for i in bytes(encrypt(b2, 878%128)).decode().split('~~~~'):
print('o11o111o'in i, i) print('o11o111o'in i, i)
......
...@@ -15,8 +15,7 @@ prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrac ...@@ -15,8 +15,7 @@ prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrac
# prox = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:12019' # prox = 'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:12019'
cks = 'px2=eyJ1I11joiMGI3ZTQwZjAtYTEzYi0x23123MWVlLWE3ZTctYjU1Njk2NDc0ODExIiwidiI6IjBiZmRhMWZiLWExM2ItMTFlZS1hNDM4LTg0NTQ3ZjI1MTRhMSIsInQiOjE3MDMyOTg4NTAxNjMsImgiOiIxZjc4OTM2224YmE0OTFlMTBjNWFmMWNmYzZlMjljMTdjNGIyYzc5MDY3MTVlYjMwZmE3M2ZlYzQ0YjA0NTBkMWU0In0=' cks = 'px2=eyJ1I11joiMGI3ZTQwZjAtYTEzYi0x23123MWVlLWE3ZTctYjU1Njk2NDc0ODExIiwidiI6IjBiZmRhMWZiLWExM2ItMTFlZS1hNDM4LTg0NTQ3ZjI1MTRhMSIsInQiOjE3MDMyOTg4NTAxNjMsImgiOiIxZjc4OTM2224YmE0OTFlMTBjNWFmMWNmYzZlMjljMTdjNGIyYzc5MDY3MTVlYjMwZmE3M2ZlYzQ0YjA0NTBkMWU0In0='
cks = ''
cks = '_pxvid=d5dfee38-a156-11ee-a3eb-5e49e31283e7; pxcts=d5e05d75-a156-11ee-a3ec-4b37e013b19d; _px2=eyJ1IjoiZDU5YjUzZDAtYTE1Ni0xMWVlLWI0NzEtYWY1YjljNDY5MWIyIiwidiI6ImQ1ZGZlZTM4LWExNTYtMTFlZS1hM2ViLTVlNDllMzEyODNlNyIsInQiOjE3MDMzMTA3ODQ1NzksImgiOiI0MTcxMGNjZTNlM2M4MjU2NjljOGJmODBlZjBjZGNlNzQwYTVjYmVkNjBjOTllMDM2ZGFlZTE4ZjY1NmY0ODFlIn0='
...@@ -31,7 +30,7 @@ response = requests.post('http://52.52.23.116/tls/forward', ...@@ -31,7 +30,7 @@ response = requests.post('http://52.52.23.116/tls/forward',
"sec-ch-ua-mobile": "?0", "sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": "\"macOS\"", "sec-ch-ua-platform": "\"macOS\"",
"upgrade-insecure-requests": "1", "upgrade-insecure-requests": "1",
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36", # "user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
"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", "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",
"sec-fetch-site": "none", "sec-fetch-site": "none",
"sec-fetch-mode": "navigate", "sec-fetch-mode": "navigate",
......
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