mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 08:22:15 +01:00
Minor update
This commit is contained in:
parent
76b1aca0c7
commit
f190327da3
1 changed files with 2 additions and 2 deletions
|
|
@ -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('"', '\\"')
|
||||
|
|
|
|||
Loading…
Reference in a new issue