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
3a42d6de
Commit
3a42d6de
authored
Jul 17, 2024
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
验票
parent
e8b57a42
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
753 additions
and
17 deletions
+753
-17
test.py
test.py
+15
-10
main.py
wn/src/main.py
+4
-2
src2.js
wn/src/src2.js
+734
-5
No files found.
test.py
View file @
3a42d6de
This diff is collapsed.
Click to expand it.
wn/src/main.py
View file @
3a42d6de
...
@@ -232,6 +232,7 @@ while True:
...
@@ -232,6 +232,7 @@ while True:
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
# proxy = 'http://user-unifflcc-region-us:q39CEBTs5A5YQXor@pr.roxlabs.cn:4600'
tlsV
=
f
'chrome_{random.randint(105, 113)}'
tlsV
=
f
'chrome_{random.randint(105, 113)}'
# proxy = random.choice([proxy1, proxy2])
# proxy = random.choice([proxy1, proxy2])
proxy
=
get_proxy
()[
'url'
]
proxy
=
get_proxy
()[
'url'
]
logger
.
info
(
f
"success:{success} proxy: {proxy} "
)
logger
.
info
(
f
"success:{success} proxy: {proxy} "
)
...
@@ -359,8 +360,9 @@ setTimeout(r=> {
...
@@ -359,8 +360,9 @@ setTimeout(r=> {
# response = session.post(url, headers=headers, data=data)
# response = session.post(url, headers=headers, data=data)
# status_code = response.status_code
# status_code = response.status_code
response
=
requests
.
post
(
'http://52.52.23.116/tls/forward'
,
# response = requests.post('http://52.52.23.116/tls/forward',
json
=
dict
(
url
=
url
,
headers
=
headers
,
method
=
"POST"
,
proxy
=
proxy
,
debug
=
True
,
data
=
data
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
,
allow_redirects
=
True
,
random_tls
=
True
,
allow_redirects
=
True
,
random_tls
=
True
))
))
status_code
=
response
.
json
()[
'status_code'
]
status_code
=
response
.
json
()[
'status_code'
]
...
...
wn/src/src2.js
View file @
3a42d6de
This diff is collapsed.
Click to expand it.
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