Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
px3
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangmingming
px3
Commits
45b6f0eb
Commit
45b6f0eb
authored
Dec 12, 2023
by
wangmingming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
687c538e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
46 deletions
+48
-46
captcha.js
src/captcha.js
+48
-46
No files found.
src/captcha.js
View file @
45b6f0eb
...
...
@@ -295,53 +295,53 @@ class PxBypass {
//
//
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,
//
id: "2"
//
}));
//
//
let inRes = JSON.parse(res.data)
//
this.log.info(res.data)
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
,
id
:
"2"
}));
// let inRes = JSON.parse(res.data)
this
.
log
.
info
(
res
.
data
)
// this.parseRes(inRes)
//
this.seq++;
//
this.rsc++;
this
.
seq
++
;
this
.
rsc
++
;
let
data1
=
[{
"t"
:
"PX12167"
,
"d"
:
{
"PX11648"
:
true
}}]
...
...
@@ -359,7 +359,9 @@ class PxBypass {
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
()]
let
data
=
[
this
.
pxenv
.
get_px11590
()
// , this.pxenv.get_px11796()
]
// data.push({
// "t": "PX11796",
// "d": {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment