mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Patch for an Issue #713
This commit is contained in:
parent
54be398e83
commit
dac386735a
|
@ -44,7 +44,9 @@ def tamper(payload, **kwargs):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if found:
|
if found:
|
||||||
retVal = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
|
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
|
||||||
|
if _ != retVal:
|
||||||
|
retVal = _
|
||||||
retVal += "-- "
|
retVal += "-- "
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
Loading…
Reference in New Issue
Block a user