From 34f70657ee4491b33dfd145cec4593bd0ac64d4d Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 20 Oct 2010 10:29:18 +0000 Subject: [PATCH] fix for NULL values --- lib/techniques/error/use.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 6b6b1b899..c712fb65e 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -73,7 +73,7 @@ def errorUse(expression, resumeValue=True): forgedPayload = safeStringFormat(payload, (logic, randInt, startLimiter, expressionUnescaped, endLimiter)) result = Request.queryPage(urlencode(forgedPayload), content=True) - match = re.search('%s(?P.+?)%s' % (ERROR_START_CHAR, ERROR_END_CHAR), result[0], re.DOTALL | re.IGNORECASE) + match = re.search('%s(?P.*?)%s' % (ERROR_START_CHAR, ERROR_END_CHAR), result[0], re.DOTALL | re.IGNORECASE) if match: output = match.group('result') if output: