Commit d2a60350 authored by wang's avatar wang

测试

parent fd4fa07f
No preview for this file type
...@@ -57,8 +57,8 @@ for i in range(100): ...@@ -57,8 +57,8 @@ for i in range(100):
t1 = time.time() t1 = time.time()
# r = requests.get('http://127.0.0.1:5000/getinfo').json()['message'] # r = requests.get('http://127.0.0.1:5000/getinfo').json()['message']
# r = requests.get('http://127.0.0.1:3001').json() # r = requests.get('http://127.0.0.1:3001').json()
# p = subprocess.Popen(['node', 'js_dom_run.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE, p = subprocess.Popen(['node', 'js_dom_run.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p = subprocess.Popen(['node', 'src_run1.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE, # p = subprocess.Popen(['node', 'src_run1.js', selectId], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
stderr=subprocess.PIPE) stderr=subprocess.PIPE)
output, err = p.communicate(timeout=10) output, err = p.communicate(timeout=10)
tmp = '' tmp = ''
...@@ -112,9 +112,9 @@ for i in range(100): ...@@ -112,9 +112,9 @@ for i in range(100):
} }
proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}' proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{int(random.randint(10000, 11149))}'
# proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}' # proxy = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@198.147.25.26:{int(random.randint(10000, 11149))}'
proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600' # proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://127.0.0.1:7890' proxy = 'http://127.0.0.1:7890'
session = tls_client.Session(client_identifier='chrome_112') session = tls_client.Session(client_identifier='chrome_112', random_tls_extension_order=True)
session.proxies = { session.proxies = {
'http': proxy, 'http': proxy,
'https': proxy, 'https': proxy,
......
This diff is collapsed.
...@@ -129,7 +129,9 @@ const proxy = function (tt, name) { ...@@ -129,7 +129,9 @@ const proxy = function (tt, name) {
get(target, p, receiver) { get(target, p, receiver) {
let res = Reflect.get(target, p, receiver); let res = Reflect.get(target, p, receiver);
// if (p !== 'debug' && p !== 'Object') { // if (p !== 'debug' && p !== 'Object') {
console.log(`${name} get`, p, typeof res) if (!['Array', 'Math', 'Function', 'Object', 'ENV'].includes(p)) console.log(`${name} get`, p, typeof res)
// } // }
......
This diff is collapsed.
Date.now = function now() { Date.now = function now() {
return 1685096207545 return 1685096207545
}; };
Date.parse = function () { Date.parse = function () {
...@@ -21,7 +21,6 @@ Math.random = function random() { ...@@ -21,7 +21,6 @@ Math.random = function random() {
return 0.08636862211354912 return 0.08636862211354912
}; };
con3 = function(){}; con3 = function(){};
con4 = console.log;
(function L(T) { (function L(T) {
var p = new Error("HALT"); var p = new Error("HALT");
var Z = {}, c = {}; var Z = {}, c = {};
...@@ -2130,22 +2129,20 @@ con4 = console.log; ...@@ -2130,22 +2129,20 @@ con4 = console.log;
}, function (jR) { }, function (jR) {
"use strict"; "use strict";
let res = jR.R[jR.R.length - 2][jR.R[jR.R.length - 1]]; let res = jR.R[jR.R.length - 2][jR.R[jR.R.length - 1]];
con3(jR.R[jR.R.length - 2], 'get', jR.R[jR.R.length - 1], '==>', res) con3(jR.R[jR.R.length - 2].ENV?"window":jR.R[jR.R.length - 2], 'get', jR.R[jR.R.length - 1], '==>', res)
if (jR.R[jR.R.length - 1] === 5 && typeof res === 'boolean' if (jR.R[jR.R.length - 1] === 5 && typeof res === 'boolean'
// && jR.R[jR.R.length - 2].length === 3 // && jR.R[jR.R.length - 2].length === 3
){ ){
console.log(jR.R[jR.R.length - 2]) console.log(jR.R[jR.R.length - 2])
console.log()
// console.log(jR.R[jR.R.length - 2].join('')); // console.log(jR.R[jR.R.length - 2].join(''));
// debugger; // debugger;
} }
// if ( jR.R[jR.R.length - 1] === 'length' && Array.isArray(jR.R[jR.R.length - 2]) && jR.R[jR.R.length - 2].length > 1000){ if ( res === 'search'){
// console.log(JSON.stringify(jR.R[jR.R.length - 2])); console.log(JSON.stringify(jR.R[jR.R.length - 2]));
// // debugger; // debugger;
//
// } }
// if(jR.R[jR.R.length - 2].length === 10003){
// debugger;
// }
jR.R[jR.R.length - 2] = res; jR.R[jR.R.length - 2] = res;
if (Array.isArray(jR.R[jR.R.length - 2]) && jR.R[jR.R.length - 2].length === 60) { if (Array.isArray(jR.R[jR.R.length - 2]) && jR.R[jR.R.length - 2].length === 60) {
let res = []; let res = [];
...@@ -2158,7 +2155,7 @@ con4 = console.log; ...@@ -2158,7 +2155,7 @@ con4 = console.log;
} }
}) })
con4([].slice.call(res).join('iii')) console.log([].slice.call(res).join('iii'))
} }
jR.R[jR.R.length - 2] = res; jR.R[jR.R.length - 2] = res;
jR.R.length -= 1 jR.R.length -= 1
...@@ -3231,6 +3228,19 @@ con4 = console.log; ...@@ -3231,6 +3228,19 @@ con4 = console.log;
} }
lN = ls.v(); lN = ls.v();
// console.log([].slice.call(ls.R)) // console.log([].slice.call(ls.R))
if (Array.isArray(ls.R[ls.R.length - 2]) && ls.R[ls.R.length - 2].length === 60) {
let res = [];
ls.R[ls.R.length - 2].forEach((e, i) => {
if (e && e.length == 2) {
res.push(i + '==' + e[1].length + '=>')
res.push(e[1] + '')
} else {
res.push(i + '==0=>iii')
}
})
console.log([].slice.call(res).join('iii'))
}
if (ls.w.length === 0) { if (ls.w.length === 0) {
TH[lN](ls) TH[lN](ls)
} else { } else {
...@@ -3240,5 +3250,5 @@ con4 = console.log; ...@@ -3240,5 +3250,5 @@ con4 = console.log;
} }
lZ(0, 0, null, [1, 2, 0, 3], [], [], void 0, void 0)() lZ(0, 0, null, [1, 2, 0, 3], [], [], void 0, void 0)()
}(typeof window !== "undefined" && window != null && window.window === window ? window : typeof global !== "undefined" && global != null && global.global === global ? global : this)) }(window))
;(function(e,d){var isk=["QxaaiXRLC"];for(var i=0;i<isk.length;++i){e.initCustomEvent(isk[i],false,false,d);dispatchEvent(e)}}(document.createEvent("CustomEvent"),["AwQRxl-KAQAAggIRgEVo1D8ztt0bC7185XvJmXdnHo4HMbXjQ8E8D2RFzdOxAXL3RNjURuIXSzkAAAAAAAAAAA==","PZYR7zXkhBy30vncMIsAa6id2fSWqUeV5DmO8jwpK1t-H_gEoQJ=lGrx4bTCu9LFN",[],[1226976960,602902978,1352701022,387738782,1840777151,336367646,93398357,1585327211],document.currentScript&&document.currentScript.nonce||"Z9AAPdeWWCkx7swrCKBARw0y",document.currentScript&&document.currentScript.nonce||"Z9AAPdeWWCkx7swrCKBARw0y",[],typeof arguments==="undefined"?void 0:arguments])) ;(function(e,d){var isk=["QxaaiXRLC"];for(var i=0;i<isk.length;++i){e.initCustomEvent(isk[i],false,false,d);dispatchEvent(e)}}(document.createEvent("CustomEvent"),["AwQRxl-KAQAAggIRgEVo1D8ztt0bC7185XvJmXdnHo4HMbXjQ8E8D2RFzdOxAXL3RNjURuIXSzkAAAAAAAAAAA==","PZYR7zXkhBy30vncMIsAa6id2fSWqUeV5DmO8jwpK1t-H_gEoQJ=lGrx4bTCu9LFN",[],[1226976960,602902978,1352701022,387738782,1840777151,336367646,93398357,1585327211],document.currentScript&&document.currentScript.nonce||"Z9AAPdeWWCkx7swrCKBARw0y",document.currentScript&&document.currentScript.nonce||"Z9AAPdeWWCkx7swrCKBARw0y",[],typeof arguments==="undefined"?void 0:arguments]))
\ No newline at end of file
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