mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-16 04:39:06 +00:00
Fix for an Issue #644
This commit is contained in:
@@ -1000,6 +1000,10 @@ def _setHTTPProxy():
|
|||||||
"""
|
"""
|
||||||
global proxyHandler
|
global proxyHandler
|
||||||
|
|
||||||
|
for _ in ("http", "https"):
|
||||||
|
if hasattr(proxyHandler, "%s_open" % _):
|
||||||
|
delattr(proxyHandler, "%s_open" % _)
|
||||||
|
|
||||||
if not conf.proxy:
|
if not conf.proxy:
|
||||||
if conf.proxyList:
|
if conf.proxyList:
|
||||||
conf.proxy = conf.proxyList[0]
|
conf.proxy = conf.proxyList[0]
|
||||||
|
|||||||
Reference in New Issue
Block a user