Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7725695

Browse files
committed
Fix for an Issue #511
1 parent 1d4e2d1 commit 7725695

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tamper/between.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ def tamper(payload, **kwargs):
4343
_ = "%s %s NOT BETWEEN 0 AND %s" % (match.group(2), match.group(4), match.group(5))
4444
retVal = retVal.replace(match.group(0), _)
4545
else:
46-
retVal = re.sub(r"\s*>\s*(\d+|'[^']+')", " NOT BETWEEN 0 AND \g<1>", payload)
46+
retVal = re.sub(r"\s*>\s*(\d+|'[^']+'|\w+\(\d+\))", " NOT BETWEEN 0 AND \g<1>", payload)
4747

4848
return retVal

0 commit comments

Comments
 (0)