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
adc5a286
Commit
adc5a286
authored
Nov 09, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e4f58eaf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13396 additions
and
666 deletions
+13396
-666
reese84_bypass.py
src/reese84_bypass.py
+5
-3
vm_env.js
src/vm_env.js
+13391
-663
No files found.
src/reese84_bypass.py
View file @
adc5a286
...
@@ -38,6 +38,7 @@ class Reese84ByPass(object):
...
@@ -38,6 +38,7 @@ class Reese84ByPass(object):
}
}
Path
(
log_dir
)
.
joinpath
(
thread_name
)
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
Path
(
log_dir
)
.
joinpath
(
thread_name
)
.
mkdir
(
exist_ok
=
True
,
parents
=
True
)
self
.
log
=
logger
.
bind
(
module_name
=
thread_name
)
self
.
log
=
logger
.
bind
(
module_name
=
thread_name
)
self
.
thread_name
=
thread_name
self
.
log
.
info
(
f
'proxy:{proxy} target:{target}'
)
self
.
log
.
info
(
f
'proxy:{proxy} target:{target}'
)
self
.
_cache_md5
=
''
self
.
_cache_md5
=
''
...
@@ -76,16 +77,17 @@ class Reese84ByPass(object):
...
@@ -76,16 +77,17 @@ class Reese84ByPass(object):
r1
=
self
.
_session
.
get
(
r1
=
self
.
_session
.
get
(
'https://beta.makeabooking.flyscoot.com/Two-discharted-Not-ere-int-when-is-are-Poss-A-Sa'
)
'https://beta.makeabooking.flyscoot.com/Two-discharted-Not-ere-int-when-is-are-Poss-A-Sa'
)
self
.
log
.
log
(
'REQU'
,
f
'JSURL: code:{r1.status_code} cost:{(time.time() - t1):.3f}s'
)
self
.
log
.
log
(
'REQU'
,
f
'JSURL: code:{r1.status_code} cost:{(time.time() - t1):.3f}s'
)
a
,
filename
=
tempfile
.
mkstemp
()
cache_md5
=
md5
(
r1
.
text
)
cache_md5
=
md5
(
r1
.
text
)
if
self
.
_cache_md5
!=
cache_md5
:
if
self
.
_cache_md5
!=
cache_md5
:
self
.
_cache_md5
=
cache_md5
self
.
_cache_md5
=
cache_md5
self
.
log
.
log
(
'VMJS'
,
f
'JS变化'
)
self
.
log
.
log
(
'VMJS'
,
f
'JS变化'
)
envCode
=
open
(
work_dir
+
'src/run.js'
,
'r'
)
.
read
()
envCode
=
open
(
work_dir
+
'src/run.js'
,
'r'
)
.
read
()
with
open
(
work_dir
+
'src/vm_env
.js'
,
'w'
)
as
f
:
with
open
(
work_dir
+
f
'src/vm_env_{self.thread_name}
.js'
,
'w'
)
as
f
:
f
.
write
(
envCode
+
r1
.
text
)
f
.
write
(
envCode
+
r1
.
text
)
a
,
filename
=
tempfile
.
mkstemp
()
t2
=
time
.
time
()
t2
=
time
.
time
()
p
=
subprocess
.
Popen
([
'node'
,
f
'{work_dir}src/vm_env.js'
,
filename
],
stdin
=
subprocess
.
PIPE
,
p
=
subprocess
.
Popen
([
'node'
,
f
'{work_dir}src/vm_env
_{self.thread_name}
.js'
,
filename
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
...
...
src/vm_env.js
View file @
adc5a286
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