mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-25 17:09:02 +00:00
Minor refactoring
This commit is contained in:
@@ -46,7 +46,7 @@ def tamper(payload, **kwargs):
|
||||
retVal = payload
|
||||
|
||||
if payload:
|
||||
retVal = re.sub(r"(?<=\W)(?P<word>[A-Za-z_]+)(?=[^\w(]|\Z)", lambda match: process(match), retVal)
|
||||
retVal = re.sub(r"(?<=\W)(?P<word>[A-Za-z_]+)(?=[^\w(]|\Z)", process, retVal)
|
||||
retVal = retVal.replace(" /*!", "/*!").replace("*/ ", "*/")
|
||||
|
||||
return retVal
|
||||
|
||||
Reference in New Issue
Block a user