mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 19:22:48 +00:00
Minor patch
This commit is contained in:
parent
2e892102b7
commit
4b08aaffd6
3 changed files with 4 additions and 4 deletions
|
|
@ -44,7 +44,7 @@ def tamper(payload, **kwargs):
|
|||
|
||||
if payload:
|
||||
retVal = re.sub(r"\b(?P<word>[A-Z_]+)(?=[^\w(]|\Z)", process, retVal)
|
||||
retVal = re.sub(r"\s*=\s*", " LIKE ", retVal)
|
||||
retVal = re.sub(r"\s*(?<![<>!=])=(?!=)\s*", " LIKE ", retVal) # Note: skipping compound operators (e.g. >=, <=, !=)
|
||||
retVal = retVal.replace("%09 ", "%09")
|
||||
|
||||
return retVal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue