mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-04 13:49:05 +00:00
Minor update
This commit is contained in:
@@ -19,8 +19,8 @@ def tamper(payload, **kwargs):
|
||||
"""
|
||||
Slash escape quotes (' and ")
|
||||
|
||||
>>> tamper("1' AND SLEEP(5)#")
|
||||
'1\' AND SLEEP(5)#'
|
||||
>>> tamper('1" AND SLEEP(5)#')
|
||||
'1\\\\" AND SLEEP(5)#'
|
||||
"""
|
||||
|
||||
return payload.replace("'", "\\'").replace('"', '\\"')
|
||||
|
||||
Reference in New Issue
Block a user