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
a70c4792
Commit
a70c4792
authored
Jan 03, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
6a94e20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
+13
-6
captcha.js
src/captcha.js
+13
-6
No files found.
src/captcha.js
View file @
a70c4792
...
...
@@ -39,8 +39,8 @@ 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:8
890'
tlsUrl
=
'http://127.0.0.1:58000/tls/forward'
// prox = 'http://127.0.0.1:7
890'
//
tlsUrl = 'http://127.0.0.1:58000/tls/forward'
// tlsUrl = 'http://127.0.0.1:3000/tls/forward'
...
...
@@ -258,14 +258,16 @@ class PxBypass {
}
parseRes
(
inRes
)
{
let
result
=
void
0
;
if
(
inRes
[
'ob'
])
{
let
cks
=
ie
(
atob
(
inRes
.
ob
),
this
.
version
()).
split
(
'~~~~'
)
this
.
log
.
info
(
cks
.
length
,
JSON
.
stringify
(
cks
,
null
,
'
\
t'
))
for
(
var
ck
of
cks
)
{
let
tmp
=
ck
.
split
(
'|'
);
if
(
tmp
[
0
]
===
'o11o1
11
o'
)
{
if
(
tmp
[
0
]
===
'o11o1
oo
o'
)
{
this
.
log
.
fatal
(
'result'
,
tmp
[
1
]
===
'0'
)
result
=
tmp
[
1
]
===
'0'
}
if
(
tmp
[
0
]
===
'o11o1o11'
)
{
this
.
ts
=
tmp
[
1
]
...
...
@@ -325,6 +327,10 @@ class PxBypass {
}
}
if
(
result
){
this
.
result
=
result
;
}
}
version
()
{
...
...
@@ -405,7 +411,7 @@ class PxBypass {
id
:
"2"
}));
// let inRes = JSON.parse(res.data)
this
.
log
.
info
(
res
.
data
)
//
this.log.info(res.data)
// this.parseRes(inRes)
this
.
seq
++
;
...
...
@@ -566,8 +572,7 @@ async function run() {
await
px
.
step4
()
// await px.sleep(1500)
let
statusCode
=
await
px
.
test
()
if
(
statusCode
===
403
)
{
if
(
!
px
.
result
)
{
await
px
.
step1
()
await
px
.
step2
()
await
px
.
sleep
(
1500
)
...
...
@@ -577,6 +582,8 @@ async function run() {
await
px
.
step4
()
}
let
statusCode
=
await
px
.
test
()
}
...
...
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