Commit 80a3469a authored by wang's avatar wang

收集环境

parent 8f4c8ab9
......@@ -275,7 +275,7 @@ function i(n) {
u = o[n];
} else {
for (var c = a(n), u = "", f = 0; f < c["length"]; ++f) {
var s = "toLgQ3X"["charCodeAt"](f % 7);
var s = "fcDQb7d"["charCodeAt"](f % 7);
u += String["fromCharCode"](s ^ c["charCodeAt"](f));
}
o[n] = u;
......
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.
......@@ -19,7 +19,7 @@ export class ThreadPool {
this.workerGroup.push({
id: i,
status: false,
worker: new Worker('./run.js')
worker: new Worker('./f91.js')
});
this.workerGroup[i].worker.on("message", (message) => {
if (message === 'end') {
......
......@@ -38,7 +38,8 @@ class PxBypass {
tag = "v8.9.6"
ft = "330"
constructor() {
constructor(is_local = false) {
this.is_local = is_local;
this.flag = false
this.appId = "PXVb73hTEg"
this.ua = "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"
......@@ -60,10 +61,13 @@ 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.prox = 'http://127.0.0.1:7890'
this.tlsUrl = 'http://52.52.23.116/tls/forward'
// this.tlsUrl = 'http://127.0.0.1:58000/tls/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'
}
this.pxHeaders = {
"authority": "collector-PXVb73hTEg.px-cloud.net",
......@@ -4859,8 +4863,8 @@ class PxBypass {
this.ua = this.env.navigatorparams.useragent
this.log.info('ua', this.ua)
let proxyRes = await axios({
if (!this.is_local){
let proxyRes = await axios({
method: 'post',
url: 'http://ymx-lcc.unififi.com/proxy/get-proxy',
headers: {
......@@ -4872,6 +4876,8 @@ class PxBypass {
})
})
this.prox = proxyRes.data.url;
}
this.log.info(`proxy ${this.prox}`)
}
......@@ -4920,7 +4926,8 @@ class PxBypass {
])
let res = await movie.toArray()
this.env2 = res[0]
delete this.env2.px11590.PX12023
delete this.env2.px11590.PX11840
this.envid2 = res[0]._id.toString()
......@@ -4928,6 +4935,7 @@ class PxBypass {
// this.env = ENVS[keys[randint(0, keys.length - 1)]]
// this.ua = this.env.navigatorparams.useragent
this.ua = this.env2.px11590.PX11754;
this.env.navigatorparams.useragent = this.ua;
this.log.info('ua', this.ua)
}
......@@ -5169,7 +5177,7 @@ class PxBypass {
let data = [{
"t": "PX12095",
"d": {
"PX11645": this.url, "PX12207": 1, "PX12458": this.env.navigatorparams.platform, "PX11902": 0,
"PX11645": this.url, "PX12207": 0, "PX12458": this.env2.px11590.PX12458, "PX11902": 0,
"PX11560": randint(1600, 2600), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": this.uuid, "PX12564": null, "PX12565": -1,
"PX11379": false
......@@ -5324,7 +5332,7 @@ async function run() {
for (let i = 0; i < 10; i++) {
try {
let px = new PxBypass()
let px = new PxBypass(false)
await px.initMongo()
await px.initMongo2()
await px.step1()
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -10,7 +10,8 @@ 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 = '_pxhd=6987a35b22308ab2d880577523a8618a7a67ddbf794d1c5f129ab7670e4794d6:7dee9538-1f10-11ef-8dfe-cccba3e35e09; _fbp=fb.1.1717138399757.1644415342; _gcl_au=1.1.1060131696.1717138407; _gid=GA1.2.1550978216.1717138592; _pin_unauth=dWlkPU1UazVORGhsT0RFdFpXVm1aUzAwTWpZMUxXRTRabUl0WXpRNE0yTTVZamN4TmpWaA; _pxvid=7b7e819a-1f1a-11ef-9f56-5ec26b64d4e3; _tt_enable_cookie=1; _ttp=iCnYndPMVBJ0OturIf5RPdFnlar; _up=1.2.1042276210.1717138402; cjConsent=MHxOfDB8Tnww; cjUser=26a68c5b-24f0-47d8-b4f1-4ccfefb5b61f; dtCookie=v_4_srv_3_sn_8032DDA1AC3159C6D43681767E15F48E_perc_100000_ol_0_mul_1_app-3Aea7c4b59f27d43eb_1; ORA_FPC=id=88d65269-3bff-4287-9be8-c920a845ce08; pxcts=7b7e9444-1f1a-11ef-9f56-0bf778f34b6f; WTPERSIST=; rxVisitor=1717143837183G4VRIGSTPG12F3QQ9LU7I4NGMRC61LQO; _ga_XXXX=GS1.1.1717143836.2.1.1717143840.0.0.489368694; _ga_P2WLKWBNNW=GS1.1.1717143815.2.1.1717143841.34.0.0; _ga=GA1.2.1101571915.1717138408; _pin_unauth=dWlkPU1UazVORGhsT0RFdFpXVm1aUzAwTWpZMUxXRTRabUl0WXpRNE0yTTVZamN4TmpWaA; _rdt_uuid=1717138592221.dcdd9d93-dbc4-4082-b9e4-124059eaecf6; _px2=eyJ1IjoiMjJmZjU4ODAtMWYyNy0xMWVmLTkwODQtYjU2ODg0ODUwN2JjIiwidiI6IjdkZWU5NTM4LTFmMTAtMTFlZi04ZGZlLWNjY2JhM2UzNWUwOSIsInQiOjYyMDIzMzg4MDAwNywiaCI6IjIzZmQ5YTFiZjUwZmJlYjljNGI1OWFkZTVjZmU2YzEwZDgyMTY0MmM2ZmM5ZmQzMjY4YWM1MGIwMmZlZmRkZGIifQ==; dtPC=3$543959628_447h1vKESFAKAAWLNUHKRDFFRWRBRNPSURTRMU-0e0; dtSa=-; rxvt=1717145759922|1717143837184'
cks = 'cts=68bcb29a-2ecb-11ef-af4f-a14e7858a5b1; _pxvid=68bca655-2ecb-11ef-af4f-11ca862ff20b; _px2=eyJ1IjoiNjg5MmUxYjAtMmVjYi0xMWVmLWFkYTEtZWZlN2VkMGUxMWY2IiwidiI6IjY4YmNhNjU1LTJlY2ItMTFlZi1hZjRmLTExY2E4NjJmZjIwYiIsInQiOjE3MTg4NjM5NzMzNzMsImgiOiJmNDYyMDdjMGZiMzhmNDQ4MWNhZmQ5MGM2NWY1NjI0MTI1ZjM5NmRkYzQ0YmEwNWQwOWE3YTkwMTZkMGMzNGY3In0='
......
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