mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 11:03:47 +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
|
continue
|
||||||
|
|
||||||
if found:
|
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:
|
if _ != retVal:
|
||||||
retVal = _
|
retVal = _
|
||||||
retVal += "-- "
|
retVal += "-- "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user