mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Merge pull request #714 from securitygeneration/patch-1
Modified regex to be case insensitive
This commit is contained in:
commit
295b2f8603
|
@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
|
|||
continue
|
||||
|
||||
if found:
|
||||
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
|
||||
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal, flags=re.I)
|
||||
if _ != retVal:
|
||||
retVal = _
|
||||
retVal += "-- "
|
||||
|
|
Loading…
Reference in New Issue
Block a user