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
7f9a4a90
Commit
7f9a4a90
authored
Jul 19, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验票
parent
dd15083c
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
test.py
test.py
+5
-5
httpUtil.js
wn/src/httpUtil.js
+1
-1
main.py
wn/src/main.py
+1
-1
No files found.
test.py
View file @
7f9a4a90
This diff is collapsed.
Click to expand it.
wn/src/httpUtil.js
View file @
7f9a4a90
...
...
@@ -6,7 +6,7 @@ if (os.platform() === 'linux') {
path
=
'./tls-client-linux-ubuntu-amd64-v1.7.2.so'
;
}
else
{
path
=
'./tls-client-arm64.dylib'
path
=
'../tls-client-darwin-amd64-v1.7.2.dylib'
//
path = '../tls-client-darwin-amd64-v1.7.2.dylib'
}
// load the tls-client shared package for your OS you are currently running your nodejs script (i'm running on mac)
...
...
wn/src/main.py
View file @
7f9a4a90
...
...
@@ -362,7 +362,7 @@ setTimeout(r=> {
response
=
requests
.
post
(
'http://52.52.23.116/tls/forward'
,
# response = requests.post('http://127.0.0.1:58000/tls/forward',
json
=
dict
(
url
=
url
,
headers
=
headers
,
method
=
"POST"
,
proxy
=
'http://127.0.0.1:7890'
,
debug
=
True
,
data
=
data
json
=
dict
(
url
=
url
,
headers
=
headers
,
method
=
"POST"
,
proxy
=
proxy
,
debug
=
True
,
data
=
data
,
allow_redirects
=
True
,
random_tls
=
True
))
status_code
=
response
.
json
()[
'status_code'
]
...
...
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