mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-17 03:50:42 +03:00
well, important fix for blind based cases (especially OR ones)
This commit is contained in:
parent
f27181c628
commit
8c80413c52
|
@ -51,7 +51,7 @@ def forgeHeaders(cookie, ua, referer):
|
||||||
else:
|
else:
|
||||||
headers[header] = value
|
headers[header] = value
|
||||||
|
|
||||||
if kb.redirectSetCookie:
|
if kb.redirectSetCookie and not conf.dropSetCookie:
|
||||||
if "Cookie" in headers:
|
if "Cookie" in headers:
|
||||||
headers["Cookie"] = "%s; %s" % (headers["Cookie"], kb.redirectSetCookie)
|
headers["Cookie"] = "%s; %s" % (headers["Cookie"], kb.redirectSetCookie)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user