mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 17:46:37 +03:00
fixing my mistake
This commit is contained in:
parent
5ebf572cae
commit
89e919f07a
|
@ -593,8 +593,9 @@ def __setHTTPProxy():
|
|||
|
||||
global proxyHandler
|
||||
|
||||
if not conf.proxy and (conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy):
|
||||
proxyHandler = urllib2.ProxyHandler({})
|
||||
if not conf.proxy:
|
||||
if conf.hostname in ('localhost', '127.0.0.1') or conf.ignoreProxy:
|
||||
proxyHandler = urllib2.ProxyHandler({})
|
||||
return
|
||||
|
||||
debugMsg = "setting the HTTP proxy to pass by all HTTP requests"
|
||||
|
|
Loading…
Reference in New Issue
Block a user