mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-04 07:43:44 +03:00
Modified regex to be case insensitive
Changed the regular expression to be case insensitive so that it works with the randomcase.py tamper script.
This commit is contained in:
parent
dac386735a
commit
5659eeec10
|
@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if found:
|
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:
|
if _ != retVal:
|
||||||
retVal = _
|
retVal = _
|
||||||
retVal += "-- "
|
retVal += "-- "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user