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
5ecd46a8
Commit
5ecd46a8
authored
Dec 07, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
按压验证码
parent
a8c5dda3
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
909 additions
and
7232 deletions
+909
-7232
decodeResult22.js
ast/decodeResult22.js
+1
-0
px3_V1.8.7_OK.js
ast/px3_V1.8.7_OK.js
+1
-0
index.html
index.html
+32
-6044
captcha.js
src/captcha.js
+118
-28
encodepayload.js
src/encodepayload.js
+10
-0
px.js
src/px.js
+666
-1153
pxenvutils.js
src/pxenvutils.js
+1
-1
pxwasm.js
src/pxwasm.js
+1
-0
run.js
src/run.js
+1
-1
utils.js
src/utils.js
+76
-2
test.py
test.py
+1
-2
test_url.py
test_url.py
+1
-1
No files found.
ast/decodeResult22.js
View file @
5ecd46a8
...
...
@@ -5299,6 +5299,7 @@ try {
var
r
=
o
;
t
[
0
]
&&
t
[
0
][
"d"
]
&&
((
t
[
0
]
&&
t
[
0
][
"d"
])[
"PX11645"
]
=
su
);
}(
t
);
console
.
log
(
'now'
,
le
(),
JSON
.
stringify
(
t
))
var
A
=
$u
();
var
V
=
se
(
ht
(
t
),
function
(
t
,
e
)
{
return
[
Mu
,
t
,
e
][
Fl
({
...
...
ast/px3_V1.8.7_OK.js
View file @
5ecd46a8
...
...
@@ -4683,6 +4683,7 @@ try {
return
u
;
},
t
[
"wbg"
][
"__wbg_get_e6ae480a4b8df368"
]
=
function
(
r
,
u
,
v
)
{
var
n
=
o
(
r
)[
d
(
u
,
v
)];
console
.
log
(
'wasm'
,
d
(
u
,
v
),
n
)
return
y
(
n
)
?
0
:
P
(
n
);
},
t
[
"wbg"
][
"__wbg_crypto_c48a774b022d20ac"
]
=
function
(
r
)
{
var
u
=
v
;
...
...
index.html
View file @
5ecd46a8
This diff is collapsed.
Click to expand it.
src/captcha.js
View file @
5ecd46a8
import
log4js
from
'log4js'
import
qs
from
'qs'
import
{
genPayload2
,
genPayload4
}
from
"./step2.js"
import
{
genPc
,
genUuid
,
randint
,
ie
}
from
"./utils.js"
import
{
genPc
,
genUuid
,
ie
,
randint
,
ht
}
from
"./utils.js"
import
axios
from
"axios"
;
import
{
encodePayload
}
from
'./encodepayload.js'
import
{
PxEnv
}
from
'./px.js'
...
...
@@ -43,14 +42,15 @@ class PxBypass {
prox
=
`http://user-uni001-region-us-sessid-
${
randint
(
1000
,
5000
)}
-sesstime-5-keep-true:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600`
// 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'
prox
=
'http://127.0.0.1:8890'
tlsUrl
=
'http://127.0.0.1:58000/tls/forward'
constructor
(
options
)
{
this
.
log
=
log4js
.
getLogger
(
'px'
)
this
.
url
=
'https://www.flyfrontier.com/'
this
.
url
=
'https://booking.flyfrontier.com/Flight/Select'
;
this
.
log
.
level
=
'debug'
this
.
uuid
=
''
;
this
.
ts
=
''
;
...
...
@@ -100,11 +100,24 @@ class PxBypass {
}
async
do_collector
(
data
)
{
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
)
{
let
g
=
data
[
i
];
g
[
"d"
][
"PX11379"
]
=
false
;
g
[
"d"
][
"PX12307"
]
=
'PX11745'
;
// g["d"]["PX11375"] = null;
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
;
}
try
{
if
(
typeof
data
===
'object'
)
{
data
=
JSON
.
stringify
(
data
)
data
=
ht
(
data
)
}
//
this.log.info(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
=
{
...
...
@@ -137,8 +150,8 @@ class PxBypass {
console
.
error
(
err
);
}
this
.
seq
++
;
this
.
rsc
++
;
//
this.seq++;
//
this.rsc++;
};
...
...
@@ -159,9 +172,9 @@ class PxBypass {
if
(
this
.
px755
&&
this
.
px755
!==
''
)
{
body
.
ci
=
this
.
px755
}
if
(
this
.
pxhd
&&
this
.
pxhd
!==
''
)
{
body
.
pxhd
=
this
.
pxhd
}
//
if (this.pxhd && this.pxhd !== '') {
//
body.pxhd = this.pxhd
//
}
return
body
}
...
...
@@ -171,23 +184,28 @@ class PxBypass {
this
.
log
.
info
(
cks
.
length
,
JSON
.
stringify
(
cks
,
null
,
'
\
t'
))
for
(
var
ck
of
cks
)
{
let
tmp
=
ck
.
split
(
'|'
);
if
(
tmp
[
0
]
===
'11oo1o'
){
if
(
tmp
[
0
]
===
'o11o111o'
){
this
.
log
.
fatal
(
'result'
,
tmp
[
1
]
===
'0'
)
}
if
(
tmp
[
0
]
===
'o111ooo1'
)
{
this
.
ts
=
tmp
[
1
]
}
if
(
tmp
[
0
]
===
'11oo1o'
)
{
this
.
px755
=
tmp
[
2
]
this
.
token
=
tmp
[
4
].
split
(
'_'
)[
0
]
this
.
token2
=
tmp
[
4
].
split
(
'_'
)[
1
]
}
if
(
tmp
[
0
]
===
'o1oo11'
){
if
(
tmp
[
0
]
===
'o1oo11'
)
{
this
.
hash
=
tmp
[
2
]
this
.
hash2
=
tmp
[
3
]
this
.
hashv
=
tmp
[
4
]
}
if
(
tmp
[
0
]
===
'o111ooo1'
)
{
this
.
ts
=
tmp
[
1
]
}
if
(
tmp
[
0
]
===
'o111oooo'
)
{
this
.
num1
=
parseInt
(
tmp
[
1
])
this
.
num1
=
tmp
[
1
]
}
if
(
tmp
[
0
]
===
'111o1o'
)
{
...
...
@@ -218,7 +236,7 @@ class PxBypass {
}
if
(
tmp
.
includes
(
'pxde'
))
{
if
(
tmp
.
includes
(
'
z
pxde'
))
{
this
.
cookies
[
'pxde'
]
=
tmp
[
3
]
}
if
(
tmp
.
includes
(
'_px2'
))
{
...
...
@@ -244,7 +262,7 @@ class PxBypass {
let
t2
=
t1
+
randint
(
5
,
30
)
this
.
startTs2
=
t2
this
.
performanceNow
=
randint
(
3000
,
5000
)
this
.
px12280
=
this
.
startTs2
+
this
.
performanceNow
this
.
px12280
=
this
.
startTs2
if
(
this
.
uuid
===
''
)
{
this
.
uuid
=
genUuid
()
}
...
...
@@ -260,7 +278,6 @@ class PxBypass {
}
}]
let
res
=
await
this
.
do_collector
(
data
)
this
.
seq
++
;
this
.
pxenv
=
new
PxEnv
(
''
,
this
.
url
,
this
.
sid
,
this
.
vid
,
this
.
ts
,
this
.
num1
,
this
.
num2
,
this
.
str1
,
this
.
uuid
,
...
...
@@ -272,31 +289,104 @@ class PxBypass {
async
step2
()
{
this
.
performanceNow
+=
randint
(
1000
,
2000
)
let
data
=
[{
"t"
:
"PX12167"
,
"d"
:
{
"PX11648"
:
true
}}]
let
res
=
await
this
.
do_collector
(
data
)
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"
// }
// }]
//
// 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)
// this.parseRes(inRes)
// this.seq++;
// this.rsc++;
}
async
step3
()
{
this
.
performanceNow
+=
randint
(
1000
,
2
000
)
this
.
performanceNow
=
randint
(
3000
,
4
000
)
// 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
()]
// data.push({
// "t": "PX11796",
// "d": {
// "PX11771": "https://collector-PXVb73hTEg.px-client.net/b/g",
// "PX11902": 2,
// "PX11560": this.performanceNow,
// "PX12280": this.px12280,
// "PX11496": this.uuid,
// "PX12564": null,
// "PX12565": -1
// }
// })
this
.
seq
=
3
this
.
rsc
=
2
;
let
res
=
await
this
.
do_collector
(
data
)
// this.seq++;
// this.rsc++;
}
async
step4
()
{
this
.
performanceNow
+=
randint
(
1000
,
2000
)
this
.
performanceNow
=
randint
(
11000
,
1
2000
)
// 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
=
new
Date
().
getTime
()
-
this
.
startTs
;
this
.
pxenv
.
performanceNow
=
this
.
performanceNow
this
.
pxenv
.
performanceNow2
=
this
.
pxenv
.
performanceNow
;
this
.
log
.
info
(
'performanceNow'
,
this
.
pxenv
.
performanceNow
)
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()
]
// let px11280 = Date.now();
// for (let i = 0; i < data.length; i++) {
// data[i].d['PX11280'] = px11280
// }
// await this.sleep(5000)
this
.
seq
=
4
this
.
rsc
=
3
;
let
res
=
await
this
.
do_collector
(
data
)
}
...
...
@@ -367,7 +457,7 @@ class PxBypass {
}));
this
.
log
.
info
(
res
.
data
.
cookies
)
if
(
res
.
data
.
cookies
[
'_pxhd'
]){
if
(
res
.
data
.
cookies
[
'_pxhd'
])
{
this
.
pxhd
=
res
.
data
.
cookies
[
'_pxhd'
]
}
let
reges
=
/_pxUuid = '
([
a-z0-9
\-]
+
)
'/
.
exec
(
res
.
data
.
text
);
...
...
src/encodepayload.js
View file @
5ecd46a8
This diff is collapsed.
Click to expand it.
src/px.js
View file @
5ecd46a8
This diff is collapsed.
Click to expand it.
src/pxenvutils.js
View file @
5ecd46a8
...
...
@@ -155,7 +155,7 @@ export function mousePath(startPoint, endPoint) {
}
for
(
let
i
=
0
;
i
<
randint
(
30
,
8
0
);
i
++
)
{
for
(
let
i
=
0
;
i
<
randint
(
15
,
3
0
);
i
++
)
{
if
(
reverseChoose
)
{
x
+=
randint
(
0
,
2
);
y
+=
Math
.
random
()
>
0.5
?
randint
(
0
,
1
)
:
-
randint
(
0
,
1
);
...
...
src/pxwasm.js
View file @
5ecd46a8
...
...
@@ -696,6 +696,7 @@ function Ie() {
if
(
d
(
u
,
v
)
===
'_pxUuid'
)
{
n
=
window
.
_pxUuid
}
console
.
log
(
'px.uuid'
,
n
)
return
y
(
n
)
?
0
:
P
(
n
);
},
t
[
"wbg"
][
"__wbg_crypto_c48a774b022d20ac"
]
=
function
(
r
)
{
var
u
=
v
;
...
...
src/run.js
View file @
5ecd46a8
...
...
@@ -132,7 +132,7 @@ class PxBypass {
if
(
typeof
data
===
'object'
)
{
data
=
JSON
.
stringify
(
data
)
}
this
.
log
.
info
(
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
=
{
...
...
src/utils.js
View file @
5ecd46a8
This diff is collapsed.
Click to expand it.
test.py
View file @
5ecd46a8
...
...
@@ -57,8 +57,7 @@ a2 = "UisrUitSHhEBDRAHHlIeAAsMAxAbHBwcHCsrKysrUh49EhpQHlFRUh4HGyhTKwgNCywYNxo4Ji
a2
=
"KysrKytSHj0SGlAeUVFSHgcbKFMrCA0LLBg3GjgmLxUvJTcWLCY7UiwbUhovNTQOLjUnFSw1MxYsNjtSODY3GiwmO1AtNjNWKwsVCwYLK1QrCAVWLBgoCy82DgsuNjNQLCYBFi82JA44MVJWLSU7Vi42Ixo4JgFSLDUwCywYJ1YvMSsRKwwzCy0IJ1AtNi8bLTYFUCwIO1AtJiMRKw8FCy0LKAs4JjALOzYjVy8IOxU7NjQPLCYzUTglOxg7UDtXLCYoDzgIMxg4NiNTLBgBUDs2N1AsNSsaLFAsCS01JA4sCCNQOwgFViwYBVIsJigOLA8vGjsYN1crDFJfHhYQFwceUVJSHBwcHFJSK1IrUh4BFxwcHBxSKysrK1JSUh49EhoGBx5RUVIeA1NQVgBaAFdXV1pXAFFWV1RRA1pTV1VQWwAAAFFWVAMDA1IHU1EHU1ZVBlQHU1oGWgBXA1VWAwZWBFFVBgZTAVgHGyhSAzVTDgFRMAoAOiMLLQgnUC02LxstNgUYLAg7UC0mIFseFhAXBx5RUlIcHBwcUisrUitSHhEBDRAHHlIeAAsMAxAb"
a2
=
"B1lZB1lZWQcUWBYWFhYHWQdZWVkUCx0WFhYWWVkHBwdZFDcYEFoUW1tYFA0RIlkhAgcBMTw6BDECORImLCUcJzwqBCU7WBAlPz4EJDwEBCY8ORwmPDIFJy89EiYSLgEmPCoFIQEfAQwBIV4hBT0QMTwLHycsOgIkPAMfMj85HCU8LgQyO1kAMTwxESQ8JVsyPCEfMVo6ACcvOVomOyEbIQY5AScCLVslLC1ZJSwxWSYCKRElEj0bIQUPAScBIgElLzlbMjwyAzI8MVslWj4FJz8hWyU8OVsxPyYAMT8+ADI8JVglAgNYJzwlWTFaMgEmWiIEMT89ECcsLgAlEgADMT85XTICIR8yLA9aJSwqAiYSORIhBlhVFBwaHQ0UW1hY"
a2
=
"B1kHWVlZFAsdFhYWFllZBwcHWRQ3GBBaFFtbWBQNESJZIQIHASU/LVomAjlcJjwhHCc8OgMmK1gQJT8+BCQ8BAQxEg8cMQU5WTI/MVkyPyYCJlomASEBHwEMASFeIQIMADFaIVgxBTIBJDwDWDIsDxwlPC4EMjtYXTI/PVgkPDEfJy8yAScvPgUlPCIDJTshGyEGOQEnAi1bJSwtXSUSCxAlPD1cJTwtGyEFDwEnASFZJSwLECVaMVsnLCYEMQIlHzESIVwyAi1dJjwuACYvOgEmPyIAJzwiACY/OgUyPy4FJQItWzFaPgAxPCFbMTwhWiYvMVsmEiYBJlotWDIFJVgyPAMfIQZYVRQcGh0NFFtYWBYWFhYHWVkHWVlZBxRY"
b2
=
base64
.
b64decode
(
a2
.
encode
())
for
i
in
bytes
(
encrypt
(
b2
,
872
%
128
))
.
decode
()
.
split
(
'~~~~'
):
...
...
test_url.py
View file @
5ecd46a8
...
...
@@ -15,7 +15,7 @@ prox = f'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrac
prox
=
'http://unfflcc:76cc14-47b8dd-1f8ace-827836-0c740e@usa.rotating.proxyrack.net:12019'
cks
=
'_px2=eyJ1IjoiOGRjYjQ3NjAt1ODljYi011xMWVlLTkwMmUtODE4MTcxMjRjOTBlIiwidiI6IjhlOGIyMGMzLTg5Y2ItMTFlZS05YWI1LTAwMjc4Njk4ZmY1ZiIsInQiOjYyMDIzMzg4MDAwNCwiaCI6Ijk4NjYzMWNkZDBmNTBjMWE5NjZjYjgwOGNlNzFjYTJkMWNkYzc2MjdjYTc4MTBlZDVhODdmN2FiMzYzOGU1OTgifQ=='
cks
=
'_pxvid=568dad46-943f-11ee-97cd-fc5e04cd8e29; pxcts=568dbb9e-943f-11ee-97cd-a3273e57225d; _px2=eyJ1IjoiNTRhNDJjODAtOTQzZi0xMWVlLWJjYjUtYTkwODI5MTk5MTNiIiwidiI6IjU2OGRhZDQ2LTk0M2YtMTFlZS05N2NkLWZjNWUwNGNkOGUyOSIsInQiOjE3MDE4NzEzMjg3MjEsImgiOiIxYzNlNmVhNmI5NDQ4ZjE1YjA2MDA1OGU5MDJhN2UyMTJmMzk2Yzc5YmMwMWM0NmUxYWJlZDVmNzU2ZWI4NjQ4In0='
#
cks = '_pxvid=568dad46-943f-11ee-97cd-fc5e04cd8e29; pxcts=568dbb9e-943f-11ee-97cd-a3273e57225d; _px2=eyJ1IjoiNTRhNDJjODAtOTQzZi0xMWVlLWJjYjUtYTkwODI5MTk5MTNiIiwidiI6IjU2OGRhZDQ2LTk0M2YtMTFlZS05N2NkLWZjNWUwNGNkOGUyOSIsInQiOjE3MDE4NzEzMjg3MjEsImgiOiIxYzNlNmVhNmI5NDQ4ZjE1YjA2MDA1OGU5MDJhN2UyMTJmMzk2Yzc5YmMwMWM0NmUxYWJlZDVmNzU2ZWI4NjQ4In0='
...
...
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