Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-reese84
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
lcc-reese84
Commits
11879868
Commit
11879868
authored
Aug 14, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
c901f6a4
Pipeline
#462
canceled with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
10 deletions
+8
-10
reese84_bypass.py
src/reese84_bypass.py
+5
-7
run.js
src/run.js
+1
-1
vm_env.js
src/vm_env.js
+2
-2
No files found.
src/reese84_bypass.py
View file @
11879868
...
...
@@ -4,7 +4,7 @@ import random
import
subprocess
import
time
from
pathlib
import
Path
import
tempfile
import
tls_client
from
loguru
import
logger
...
...
@@ -66,23 +66,21 @@ class Reese84ByPass(object):
t1
=
time
.
time
()
r1
=
self
.
__session
.
get
(
'https://www.volaris.com/Germand-and-haue-lent-Layest-Lord-former-Guill-m'
)
self
.
log
.
log
(
'REQU'
,
f
'JSURL: code:{r1.status_code} cost:{(time.time() - t1):.3f}s'
)
a
,
filename
=
tempfile
.
mkstemp
()
envCode
=
open
(
work_dir
+
'src/run.js'
,
'r'
)
.
read
()
with
open
(
work_dir
+
'src/vm_env.js'
,
'w'
)
as
f
:
f
.
write
(
envCode
+
r1
.
text
)
t2
=
time
.
time
()
p
=
subprocess
.
Popen
([
'node'
,
f
'{work_dir}src/vm_env.js'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
p
=
subprocess
.
Popen
([
'node'
,
f
'{work_dir}src/vm_env.js'
,
filename
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
if
p
.
returncode
==
0
:
datas
=
output
.
decode
()
.
split
(
'
\n
'
)
else
:
raise
Exception
(
"执行 JS 超时"
)
print
(
filename
)
self
.
log
.
log
(
'VMJS'
,
f
'执行JS: cost:{(time.time() - t2):.3f}s'
)
try
:
data
=
json
.
loads
(
datas
[
-
2
])
except
:
data
=
json
.
loads
(
datas
[
-
1
])
data
=
json
.
loads
(
open
(
filename
,
'r'
)
.
read
())
# print(len(data['solution']['interrogation']['p']))
t3
=
time
.
time
()
...
...
src/run.js
View file @
11879868
...
...
@@ -981,7 +981,7 @@ window.cancelAnimationFrame = function cancelAnimationFrame() {
window
.
fetch
=
function
(
url
,
options
)
{
// console.log('fetch', url, options)
_console
(
options
.
body
)
// fss.writeFileSync('data.txt'
, options.body)
process
.
argv
[
2
]
&&
fss
.
writeFileSync
(
process
.
argv
[
2
]
,
options
.
body
)
process
.
exit
(
0
)
// console.log(JSON.stringify(window.fonts))
}
...
...
src/vm_env.js
View file @
11879868
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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