Commit bc64df29 authored by wangmingming's avatar wangmingming

11

parent 892b939d
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -346,12 +346,13 @@ setTimeout(r=> {
#
# if platform.uname().system == 'Darwin':
total += 1
# response = session.post(url, headers=headers, json=data)
response = requests.post('http://52.52.23.116/tls/forward',
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']
response = session.post(url, headers=headers, data=data)
# response = requests.post('http://52.52.23.116/tls/forward',
# 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']
status_code = response.status_code
print(response.text)
logger.info(f'tls:{tlsV} proxy:{proxy} res:: {status_code}')
# status_code = 400
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment