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 9fff88d commit 6c4c827Copy full SHA for 6c4c827
1 file changed
tamper/unmagicquotes.py
@@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
44
continue
45
46
if found:
47
- _ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal, flags=re.I)
+ _ = re.sub("(?i)\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
48
if _ != retVal:
49
retVal = _
50
retVal += "-- "
0 commit comments