Patch for an Issue #713

This commit is contained in:
Miroslav Stampar 2014-06-08 12:34:12 +02:00
parent 54be398e83
commit dac386735a

View File

@ -44,7 +44,9 @@ def tamper(payload, **kwargs):
continue
if found:
retVal = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
retVal += "-- "
_ = re.sub("\s*(AND|OR)[\s(]+'[^']+'\s*(=|LIKE)\s*'.*", "", retVal)
if _ != retVal:
retVal = _
retVal += "-- "
return retVal