Commit 4c06d308 authored by wang's avatar wang

f9

parent 77f1bdba
......@@ -105,8 +105,8 @@ class PxBypass {
// Query for a movie that has the title 'The Room'
const query = {
'env.funcs': {$ne: null},
'env.navigatorparams.platform': 'MacIntel',
// 'env.navigatorparams.platform': 'Win32',
// 'env.navigatorparams.platform': 'MacIntel',
'env.navigatorparams.platform': 'Win32',
"env.navigatorparams.vendor": "Google Inc.",
// 'env.useragentdata.highvalue.uafullversion':{$ne:null},
'env.useragentdata.highvalue.uafullversion': {$ne: ""}
......@@ -5098,7 +5098,7 @@ class PxBypass {
}
async step1() {
this.log.info("PX12095")
if (plt === 'darwin')this.log.info("PX12095")
// this.log.info('setp1')
let t1 = new Date().getTime();
......@@ -5128,7 +5128,7 @@ class PxBypass {
}
async step2() {
this.log.info("PX12167")
if (plt === 'darwin')this.log.info("PX12167")
this.performanceNow += randint(1000, 2000)
......@@ -5138,7 +5138,7 @@ class PxBypass {
}
async step3() {
this.log.info('11590')
if (plt === 'darwin')this.log.info('11590')
this.performanceNow = randint(3000, 4000)
// let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid,
......@@ -5149,7 +5149,7 @@ class PxBypass {
}
async step31() {
this.log.info("px11951")
if (plt === 'darwin')this.log.info("px11951")
this.performanceNow = randint(3000, 4000)
// let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
......@@ -5161,7 +5161,7 @@ class PxBypass {
}
async step4() {
this.log.info("px11547")
if (plt === 'darwin') this.log.info("px11547")
this.performanceNow += randint(1000, 2000)
// let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid,
......@@ -5210,7 +5210,7 @@ class PxBypass {
}
async do_func(func) {
this.log.info(func.t)
if (plt === 'darwin')this.log.info(func.t)
this.performanceNow += randint(1000, 2000)
let data = [func]
let res = await this.do_collector(data)
......
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