From 7725695f26fed038c333dd9efc521638552e9fe1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 21 Aug 2013 11:25:41 +0200 Subject: [PATCH] Fix for an Issue #511 --- tamper/between.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tamper/between.py b/tamper/between.py index bcb636de4..bdee16442 100644 --- a/tamper/between.py +++ b/tamper/between.py @@ -43,6 +43,6 @@ def tamper(payload, **kwargs): _ = "%s %s NOT BETWEEN 0 AND %s" % (match.group(2), match.group(4), match.group(5)) retVal = retVal.replace(match.group(0), _) else: - retVal = re.sub(r"\s*>\s*(\d+|'[^']+')", " NOT BETWEEN 0 AND \g<1>", payload) + retVal = re.sub(r"\s*>\s*(\d+|'[^']+'|\w+\(\d+\))", " NOT BETWEEN 0 AND \g<1>", payload) return retVal