mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 08:22:15 +01:00
Patch for an Issue #713
This commit is contained in:
parent
54be398e83
commit
dac386735a
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue