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

Skip to content

Commit ba01560

Browse files
committed
Update for special cases
1 parent 6906394 commit ba01560

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tamper/between.py

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

4749
return retVal

0 commit comments

Comments
 (0)