mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +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.cj:
|
||||
conf.cj.clear()
|
||||
conf.cj.clear()
|
||||
|
||||
conf.paramDict = {}
|
||||
conf.parameters = {}
|
||||
|
|
|
@ -157,7 +157,7 @@ class Connect:
|
|||
|
||||
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):
|
||||
if not cookieStr:
|
||||
cookieStr = "Cookie: "
|
||||
|
|
Loading…
Reference in New Issue
Block a user