From dcb9c9332832c6a7ca75991cc19d2bf15de968a9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 8 Feb 2011 16:27:58 +0000 Subject: [PATCH] minor cleanup --- lib/techniques/error/use.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 565140cd0..a82744640 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -39,8 +39,8 @@ reqCount = 0 def __oneShotErrorUse(expression, field): global reqCount - offset = 1 retVal = None + offset = 1 while True: check = "%s(?P.*?)%s" % (kb.misc.start, kb.misc.stop) @@ -56,7 +56,6 @@ def __oneShotErrorUse(expression, field): injExpression = unescaper.unescape(injExpression) injExpression = query.replace("[QUERY]", injExpression) payload = agent.payload(newValue=injExpression) - print payload # Perform the request page, headers = Request.queryPage(payload, content=True)