Commit 99a00431 authored by wang's avatar wang

日志管理

parent 7314feb6
...@@ -4274,7 +4274,7 @@ try { ...@@ -4274,7 +4274,7 @@ try {
t && t["movementX"] && t["movementY"] ) t && t["movementX"] && t["movementY"] )
{ {
if (Mf["length"] < 10){ if (Mf["length"] < 10){
console.log('PX11393.add', t["movementX"]["toFixed"](2), t["movementY"]["toFixed"](2)) console.log('Mf.add', t["movementX"]["toFixed"](2), t["movementY"]["toFixed"](2))
Mf["push"](+t["movementX"]["toFixed"](2) + "," + +t["movementY"]["toFixed"](2) + "," + Ee(e)); Mf["push"](+t["movementX"]["toFixed"](2) + "," + +t["movementY"]["toFixed"](2) + "," + Ee(e));
if (gf["length"] < 50){ if (gf["length"] < 50){
gf["push"](function (t) { gf["push"](function (t) {
......
...@@ -2092,6 +2092,7 @@ try { ...@@ -2092,6 +2092,7 @@ try {
} }
function nt(r) { function nt(r) {
var u, n; var u, n;
console.log('nk.add',r )
r && kn[v((u = 633, n = 591, $C_iWW(n, u - 334)))](st(r)); r && kn[v((u = 633, n = 591, $C_iWW(n, u - 334)))](st(r));
} }
function tt(r) { function tt(r) {
...@@ -2099,6 +2100,7 @@ try { ...@@ -2099,6 +2100,7 @@ try {
r && Xn[v((u = -213, n = -266, $C_iWW(n, u - -512)))](st(r)); r && Xn[v((u = -213, n = -266, $C_iWW(n, u - -512)))](st(r));
} }
function zt(r) { function zt(r) {
console.log('an.add', r)
var u, var u,
n = v; n = v;
if (r) { if (r) {
......
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
<body> <body>
<script> <script>
window._pxVid = ''; window._pxVid = '';
window._pxUuid = '0d0705ca-91da-11ee-8407-7ad31e044ac6'; window._pxUuid = 'afb0a6c4-926d-11ee-af61-d93b244f6790';
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=0d0705ca-91da-11ee-8407-7ad31e044ac6&v=&m=0'; script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=afb0a6c4-926d-11ee-af61-d93b244f6790&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=0d0705ca-91da-11ee-8407-7ad31e044ac6&v=&m=0'; script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=afb0a6c4-926d-11ee-af61-d93b244f6790&v=&m=0';
script.onerror = window._pxDisplayErrorMessage; script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script); document.head.appendChild(script);
}; };
......
...@@ -104,6 +104,7 @@ class PxBypass { ...@@ -104,6 +104,7 @@ class PxBypass {
if (typeof data === 'object') { if (typeof data === 'object') {
data = JSON.stringify(data) data = JSON.stringify(data)
} }
this.log.info(data)
let payload = encodePayload(data, this.uuid, this.ts) let payload = encodePayload(data, this.uuid, this.ts)
let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`) let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
let body = { let body = {
......
This diff is collapsed.
import {path} from "ghost-cursor";
function R(t, e, n, r, o, i, l) { function R(t, e, n, r, o, i, l) {
return B(e ^ n ^ r, t, e, o, i, l); return B(e ^ n ^ r, t, e, o, i, l);
} }
...@@ -94,4 +96,19 @@ export function getNoPX(px11701, px11431) { ...@@ -94,4 +96,19 @@ export function getNoPX(px11701, px11431) {
let res = [$C_kKK(px11701, px11431 % 10 + 2), $C_kKK(px11701, px11431 % 10 + 1)] let res = [$C_kKK(px11701, px11431 % 10 + 2), $C_kKK(px11701, px11431 % 10 + 1)]
return res; return res;
}
export function getPaths(startPoint,endPoint) {
let res = [];
while (res.length < 200) {
res.push(...path(
startPoint
,
endPoint,
2000
))
}
return res;
} }
\ No newline at end of file
...@@ -48,6 +48,7 @@ class PxBypass { ...@@ -48,6 +48,7 @@ class PxBypass {
tlsUrl = 'http://52.52.23.116/tls/forward' tlsUrl = 'http://52.52.23.116/tls/forward'
prox = `http://user-uni001-region-us-sessid-${randint(1000, 5000)}-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600` 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_67336718_time_5:q39CEBTs5A@us.foxyip.com:7778`
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}` // prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
// prox = 'http://127.0.0.1:8890' // prox = 'http://127.0.0.1:8890'
// tlsUrl = 'http://127.0.0.1:58000/tls/forward' // tlsUrl = 'http://127.0.0.1:58000/tls/forward'
...@@ -112,6 +113,7 @@ class PxBypass { ...@@ -112,6 +113,7 @@ class PxBypass {
if (typeof data === 'object') { if (typeof data === 'object') {
data = JSON.stringify(data) data = JSON.stringify(data)
} }
this.log.info(data)
let payload = encodePayload(data, this.uuid, this.ts) let payload = encodePayload(data, this.uuid, this.ts)
let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`) let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
let body = { let body = {
...@@ -287,6 +289,7 @@ class PxBypass { ...@@ -287,6 +289,7 @@ class PxBypass {
// this.tlsUrl = 'http://127.0.0.1:58000/tls/forwardios' // this.tlsUrl = 'http://127.0.0.1:58000/tls/forwardios'
let cks = Object.keys(this.cookies).map((v, k) => `${v}=${this.cookies[v]}`).join('; ') let cks = Object.keys(this.cookies).map((v, k) => `${v}=${this.cookies[v]}`).join('; ')
this.log.info('cookie', cks)
let res = await axios.post(this.tlsUrl, JSON.stringify({ let res = await axios.post(this.tlsUrl, JSON.stringify({
url: 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-12-30&ADT=1&umnr=false&mon=true', url: 'https://booking.flyfrontier.com/Flight/InternalSelect?o1=DEN&d1=LAS&dd1=2023-12-30&ADT=1&umnr=false&mon=true',
headers: { headers: {
......
import crypto from 'crypto'; import crypto from 'crypto';
export function sha256(test) {
let a = crypto.createHash("sha256");
a.update(test)
return a.digest('hex');
}
export function genPc(t, e) { export function genPc(t, e) {
function D(t, e) { function D(t, e) {
var n, r = H(t), a = [], o = []; var n, r = H(t), a = [], o = [];
......
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