Silent bug fix

This commit is contained in:
Miroslav Stampar
2020-11-09 23:02:48 +01:00
parent c243c5fe0d
commit 4d2b890a0a
5 changed files with 5 additions and 5 deletions

View File

@@ -33,4 +33,4 @@ def tamper(payload, **kwargs):
'1"-.1UNION ALL SELECT'
"""
return re.sub(r"\s+(UNION )", r"-.1\g<1>", payload, re.I) if payload else payload
return re.sub(r"(?i)\s+(UNION )", r"-.1\g<1>", payload) if payload else payload