Commit ff4e9e4d authored by wang's avatar wang

按压验证码

parent b0b877db
...@@ -4896,6 +4896,7 @@ try { ...@@ -4896,6 +4896,7 @@ try {
return Ve(q(e), 10); return Ve(q(e), 10);
}(); }();
var o = ht(i); var o = ht(i);
console.log('payload', o)
i = q(Ve(o, 50)); i = q(Ve(o, 50));
var c = e[yl]; var c = e[yl];
var f = function (t, e, n) { var f = function (t, e, n) {
...@@ -5315,6 +5316,8 @@ try { ...@@ -5315,6 +5316,8 @@ try {
"pc": V "pc": V
}; };
var w = bl(t, b); 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 E = [Dl + w, Gl + Us[Un], Ql + Us[In], kl + Mu, Yl + Us[Sn], Hl + ls++, $l + is];
var T = zu(); var T = zu();
T && E["push"](Xl + T); T && E["push"](Xl + T);
......
...@@ -10,18 +10,18 @@ ...@@ -10,18 +10,18 @@
<body> <body>
<script> <script>
window._pxVid = ''; window._pxVid = '';
window._pxUuid = '2eadba08-9511-11ee-8818-7ba834ced005'; window._pxUuid = 'a1a917ee-95ad-11ee-990f-64248e52548b';
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=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); 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=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; script.onerror = window._pxDisplayErrorMessage;
document.head.appendChild(script); 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 { ...@@ -27,6 +27,8 @@ class PxBypass {
ft = "317" ft = "317"
appId = "PXVb73hTEg" 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 (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 = { pxHeaders = {
"authority": "collector-pxvb73hteg.px-cloud.net", "authority": "collector-pxvb73hteg.px-cloud.net",
"accept": "*/*", "accept": "*/*",
...@@ -44,6 +46,7 @@ class PxBypass { ...@@ -44,6 +46,7 @@ class PxBypass {
// 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'
// tlsUrl = 'http://127.0.0.1:3000/tls/forward'
constructor(options) { constructor(options) {
...@@ -108,7 +111,6 @@ class PxBypass { ...@@ -108,7 +111,6 @@ class PxBypass {
g["d"]["PX11668"] = 'pxhc'; g["d"]["PX11668"] = 'pxhc';
g["d"]["PX12348"] = false; g["d"]["PX12348"] = false;
// g["d"]["PX11645"] = this.url; // g["d"]["PX11645"] = this.url;
} }
if (data[0] && data[0]['d']) { if (data[0] && data[0]['d']) {
data[0]["d"]["PX11645"] = this.url; data[0]["d"]["PX11645"] = this.url;
...@@ -137,11 +139,13 @@ class PxBypass { ...@@ -137,11 +139,13 @@ class PxBypass {
let res = await axios.post(this.tlsUrl, JSON.stringify({ let res = await axios.post(this.tlsUrl, JSON.stringify({
url: this.pxUrl, url: this.pxUrl,
method: "POST",
data: qs.stringify(body), data: qs.stringify(body),
headers: this.pxHeaders, headers: this.pxHeaders,
allow_redirects: true, allow_redirects: true,
debug: true, debug: true,
proxy: this.prox, proxy: this.prox,
id: (new Date().getTime()) + '',
})); }));
let inRes = JSON.parse(res.data.text) let inRes = JSON.parse(res.data.text)
// this.log.info(inRes) // this.log.info(inRes)
...@@ -270,7 +274,7 @@ class PxBypass { ...@@ -270,7 +274,7 @@ class PxBypass {
"t": "PX12095", "t": "PX12095",
"d": { "d": {
"PX11645": this.url, "PX12207": 0, "PX12458": "MacIntel", "PX11902": 0, "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, "PX11496": this.uuid, "PX12564": null, "PX12565": -1,
"PX11379": true, "PX12307": "PX11745", "PX11379": true, "PX12307": "PX11745",
"PX11668": "pxhc", "PX11668": "pxhc",
...@@ -279,61 +283,58 @@ class PxBypass { ...@@ -279,61 +283,58 @@ class PxBypass {
}] }]
let res = await this.do_collector(data) 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() { 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 data = [{
let res1 = await this.do_collector(data1) "t": "PX11940",
"d": {
"PX11379": false,
"PX12307": "PX11745",
"PX11668": "pxhc",
"PX12348": false,
"PX11645": "https://booking.flyfrontier.com/Flight/Select"
}
}]
// let data = [{ if (typeof data === 'object') {
// "t": "PX11940", data = JSON.stringify(data)
// "d": { }
// "PX11379": false, this.log.info(data)
// "PX12307": "PX11745", let payload = encodePayload(data, this.uuid, this.ts)
// "PX11668": "pxhc", let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`)
// "PX12348": false, let body = {
// "PX11645": "https://booking.flyfrontier.com/Flight/Select" "appId": this.appId,
// } "tag": this.tag,
// }] "uuid": this.uuid,
// "ft": this.ft,
// if (typeof data === 'object') { "seq": this.seq,
// data = JSON.stringify(data) "en": "NTA",
// } "pc": pc,
// this.log.info(data) "rsc": this.rsc,
// let payload = encodePayload(data, this.uuid, this.ts) "payload": payload,
// let pc = genPc(data, `${this.uuid}:${this.tag}:${this.ft}`) }
// let body = { body = this.updateBody(body);
// "appId": this.appId,
// "tag": this.tag,
// "uuid": this.uuid, let res = await axios.post(this.tlsUrl, JSON.stringify({
// "ft": this.ft, url: "https://collector-PXVb73hTEg.px-client.net/b/g" + "?" + qs.stringify(body),
// "seq": this.seq, // data: ,
// "en": "NTA", method: "GET",
// "pc": pc, headers: this.pxHeaders,
// "rsc": this.rsc, allow_redirects: true,
// "payload": payload, debug: true,
// } proxy: this.prox,
// body = this.updateBody(body); id: "2"
// }));
// // let inRes = JSON.parse(res.data)
// let res = await axios.post(this.tlsUrl, JSON.stringify({ this.log.info(res.data)
// 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)
// this.parseRes(inRes) // this.parseRes(inRes)
// this.seq++; // this.seq++;
...@@ -343,10 +344,16 @@ class PxBypass { ...@@ -343,10 +344,16 @@ class PxBypass {
async step3() { async step3() {
this.performanceNow = randint(3000, 4000) this.performanceNow = randint(3000, 4000)
this.px12280 = Date.now()
// let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2, // let data = genPayload2(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid, // this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280) // 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({ // data.push({
// "t": "PX11796", // "t": "PX11796",
// "d": { // "d": {
...@@ -371,12 +378,18 @@ class PxBypass { ...@@ -371,12 +378,18 @@ class PxBypass {
async step4() { async step4() {
this.performanceNow = randint(11000, 12000) this.performanceNow = randint(11000, 12000)
this.px12280 = Date.now()
// let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2, // let data = genPayload4(this.url, this.sid, this.vid, this.ts, this.num1, this.num2,
// this.str1, this.uuid, // this.str1, this.uuid,
// this.startTs, this.startTs2, this.performanceNow, this.px12280) // this.startTs, this.startTs2, this.performanceNow, this.px12280)
this.pxenv.performanceNow = this.performanceNow this.pxenv.performanceNow = this.performanceNow
this.pxenv.performanceNow2 = this.pxenv.performanceNow; this.pxenv.performanceNow2 = this.pxenv.performanceNow;
this.log.info('performanceNow', 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() let data = [this.pxenv.get_px11547(), this.pxenv.get_px12123(), this.pxenv.get_px561(), this.pxenv.get_px11782()
// , this.pxenv.get_px12419() // , this.pxenv.get_px12419()
] ]
...@@ -454,6 +467,7 @@ class PxBypass { ...@@ -454,6 +467,7 @@ class PxBypass {
debug: true, debug: true,
method: "GET", method: "GET",
proxy: this.prox, proxy: this.prox,
"id": "1",
})); }));
this.log.info(res.data.cookies) this.log.info(res.data.cookies)
...@@ -472,9 +486,9 @@ async function run() { ...@@ -472,9 +486,9 @@ async function run() {
await px.init() await px.init()
await px.step1() await px.step1()
// await px.step2() // await px.step2()
// await px.sleep(1500) await px.sleep(1500)
await px.step3() await px.step3()
await px.sleep(8000) await px.sleep(4000)
await px.step4() await px.step4()
// await px.sleep(1500) // 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 ...@@ -57,7 +57,9 @@ a2 = "UisrUitSHhEBDRAHHlIeAAsMAxAbHBwcHCsrKysrUh49EhpQHlFRUh4HGyhTKwgNCywYNxo4Ji
a2 = "KysrKytSHj0SGlAeUVFSHgcbKFMrC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OiMLLQgnUC02LxstNgUYLAg7UC0mIFseFhAXBx5RUlIcHBwcUisrUitSHhEBDRAHHlIeAAsMAxAb"
a2 = "B1kHWVlZFAsdFhYWFllZBwcHWRQ3GBBaFFtbWBQNESJZIQIHASU/LVomAjlcJjwhHCc8OgMmK1gQJT8+BCQ8BAQxEg8cMQU5WTI/MVkyPyYCJlomASEBHwEMASFeIQIMADFaIVgxBTIBJDwDWDIsDxwlPC4EMjtYXTI/PVgkPDEfJy8yAScvPgUlPCIDJTshGyEGOQEnAi1bJSwtXSUSCxAlPD1cJTwtGyEFDwEnASFZJSwLECVaMVsnLCYEMQIlHzESIVwyAi1dJjwuACYvOgEmPyIAJzwiACY/OgUyPy4FJQItWzFaPgAxPCFbMTwhWiYvMVsmEiYBJlotWDIFJVgyPAMfIQZYVRQcGh0NFFtYWBYWFhYHWVkHWVlZBxRY" a2 = "B1kHWVlZFAsdFhYWFgdZWQdZWVkHFFgWFhYWWVkHBwdZFDcYEFoUW1tYFA0RIlkhAgcBMjwuADESD1wmEg8cJzw9WjI7WBAlPz4EJDwDESVaIRwlBToBMQILEiYSD1wnLClZIQEfAQwBIV4hAgtcJRIDEiYsJgEkPANZJhI5HCU8LgQyO1hcJhIlEiQ8DAMyLCkQJgU9XCcsDAExESEbIQY5AScCLVslLCEfJSw5ECUSMVsnPDkbIQUPAScBIRAxWiUfMQUhXScsMV0yAgwAMjwAATICPRIlPzICJzwmAjE/LgQxPCoEMjwDWjI8JV0mPDEQJj89WyYCD1glLCFcMRI6ACc8LVkyLCkRJT8tECYSOgQhBlhVFBwaHQ0UW1hY"
b2 = base64.b64decode(a2.encode()) b2 = base64.b64decode(a2.encode())
for i in bytes(encrypt(b2, 872%128)).decode().split('~~~~'): 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