mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor refactoring
This commit is contained in:
@@ -38,7 +38,6 @@ def tamper(payload, **kwargs):
|
||||
retVal = payload
|
||||
|
||||
if payload:
|
||||
for regex, subst in ((r"\s+=\s+", " LIKE "), (r"\s+=", " LIKE"), (r"=\s+", "LIKE ")):
|
||||
retVal = re.sub(regex, subst, retVal)
|
||||
retVal = re.sub(r"\s*=\s*", " LIKE ", retVal)
|
||||
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user