Commit ff4e9e4d authored by wang's avatar wang

按压验证码

parent b0b877db
......@@ -4896,6 +4896,7 @@ try {
return Ve(q(e), 10);
}();
var o = ht(i);
console.log('payload', o)
i = q(Ve(o, 50));
var c = e[yl];
var f = function (t, e, n) {
......@@ -5315,6 +5316,8 @@ try {
"pc": V
};
var w = bl(t, b);
console.log("ts", fl())
console.log('res', w)
var E = [Dl + w, Gl + Us[Un], Ql + Us[In], kl + Mu, Yl + Us[Sn], Hl + ls++, $l + is];
var T = zu();
T && E["push"](Xl + T);
......
......@@ -10,18 +10,18 @@
<body>
<script>
window._pxVid = '';
window._pxUuid = '2eadba08-9511-11ee-8818-7ba834ced005';
window._pxUuid = 'a1a917ee-95ad-11ee-990f-64248e52548b';
window._pxAppId = 'PXVb73hTEg';
window._pxHostUrl = 'https://collector-PXVb73hTEg.perimeterx.net';
window._pxCustomLogo = '';
window._pxJsClientSrc = '//client.perimeterx.net/PXVb73hTEg/main.min.js';
window._pxFirstPartyEnabled = 'false';
var script = document.createElement('script');
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=2eadba08-9511-11ee-8818-7ba834ced005&v=&m=0';
script.src = '//captcha.perimeterx.net/PXVb73hTEg/captcha.js?a=c&u=a1a917ee-95ad-11ee-990f-64248e52548b&v=&m=0';
document.head.appendChild(script);
script.onerror = function () {
script = document.createElement('script');
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=2eadba08-9511-11ee-8818-7ba834ced005&v=&m=0';
script.src = 'https://captcha.px-cloud.net/PXVb73hTEg/captcha.js?a=c&u=a1a917ee-95ad-11ee-990f-64248e52548b&v=&m=0';
script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script);
};
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -27,6 +27,8 @@ class PxBypass {
ft = "317"
appId = "PXVb73hTEg"
ua = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36'
// ua = "Mozilla/5.0 (Linux; Android 10; SM-G981B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36";
pxHeaders = {
"authority": "collector-pxvb73hteg.px-cloud.net",
"accept": "*/*",
......@@ -44,6 +46,7 @@ class PxBypass {
// prox = `http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:${randint(10000, 13500)}`
prox = 'http://127.0.0.1:8890'
tlsUrl = 'http://127.0.0.1:58000/tls/forward'
// tlsUrl = 'http://127.0.0.1:3000/tls/forward'
constructor(options) {
......@@ -108,7 +111,6 @@ class PxBypass {
g["d"]["PX11668"] = 'pxhc';
g["d"]["PX12348"] = false;
// g["d"]["PX11645"] = this.url;
}
if (data[0] && data[0]['d']) {
data[0]["d"]["PX11645"] = this.url;
......@@ -137,11 +139,13 @@ class PxBypass {
let res = await axios.post(this.tlsUrl, JSON.stringify({
url: this.pxUrl,
method: "POST",
data: qs.stringify(body),
headers: this.pxHeaders,
allow_redirects: true,
debug: true,
proxy: this.prox,
id: (new Date().getTime()) + '',
}));
let inRes = JSON.parse(res.data.text)
// this.log.info(inRes)
......@@ -270,7 +274,7 @@ class PxBypass {
"t": "PX12095",
"d": {
"PX11645": this.url, "PX12207": 0, "PX12458": "MacIntel", "PX11902": 0,
"PX11560": randint(24846, 24846 * 2), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11560": randint(600, 800), "PX12248": 3600, "PX11385": t1, "PX12280": t2,
"PX11496": this.uuid, "PX12564": null, "PX12565": -1,
"PX11379": true, "PX12307": "PX11745",
"PX11668": "pxhc",
......@@ -279,61 +283,58 @@ class PxBypass {
}]
let res = await this.do_collector(data)
this.pxenv = new PxEnv('', this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280,
this.px755, this.token, this.token2, this.hash, this.hash2, this.hashv)
this.pxenv.cap = true
}
async step2() {
this.performanceNow += randint(1000, 2000)
// this.performanceNow += randint(1000, 2000)
//
// let data1 = [{"t":"PX12167","d":{"PX11648":true}}]
// let res1 = await this.do_collector(data1)
let data1 = [{"t":"PX12167","d":{"PX11648":true}}]
let res1 = await this.do_collector(data1)
let data = [{
"t": "PX11940",
"d": {
"PX11379": false,
"PX12307": "PX11745",
"PX11668": "pxhc",
"PX12348": false,
"PX11645": "https://booking.flyfrontier.com/Flight/Select"
}
}]
// let data = [{
// "t": "PX11940",
// "d": {
// "PX11379": false,
// "PX12307": "PX11745",
// "PX11668": "pxhc",
// "PX12348": false,
// "PX11645": "https://booking.flyfrontier.com/Flight/Select"
// }
// }]
//
// if (typeof data === 'object') {
// data = JSON.stringify(data)
// }
// this.log.info(data)
// let payload = encodePayload(data, this.uuid, this.ts)
// let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
// let body = {
// "appId": this.appId,
// "tag": this.tag,
// "uuid": this.uuid,
// "ft": this.ft,
// "seq": this.seq,
// "en": "NTA",
// "pc": pc,
// "rsc": this.rsc,
// "payload": payload,
// }
// body = this.updateBody(body);
//
//
// let res = await axios.post(this.tlsUrl, JSON.stringify({
// url: "https://collector-PXVb73hTEg.px-client.net/b/g" + "?" + qs.stringify(body),
// // data: ,
// method: "GET",
// headers: this.pxHeaders,
// allow_redirects: true,
// debug: true,
// proxy: this.prox,
// }));
// // let inRes = JSON.parse(res.data)
// this.log.info(res.data)
if (typeof data === 'object') {
data = JSON.stringify(data)
}
this.log.info(data)
let payload = encodePayload(data, this.uuid, this.ts)
let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
let body = {
"appId": this.appId,
"tag": this.tag,
"uuid": this.uuid,
"ft": this.ft,
"seq": this.seq,
"en": "NTA",
"pc": pc,
"rsc": this.rsc,
"payload": payload,
}
body = this.updateBody(body);
let res = await axios.post(this.tlsUrl, JSON.stringify({
url: "https://collector-PXVb73hTEg.px-client.net/b/g" + "?" + qs.stringify(body),
// data: ,
method: "GET",
headers: this.pxHeaders,
allow_redirects: true,
debug: true,
proxy: this.prox,
id: "2"
}));
// let inRes = JSON.parse(res.data)
this.log.info(res.data)
// this.parseRes(inRes)
// this.seq++;
......@@ -343,10 +344,16 @@ class PxBypass {
async step3() {
this.performanceNow = randint(3000, 4000)
this.px12280 = Date.now()
// let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
let data = [this.pxenv.get_px11590()]
this.pxenv = new PxEnv('', this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280,
this.px755, this.token, this.token2, this.hash, this.hash2, this.hashv)
this.pxenv.cap = true
let data = [this.pxenv.get_px11590(), this.pxenv.get_px11796()]
// data.push({
// "t": "PX11796",
// "d": {
......@@ -371,12 +378,18 @@ class PxBypass {
async step4() {
this.performanceNow = randint(11000, 12000)
this.px12280 = Date.now()
// let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280)
this.pxenv.performanceNow = this.performanceNow
this.pxenv.performanceNow2 = this.pxenv.performanceNow;
this.log.info('performanceNow', this.pxenv.performanceNow)
this.pxenv = new PxEnv('', this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
this.str1, this.uuid,
this.startTs, this.startTs2, this.performanceNow, this.px12280,
this.px755, this.token, this.token2, this.hash, this.hash2, this.hashv)
this.pxenv.cap = true
let data = [this.pxenv.get_px11547(), this.pxenv.get_px12123(), this.pxenv.get_px561(), this.pxenv.get_px11782()
// , this.pxenv.get_px12419()
]
......@@ -454,6 +467,7 @@ class PxBypass {
debug: true,
method: "GET",
proxy: this.prox,
"id": "1",
}));
this.log.info(res.data.cookies)
......@@ -472,9 +486,9 @@ async function run() {
await px.init()
await px.step1()
// await px.step2()
// await px.sleep(1500)
await px.sleep(1500)
await px.step3()
await px.sleep(8000)
await px.sleep(4000)
await px.step4()
// await px.sleep(1500)
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -57,7 +57,9 @@ a2 = "UisrUitSHhEBDRAHHlIeAAsMAxAbHBwcHCsrKysrUh49EhpQHlFRUh4HGyhTKwgNCywYNxo4Ji
a2 = "KysrKytSHj0SGlAeUVFSHgcbKFMrCA0LLBg3GjgmLxUvJTcWLCY7UiwbUhovNTQOLjUnFSw1MxYsNjtSODY3GiwmO1AtNjNWKwsVCwYLK1QrCAVWLBgoCy82DgsuNjNQLCYBFi82JA44MVJWLSU7Vi42Ixo4JgFSLDUwCywYJ1YvMSsRKwwzCy0IJ1AtNi8bLTYFUCwIO1AtJiMRKw8FCy0LKAs4JjALOzYjVy8IOxU7NjQPLCYzUTglOxg7UDtXLCYoDzgIMxg4NiNTLBgBUDs2N1AsNSsaLFAsCS01JA4sCCNQOwgFViwYBVIsJigOLA8vGjsYN1crDFJfHhYQFwceUVJSHBwcHFJSK1IrUh4BFxwcHBxSKysrK1JSUh49EhoGBx5RUVIeA1NQVgBaAFdXV1pXAFFWV1RRA1pTV1VQWwAAAFFWVAMDA1IHU1EHU1ZVBlQHU1oGWgBXA1VWAwZWBFFVBgZTAVgHGyhSAzVTDgFRMAoAOiMLLQgnUC02LxstNgUYLAg7UC0mIFseFhAXBx5RUlIcHBwcUisrUitSHhEBDRAHHlIeAAsMAxAb"
a2 = "B1kHWVlZFAsdFhYWFllZBwcHWRQ3GBBaFFtbWBQNESJZIQIHASU/LVomAjlcJjwhHCc8OgMmK1gQJT8+BCQ8BAQxEg8cMQU5WTI/MVkyPyYCJlomASEBHwEMASFeIQIMADFaIVgxBTIBJDwDWDIsDxwlPC4EMjtYXTI/PVgkPDEfJy8yAScvPgUlPCIDJTshGyEGOQEnAi1bJSwtXSUSCxAlPD1cJTwtGyEFDwEnASFZJSwLECVaMVsnLCYEMQIlHzESIVwyAi1dJjwuACYvOgEmPyIAJzwiACY/OgUyPy4FJQItWzFaPgAxPCFbMTwhWiYvMVsmEiYBJlotWDIFJVgyPAMfIQZYVRQcGh0NFFtYWBYWFhYHWVkHWVlZBxRY"
a2 = "B1kHWVlZFAsdFhYWFgdZWQdZWVkHFFgWFhYWWVkHBwdZFDcYEFoUW1tYFA0RIlkhAgcBMjwuADESD1wmEg8cJzw9WjI7WBAlPz4EJDwDESVaIRwlBToBMQILEiYSD1wnLClZIQEfAQwBIV4hAgtcJRIDEiYsJgEkPANZJhI5HCU8LgQyO1hcJhIlEiQ8DAMyLCkQJgU9XCcsDAExESEbIQY5AScCLVslLCEfJSw5ECUSMVsnPDkbIQUPAScBIRAxWiUfMQUhXScsMV0yAgwAMjwAATICPRIlPzICJzwmAjE/LgQxPCoEMjwDWjI8JV0mPDEQJj89WyYCD1glLCFcMRI6ACc8LVkyLCkRJT8tECYSOgQhBlhVFBwaHQ0UW1hY"
b2 = base64.b64decode(a2.encode())
for i in bytes(encrypt(b2, 872%128)).decode().split('~~~~'):
......
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