Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
7ea6f051
Commit
7ea6f051
authored
Feb 02, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
111
parent
dfd29792
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
42 additions
and
5 deletions
+42
-5
fenxi.md
fenxi.md
+0
-0
js_dom_run1.js
wn/src/js_dom_run1.js
+2
-2
main.py
wn/src/main.py
+2
-2
src2.js
wn/src/src2.js
+27
-0
src_run1.js
wn/src_run1.js
+11
-1
No files found.
fenxi.md
View file @
7ea6f051
No preview for this file type
wn/src/js_dom_run1.js
View file @
7ea6f051
This diff is collapsed.
Click to expand it.
wn/src/main.py
View file @
7ea6f051
...
@@ -262,7 +262,7 @@ while True:
...
@@ -262,7 +262,7 @@ while True:
# '_id': token,
# '_id': token,
# 'update_time': int(time.time() * 1000)
# 'update_time': int(time.time() * 1000)
# })
# })
code
=
open
(
'src.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
code
=
open
(
'src
2
.js'
,
'r'
,
encoding
=
'utf-8'
)
.
read
()
with
open
(
'src_run2.js'
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
with
open
(
'src_run2.js'
,
'w'
,
encoding
=
'utf-8'
)
as
f
:
f
.
write
(
code
+
'
\n\n
'
+
get_random_location
()
+
';;'
+
c
f
.
write
(
code
+
'
\n\n
'
+
get_random_location
()
+
';;'
+
c
+
+
...
@@ -314,7 +314,7 @@ setTimeout(r=> {
...
@@ -314,7 +314,7 @@ setTimeout(r=> {
# p = subprocess.Popen(['node', 'js_dom_run1.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'js_dom_run1.js', selectId, '11'], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run_chrome_105.js', selectId, '11', token], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run_chrome_105.js', selectId, '11', token], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run_company_chrome.js', selectId, '11', token], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
# p = subprocess.Popen(['node', 'src_run_company_chrome.js', selectId, '11', token], stdin=subprocess.PIPE, stdout=subprocess.PIPE,
p
=
subprocess
.
Popen
([
'node'
,
'src_run
1
.js'
,
selectId
,
'11'
,
token
,
proxy
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
p
=
subprocess
.
Popen
([
'node'
,
'src_run
2
.js'
,
selectId
,
'11'
,
token
,
proxy
],
stdin
=
subprocess
.
PIPE
,
stdout
=
subprocess
.
PIPE
,
stderr
=
subprocess
.
PIPE
)
stderr
=
subprocess
.
PIPE
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
output
,
err
=
p
.
communicate
(
timeout
=
10
)
tmp
=
''
tmp
=
''
...
...
wn/src/src2.js
View file @
7ea6f051
No preview for this file type
wn/src_run1.js
View file @
7ea6f051
No preview for this file type
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