mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-27 16:39:54 +03:00
Update quote2dollars.py
This commit is contained in:
parent
fccf2274eb
commit
291d20329c
|
@ -22,7 +22,7 @@ def tamper(payload, **kwargs):
|
|||
Notes: useful for applications that use PostgreSQL database and encodes or sanitizes quote characters
|
||||
|
||||
>>> tamper("1' or '1'='1")
|
||||
"1$$ or $$1$$=$$1"
|
||||
'1$$ or $$1$$=$$1'
|
||||
"""
|
||||
|
||||
return payload.replace("'", "$$")
|
||||
|
|
Loading…
Reference in New Issue
Block a user