mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-04-25 11:23:44 +03:00
fix for that update (conf.cj) problem mentioned by shiftzwei@gmail.com
This commit is contained in:
parent
effc7dc41c
commit
63c70018ca
|
@ -223,7 +223,7 @@ def initTargetEnv():
|
||||||
|
|
||||||
if conf.multipleTargets:
|
if conf.multipleTargets:
|
||||||
if conf.cj:
|
if conf.cj:
|
||||||
conf.cj.clear()
|
conf.cj.clear()
|
||||||
|
|
||||||
conf.paramDict = {}
|
conf.paramDict = {}
|
||||||
conf.parameters = {}
|
conf.parameters = {}
|
||||||
|
|
|
@ -157,7 +157,7 @@ class Connect:
|
||||||
|
|
||||||
requestHeaders = "\n".join(["%s: %s" % (header, value) for header, value in req.header_items()])
|
requestHeaders = "\n".join(["%s: %s" % (header, value) for header, value in req.header_items()])
|
||||||
|
|
||||||
if not conf.dropSetCookie:
|
if not conf.dropSetCookie and conf.cj:
|
||||||
for _, cookie in enumerate(conf.cj):
|
for _, cookie in enumerate(conf.cj):
|
||||||
if not cookieStr:
|
if not cookieStr:
|
||||||
cookieStr = "Cookie: "
|
cookieStr = "Cookie: "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user