Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8c80413

Browse files
committed
well, important fix for blind based cases (especially OR ones)
1 parent f27181c commit 8c80413

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/basic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def forgeHeaders(cookie, ua, referer):
5151
else:
5252
headers[header] = value
5353

54-
if kb.redirectSetCookie:
54+
if kb.redirectSetCookie and not conf.dropSetCookie:
5555
if "Cookie" in headers:
5656
headers["Cookie"] = "%s; %s" % (headers["Cookie"], kb.redirectSetCookie)
5757
else:

0 commit comments

Comments
 (0)