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

Skip to content

Commit 6c4c827

Browse files
committed
Fix for an Issue #768
1 parent 9fff88d commit 6c4c827

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tamper/unmagicquotes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
4444
continue
4545

4646
if found:
47-
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal, flags=re.I)
47+
_ = re.sub("(?i)\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
4848
if _ != retVal:
4949
retVal = _
5050
retVal += "-- "

0 commit comments

Comments
 (0)