mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Fix for an Issue #644
This commit is contained in:
parent
97f603af4a
commit
97fe5e52c2
|
@ -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]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user