mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-09 22:21:30 +00:00
Minor refactoring
This commit is contained in:
@@ -43,7 +43,7 @@ def tamper(payload, **kwargs):
|
||||
retVal = payload
|
||||
|
||||
if payload:
|
||||
retVal = re.sub(r"\b(?P<word>[A-Z_]+)(?=[^\w(]|\Z)", lambda match: process(match), retVal)
|
||||
retVal = re.sub(r"\b(?P<word>[A-Z_]+)(?=[^\w(]|\Z)", process, retVal)
|
||||
retVal = re.sub(r"\s*=\s*", " LIKE ", retVal)
|
||||
retVal = retVal.replace("%09 ", "%09")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user