From 7f7fb9315555b90080e522591172346811f1d8f2 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 23 Dec 2010 18:44:18 +0000 Subject: [PATCH] cosmetics --- lib/techniques/error/use.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 769378fc8..a2927fe73 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -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, " ")