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
99a00431
Commit
99a00431
authored
Dec 04, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
日志管理
parent
7314feb6
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
140 additions
and
102 deletions
+140
-102
decodeResult22.js
ast/decodeResult22.js
+1
-1
px3_V1.8.7_OK.js
ast/px3_V1.8.7_OK.js
+2
-0
index.html
index.html
+3
-3
captcha.js
src/captcha.js
+1
-0
px.js
src/px.js
+105
-98
pxenvutils.js
src/pxenvutils.js
+17
-0
run.js
src/run.js
+3
-0
utils.js
src/utils.js
+8
-0
No files found.
ast/decodeResult22.js
View file @
99a00431
...
@@ -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
)
{
...
...
ast/px3_V1.8.7_OK.js
View file @
99a00431
...
@@ -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
)
{
...
...
index.html
View file @
99a00431
...
@@ -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
);
};
};
...
...
src/captcha.js
View file @
99a00431
...
@@ -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
=
{
...
...
src/px.js
View file @
99a00431
This diff is collapsed.
Click to expand it.
src/pxenvutils.js
View file @
99a00431
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
src/run.js
View file @
99a00431
...
@@ -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
:
{
...
...
src/utils.js
View file @
99a00431
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
=
[];
...
...
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