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
dfacf0a3
Commit
dfacf0a3
authored
Aug 14, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
45c39188
Pipeline
#455
canceled with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
reese84_bypass.py
src/reese84_bypass.py
+4
-4
run.js
src/run.js
+2
-2
vm_env.js
src/vm_env.js
+3
-3
No files found.
src/reese84_bypass.py
View file @
dfacf0a3
...
...
@@ -11,7 +11,7 @@ req_level = logger.level('REQU', no=100, color='<fg 34>')
js_level
=
logger
.
level
(
'VMJS'
,
no
=
100
,
color
=
'<fg 185>'
)
work_dir
=
'/data/log/lcc-y4/'
if
platform
.
platform
()
.
startswith
(
'mac'
):
work_dir
=
'/Users/wang/Documents/company/lcc-
y
4/'
work_dir
=
'/Users/wang/Documents/company/lcc-
reese8
4/'
class
Reese84ByPass
(
object
):
...
...
@@ -61,11 +61,11 @@ class Reese84ByPass(object):
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'
)
envCode
=
open
(
'
run.js'
,
'r'
)
.
read
()
with
open
(
'
vm_env.js'
,
'w'
)
as
f
:
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
'vm_env.js'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
p
=
subprocess
.
Popen
([
'node'
,
f
'
{work_dir}src/
vm_env.js'
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
if
p
.
returncode
==
0
:
...
...
src/run.js
View file @
dfacf0a3
This diff is collapsed.
Click to expand it.
src/vm_env.js
View file @
dfacf0a3
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