cosmetics

This commit is contained in:
Miroslav Stampar 2010-12-23 18:44:18 +00:00
parent 017ea9e686
commit 7f7fb93155

View File

@ -52,12 +52,9 @@ def errorUse(expression):
expression = unescaper.unescape(expression)
expression = query.replace("[QUERY]", expression)
#debugMsg = "query: %s" % expression
#logger.debug(debugMsg)
payload = agent.payload(newValue=expression)
reqBody, _ = Request.queryPage(payload, content=True)
output = extractRegexResult(check, reqBody, re.DOTALL | re.IGNORECASE)
page, _ = Request.queryPage(payload, content=True)
output = extractRegexResult(check, page, re.DOTALL | re.IGNORECASE)
if output:
output = output.replace(kb.misc.space, " ")