Commit 7e712395 authored by wang's avatar wang

收集环境

parent 80a3469a
......@@ -3375,6 +3375,7 @@ try {
}
function Gf(t, e) {
console.log(JSON.stringify(t));
var n = 426, r = 397, a = 415, o = 406, i = 434, c = 406, f = 426, l = 410, h = Tf;
if (t) {
for (var v, d = [], p = 0; p < t[h(n)]; p++) {
......@@ -3445,6 +3446,7 @@ try {
var $f = 0;
function tl(t, e) {
for (var n = i, r = uu(), a = 0; a < t.length; a++) {
var o = t[a];
o.d[n("Njt1YFEAXQ")] = ct, r && (o.d[n("Njt1Y1EHUw")] = r), o.d[n("Njt1Y1QGUQ")] = Ef(), o.d[n("Njt1Y1QFVA")] = Yf(), Of && (o.d[n("Njt1YFEAUQ")] = Of);
......@@ -3455,6 +3457,8 @@ try {
var e = i, n = t[0], r = n && n.d;
r && (r[e("Njt1YFQDUQ")] = pu)
}(t);
console.log(JSON.stringify(t));
var u, s, f = ro(), l = function (t, e) {
var n = yt(t, e);
try {
......
......@@ -47,7 +47,50 @@ class PxBypass {
this.pxUrl = `https://collector-${this.appId}.px-cloud.net/api/v2/collector`
this.log = log4js.getLogger('px')
this.px_11547_env = {"PX11352": "6c0049fd610b970526aca9d130f6a56b", "PX12292": "WebKit", "PX12032": "WebGL 1.0 (OpenGL ES 2.0 Chromium)", "PX11477": "126.8696939282454", "PX12491": "7523bf6e5dcadcffdae6b3063827e345", "PX11386": ["webdriver"], "PX11842": [], "PX11309": "d41d8cd98f00b204e9800998ecf8427e", "PX12149": ["[1, 1]", "[1, 511]", 8, "yes", 8, 24, 8, 16, 32, 16384, 1024, 16384, 16, 16384, 30, 16, 16, 1024, "[16384, 16384]", "no_fp", 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127], "PX11534": "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)", "PX12439": ["PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chrome PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chromium PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Microsoft Edge PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "WebKit built-in PDF::Portable Document Format::application/pdf~pdf::text/pdf~pdf"], "PX11811": [], "PX12503": "2da772f3cf778a9e4ec2e04676071789", "PX12109": "b908567e93d9ed24c036da7986349e97", "PX12299": true, "PX11455": "ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Max, Unspecified Version)", "PX12502": "9b6e8aa24c9c891c0ac12b35eec64b6a", "PX12362": "b12f6f6ef824e6fa2e4e686a6b3919f1", "PX12427": ["$n", "$r", "_a", "$d", "$t", "_e", "$e", "_n", "_t", "_d", "_", "_l", "$s", "$o", "_u", "$u"], "PX11536": ["ANGLE_instanced_arrays", "EXT_blend_minmax", "EXT_color_buffer_half_float", "EXT_disjoint_timer_query", "EXT_float_blend", "EXT_frag_depth", "EXT_shader_texture_lod", "EXT_texture_compression_bptc", "EXT_texture_compression_rgtc", "EXT_texture_filter_anisotropic", "EXT_sRGB", "KHR_parallel_shader_compile", "OES_element_index_uint", "OES_fbo_render_mipmap", "OES_standard_derivatives", "OES_texture_float", "OES_texture_float_linear", "OES_texture_half_float", "OES_texture_half_float_linear", "OES_vertex_array_object", "WEBGL_color_buffer_float", "WEBGL_compressed_texture_astc", "WEBGL_compressed_texture_etc", "WEBGL_compressed_texture_etc1", "WEBGL_compressed_texture_pvrtc", "WEBGL_compressed_texture_s3tc", "WEBGL_compressed_texture_s3tc_srgb", "WEBGL_debug_renderer_info", "WEBGL_debug_shaders", "WEBGL_depth_texture", "WEBGL_draw_buffers", "WEBGL_lose_context", "WEBGL_multi_draw"], "PX11927": "13ad77bdb5a7c270e9b902a6d693e6d3", "PX12354": "a800fce5b959a226aecf6a05b8bf928d", "PX12622": "016beb17dd57a6e446b36265284c0c9c", "PX11316": false, "PX12288": true, "PX12446": 33, "PX12586": 2, "PX12572": "a2de04d410d8297071522cb17af2ccdd", "PX11948": 1, "PX11448": true, "PX11551": "fd7149bbfb316699ef918fa7bb7510a8", "PX12130": ["$n", "$r", "_a", "$d", "$t", "_e", "$e", "_n", "_t", "_d", "_", "_l", "$s", "$o", "_u", "$u"], "PX12526": "c9a6cb64a9c6b14c5c489fd18fc4c35d", "PX11986": true, "PX12492": "c505c10e26a1b7a7741437db9f82916b", "PX12570": "78f763eab3a2082c63c66cf47f9e05a0", "PX11567": "WebKit WebGL", "PX12352": "Google Inc. (Apple)", "PX12525": "b1199c2b7aa9aa43f16fc345099c3f04", "PX12331": false, "PX12196": "missing", "PX12236": "fd7149bbfb316699ef918fa7bb7510a8"}
this.px_11547_env = {
"PX11352": "6c0049fd610b970526aca9d130f6a56b",
"PX12292": "WebKit",
"PX12032": "WebGL 1.0 (OpenGL ES 2.0 Chromium)",
"PX11477": "126.8696939282454",
"PX12491": "7523bf6e5dcadcffdae6b3063827e345",
"PX11386": ["webdriver"],
"PX11842": [],
"PX11309": "d41d8cd98f00b204e9800998ecf8427e",
"PX12149": ["[1, 1]", "[1, 511]", 8, "yes", 8, 24, 8, 16, 32, 16384, 1024, 16384, 16, 16384, 30, 16, 16, 1024, "[16384, 16384]", "no_fp", 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127, 23, 127, 127],
"PX11534": "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)",
"PX12439": ["PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chrome PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chromium PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Microsoft Edge PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "WebKit built-in PDF::Portable Document Format::application/pdf~pdf::text/pdf~pdf"],
"PX11811": [],
"PX12503": "2da772f3cf778a9e4ec2e04676071789",
"PX12109": "b908567e93d9ed24c036da7986349e97",
"PX12299": true,
"PX11455": "ANGLE (Apple, ANGLE Metal Renderer: Apple M1 Max, Unspecified Version)",
"PX12502": "9b6e8aa24c9c891c0ac12b35eec64b6a",
"PX12362": "b12f6f6ef824e6fa2e4e686a6b3919f1",
"PX12427": ["$n", "$r", "_a", "$d", "$t", "_e", "$e", "_n", "_t", "_d", "_", "_l", "$s", "$o", "_u", "$u"],
"PX11536": ["ANGLE_instanced_arrays", "EXT_blend_minmax", "EXT_color_buffer_half_float", "EXT_disjoint_timer_query", "EXT_float_blend", "EXT_frag_depth", "EXT_shader_texture_lod", "EXT_texture_compression_bptc", "EXT_texture_compression_rgtc", "EXT_texture_filter_anisotropic", "EXT_sRGB", "KHR_parallel_shader_compile", "OES_element_index_uint", "OES_fbo_render_mipmap", "OES_standard_derivatives", "OES_texture_float", "OES_texture_float_linear", "OES_texture_half_float", "OES_texture_half_float_linear", "OES_vertex_array_object", "WEBGL_color_buffer_float", "WEBGL_compressed_texture_astc", "WEBGL_compressed_texture_etc", "WEBGL_compressed_texture_etc1", "WEBGL_compressed_texture_pvrtc", "WEBGL_compressed_texture_s3tc", "WEBGL_compressed_texture_s3tc_srgb", "WEBGL_debug_renderer_info", "WEBGL_debug_shaders", "WEBGL_depth_texture", "WEBGL_draw_buffers", "WEBGL_lose_context", "WEBGL_multi_draw"],
"PX11927": "13ad77bdb5a7c270e9b902a6d693e6d3",
"PX12354": "a800fce5b959a226aecf6a05b8bf928d",
"PX12622": "016beb17dd57a6e446b36265284c0c9c",
"PX11316": false,
"PX12288": true,
"PX12446": 33,
"PX12586": 2,
"PX12572": "a2de04d410d8297071522cb17af2ccdd",
"PX11948": 1,
"PX11448": true,
"PX11551": "fd7149bbfb316699ef918fa7bb7510a8",
"PX12130": ["$n", "$r", "_a", "$d", "$t", "_e", "$e", "_n", "_t", "_d", "_", "_l", "$s", "$o", "_u", "$u"],
"PX12526": "c9a6cb64a9c6b14c5c489fd18fc4c35d",
"PX11986": true,
"PX12492": "c505c10e26a1b7a7741437db9f82916b",
"PX12570": "78f763eab3a2082c63c66cf47f9e05a0",
"PX11567": "WebKit WebGL",
"PX12352": "Google Inc. (Apple)",
"PX12525": "b1199c2b7aa9aa43f16fc345099c3f04",
"PX12331": false,
"PX12196": "missing",
"PX12236": "fd7149bbfb316699ef918fa7bb7510a8"
}
// let env = fs.readFileSync('./env.json', 'utf-8')
// env = JSON.parse(env);
// let keys = Object.keys(env)
......@@ -61,8 +104,8 @@ class PxBypass {
this.prox = `http://user-uni001-region-us-sessid-${randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600`
// prox = `http://uni00001_custom_zone_US_sid_${randint(67336718, 67336728)}_time_5:q39CEBTs5A@us.foxyip.com:7778`
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
this.tlsUrl = 'http://52.52.23.116/tls/forward'
if (this.is_local){
this.tlsUrl = 'http://52.52.23.116/tls2/forward'
if (this.is_local) {
this.tlsUrl = 'http://127.0.0.1:58000/tls/forward'
this.tlsUrl = 'http://192.168.50.197:58000/tls/forward'
this.prox = 'http://127.0.0.1:7890'
......@@ -4863,24 +4906,25 @@ class PxBypass {
this.ua = this.env.navigatorparams.useragent
this.log.info('ua', this.ua)
if (!this.is_local){
if (!this.is_local) {
let proxyRes = await axios({
method: 'post',
url: 'http://ymx-lcc.unififi.com/proxy/get-proxy',
headers: {
'Content-Type': 'application/json'
},
data: JSON.stringify({
'name': 'F9',
'type': 'shopping'
method: 'post',
url: 'http://ymx-lcc.unififi.com/proxy/get-proxy',
headers: {
'Content-Type': 'application/json'
},
data: JSON.stringify({
'name': 'F9',
'type': 'shopping'
})
})
})
this.prox = proxyRes.data.url;
this.prox = proxyRes.data.url;
}
this.log.info(`proxy ${this.prox}`)
}
async initMongo2() {
this.log.info("init mongo 获取环境数据")
const database = client.db("env");
......@@ -4931,10 +4975,12 @@ class PxBypass {
this.envid2 = res[0]._id.toString()
// this.env = ENVS[keys[randint(0, keys.length - 1)]]
// this.ua = this.env.navigatorparams.useragent
this.ua = this.env2.px11590.PX11754;
this.env2.px11547.PX11849 = this.env2.px11590.PX11849
this.env.navigatorparams.platform = this.env2.px11590.PX12458
this.env.navigatorparams.useragent = this.ua;
this.log.info('ua', this.ua)
......@@ -5049,7 +5095,8 @@ class PxBypass {
"appID": this.appId,
"cu": this.uuid,
"cs": this.cs,
"pc": pc
"pc": pc,
"en": "NTA"
};
var w = bl(data, b, this.ts);
// console.log("ts", fl())
......@@ -5178,15 +5225,15 @@ class PxBypass {
"t": "PX12095",
"d": {
"PX11645": this.url, "PX12207": 0, "PX12458": this.env2.px11590.PX12458, "PX11902": 0,
"PX11560": randint(1600, 2600), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11560": randint(11600, 22600), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": this.uuid, "PX12564": null, "PX12565": -1,
"PX11379": false
// "PX11379": false
}
}]
let res = await this.do_collector(data)
this.seq++;
this.pxenv = new PxEnv(this.px_11547_env,this.env, this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.pxenv = new PxEnv(this.px_11547_env, this.env, this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280)
......@@ -5339,14 +5386,15 @@ async function run() {
await px.step3()
await sleep(1000)
await px.step2()
await sleep(3000)
await px.step4()
await px.do_func(px.pxenv.get_px12123())
// await sleep(1500)
await px.step31()
// await px.step31()
await sleep(3000)
await px.step4()
await sleep(1500)
await px.do_func(px.pxenv.get_px11891())
......
......@@ -836,7 +836,7 @@ export class PxEnv {
// }],
"PX12207": 0, //v["self"] === v["top"] ? 0 : 1
"PX11538": 2, // history.length
"PX11984":"TypeError: Cannot read properties of null (reading '0')\n at tr (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1179:21)\n at Xh (https://client.px-cloud.net/PXVb73hTEg/main.min.js:5953:26)\n at Bh (https://client.px-cloud.net/PXVb73hTEg/main.min.js:6785:30)\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:6352:17",
"PX11984":"TypeError: Cannot read properties of null (reading '0')\n at zn (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:20381)\n at Oh (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:120140)\n at Bh (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:122405)\n at https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:122127",
"PX11597": [],// location.ancestorOrigins
"PX12023": "", // document.referrer
"PX11337": false,// window.hasOwnProperty('onorientationchange')
......@@ -1079,13 +1079,13 @@ export class PxEnv {
"t": "PX12123", "d": {
"PX12108": this.startPoint.x,
"PX12414": this.startPoint.y,
"PX11984":"TypeError: Cannot read properties of null (reading '0')\n at tr (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1179:21)\n at HTMLBodyElement.Ev (https://client.px-cloud.net/PXVb73hTEg/main.min.js:7641:39)",
"PX11984":"TypeError: Cannot read properties of null (reading '0')\n at zn (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:20381)\n at HTMLBodyElement.Sv (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:143389)",
"PX12303": "mousemove",
"PX11699": 15752,
"PX11987": "true",
"PX12461": true,
// "PX11652": "#px-captcha-wrapper>DIV:nth-child(1)>DIV:nth-child(2)",
"PX11652":"#header",
"PX11652":"#wisepops-instance-483108",
"PX11902": 3,
"PX11560": this.performanceNow,
......@@ -1321,7 +1321,7 @@ export class PxEnv {
// "PX12439": ["PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chrome PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Chromium PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "Microsoft Edge PDF Viewer::Portable Document Format::application/pdf~pdf::text/pdf~pdf", "WebKit built-in PDF::Portable Document Format::application/pdf~pdf::text/pdf~pdf"],
"PX12439": this.createPX12439(),
"PX11993": this.ts,
"PX12228":"TypeError: Cannot read properties of null (reading '0') at tr (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1179:21) at func (https://client.px-cloud.net/PXVb73hTEg/main.min.js:7362:27) at Zt (https://client.px-cloud.net/PXVb73hTEg/main.min.js:828:21) at https://client.px-cloud.net/PXVb73hTEg/main.min.js:7549:25",
"PX12228":"TypeError: Cannot read properties of null (reading '0') at zn (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:20381) at func (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:139193) at Xt (https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:13947) at https://client.px-cloud.net/PXVb73hTEg/main.min.js:1:142493",
"PX12288": true,
"PX12446": 33,
// "PX11564": 0,
......
......@@ -10,19 +10,20 @@ headers = {
"authority": "www.flyfrontier.com", "accept": "application/json, text/plain, */*", "accept-language": "en-US"}
url = "https://booking.flyfrontier.com/Flight/InternalSelect?o1=BNA&d1=ATL&dd1=Apr%2027,%202024&ADT=1&mon=true&promo="
cks = 'cts=68bcb29a-2ecb-11ef-af4f-a14e7858a5b1; _pxvid=68bca655-2ecb-11ef-af4f-11ca862ff20b; _px2=eyJ1IjoiNjg5MmUxYjAtMmVjYi0xMWVmLWFkYTEtZWZlN2VkMGUxMWY2IiwidiI6IjY4YmNhNjU1LTJlY2ItMTFlZi1hZjRmLTExY2E4NjJmZjIwYiIsInQiOjE3MTg4NjM5NzMzNzMsImgiOiJmNDYyMDdjMGZiMzhmNDQ4MWNhZmQ5MGM2NWY1NjI0MTI1ZjM5NmRkYzQ0YmEwNWQwOWE3YTkwMTZkMGMzNGY3In0='
cks = '_px2=eyJ1IjoiYTQ5MjA0MTAtMmVkMS0xMWVmLWIxYjItNDc2MTBlZGE2OGMwIiwidiI6ImE1Mjg2MzkzLTJlZDEtMTFlZi1iMGRkLTY1OWEwNjYxMjA2MCIsInQiOjYyMDIzMzg4MDAwNCwiaCI6Ijk3M2U3MDAxNzhjNjBjZjc1NTViYzVhMTUwZDE4MDI3NDExZTQ3N2U5ZDMwYmZlOGM2NTlhZGQzMmVjOWNkNWMifQ==; cts=a5286e50-2ed1-11ef-b0dd-9a0711ec23eb; _pxvid=a5286393-2ed1-11ef-b0dd-659a06612060'
prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://user-uni001-region-us-sessid-1114-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:{random.randint(10000, 13500)}'
# prox = 'http://user-uni001-region-us-sessid-4909-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
prox = 'http://user-uni001-region-us-sessid-4909-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# prox = 'http://74.48.159.194:33080'
# prox = 'http://uni00002_custom_zone_US2_sid_4524195_time_5:FdkiGHty9a@us.ipwo.net:7878'
# print(prox)
# prox = 'http://uni00002_custom_zone_US2_sid_4428759_time_5:FdkiGHty9a@us.ipwo.net:7878'
prox = 'http://uni00002_custom_zone_US2_sid_4428759_time_5:FdkiGHty9a@us.ipwo.net:7878'
for i in range(20):
......
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