mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Fix for an Issue #768
This commit is contained in:
parent
9fff88d6e4
commit
6c4c82758d
|
@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
|
|||
continue
|
||||
|
||||
if found:
|
||||
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal, flags=re.I)
|
||||
_ = re.sub("(?i)\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
|
||||
if _ != retVal:
|
||||
retVal = _
|
||||
retVal += "-- "
|
||||
|
|
Loading…
Reference in New Issue
Block a user