mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
fix for that update (conf.cj) problem mentioned by shiftzwei@gmail.com
This commit is contained in:
@@ -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: "
|
||||||
|
|||||||
Reference in New Issue
Block a user