Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 605d73c commit bdd819dCopy full SHA for bdd819d
1 file changed
tamper/between.py
@@ -5,6 +5,8 @@
5
See the file 'doc/COPYING' for copying permission
6
"""
7
8
+import re
9
+
10
from lib.core.enums import PRIORITY
11
12
__priority__ = PRIORITY.HIGHEST
@@ -54,7 +56,7 @@ def tamper(payload, headers=None):
54
56
55
57
elif payload[i] == ">" and not doublequote and not quote:
58
retVal += " " if i > 0 and not payload[i-1].isspace() else ""
- retVal += "NOT BETWEEN 0 AND"
59
+ retVal += "NOT BETWEEN %s AND" % ('0' if re.search(r"\A[^\w]*\d", payload[i+1:]) else "NULL")
60
retVal += " " if i < len(payload) - 1 and not payload[i+1:i+2].isspace() else ""
61
62
continue
0 commit comments