Better results with following the redirect in identifyWaf phase

This commit is contained in:
Miroslav Stampar
2019-01-07 16:05:59 +01:00
parent 97cf5b9ace
commit 3b4e44a38d
3 changed files with 5 additions and 5 deletions

View File

@@ -1418,7 +1418,7 @@ def identifyWaf():
page, headers, code = None, None, None
try:
pushValue(kb.redirectChoice)
kb.redirectChoice = REDIRECTION.NO
kb.redirectChoice = REDIRECTION.YES
if kwargs.get("get"):
kwargs["get"] = urlencode(kwargs["get"])
kwargs["raise404"] = False