简体   繁体   中英

SQLMap: Can't establish SSL Connection: Need Solution

Am trying to use SQLMap with https but when i try "C:\\Python27\\sqlmap>sqlmap.py -u https://localhost:8774/App/console/index.jsp --force-ssl" it returns "Can't establish SSL Connection" .

So it there any way that i can pass SSL certificate to SQLMap?

Environment Details: OS: Windows 10 Python: 2.7 SQLMap: 1.4.2.42

Refer to attached image for more details.

从“u”参数中删除 https://,只需输入:-u localhost:8774/App/console/index.jsp

A simple solution for that is to set up a proxy listener like Burp Suite , browse over to the site with the bad SSL certificate and Trust it.

After that, you can include the following option in your SQLMap command:

--proxy="http://PROXY-IP:PROXY-PORT"

where proxy ip is generally 127.0.0.1 and proxy port 8080 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM