SQLMap和SSL错误

时间:2015-05-26 06:47:08

标签: python http ubuntu ssl sqlmap

python sqlmap.py -u "https://bake-house.com/" --random-agent -v 3   

[15:38:18] [DEBUG] cleaning up configuration parameters
[15:38:18] [DEBUG] checking for WebSocket
[15:38:18] [DEBUG] setting the HTTP timeout
[15:38:18] [DEBUG] loading random HTTP User-Agent header(s) from file '/tmp/sqlmap/txt/user-agents.txt'
[15:38:18] [INFO] fetched random HTTP User-Agent header from file '/tmp/sqlmap/txt/user-agents.txt': 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.42 Safari/530.5'
[15:38:18] [DEBUG] creating HTTP requests opener object
[15:38:18] [DEBUG] resolving hostname 'bake-house.com'
[15:38:19] [INFO] testing connection to the target URL
[15:38:20] [DEBUG] SSL connection error occurred ('[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:590)')
[15:38:20] [DEBUG] SSL connection error occurred ('[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)')
[15:38:21] [DEBUG] SSL connection error occurred ('[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:590)')
[15:38:21] [CRITICAL] can't establish SSL connection

如果在示例上更改主机:https://google.com,请在此处连接结果 - 确定

在Ubuntu和Windows 7中存在这个问题。

代码SQLMap,模块http连接:https://github.com/sqlmapproject/sqlmap/blob/master/lib/request/httpshandler.py

Python 2.7.10,SQLMap最新版本,OpenSSL 1.0.2a

请帮助我,如何解决这个问题?

0 个答案:

没有答案