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
b97c6782
Commit
b97c6782
authored
Dec 01, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
js
parent
7c020df9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
run.js
src/run.js
+6
-1
No files found.
src/run.js
View file @
b97c6782
...
@@ -31,7 +31,7 @@ class PxBypass {
...
@@ -31,7 +31,7 @@ class PxBypass {
"user-agent"
:
this
.
ua
"user-agent"
:
this
.
ua
}
}
pxUrl
=
`https://collector-
${
this
.
appId
}
.px-cloud.net/api/v2/collector`
pxUrl
=
`https://collector-
${
this
.
appId
}
.px-cloud.net/api/v2/collector`
tlsUrl
=
'http://52.52.23.116/tls/forward
ios
'
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://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)}`
...
@@ -63,6 +63,10 @@ class PxBypass {
...
@@ -63,6 +63,10 @@ class PxBypass {
}
}
async
sleep
(
ms
)
{
return
new
Promise
(
resolve
=>
setTimeout
(
resolve
,
ms
));
}
async
add_headers
()
{
async
add_headers
()
{
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
(
'; '
)
...
@@ -297,6 +301,7 @@ async function run() {
...
@@ -297,6 +301,7 @@ async function run() {
let
px
=
new
PxBypass
()
let
px
=
new
PxBypass
()
await
px
.
step1
()
await
px
.
step1
()
await
px
.
step2
()
await
px
.
step2
()
await
px
.
sleep
(
1500
)
await
px
.
step3
()
await
px
.
step3
()
await
px
.
step4
()
await
px
.
step4
()
...
...
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