well, important fix for blind based cases (especially OR ones)

This commit is contained in:
Miroslav Stampar 2011-06-03 15:29:22 +00:00
parent f27181c628
commit 8c80413c52

View File

@ -51,7 +51,7 @@ def forgeHeaders(cookie, ua, referer):
else:
headers[header] = value
if kb.redirectSetCookie:
if kb.redirectSetCookie and not conf.dropSetCookie:
if "Cookie" in headers:
headers["Cookie"] = "%s; %s" % (headers["Cookie"], kb.redirectSetCookie)
else: