mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor update
This commit is contained in:
parent
76b1aca0c7
commit
f190327da3
|
@ -19,8 +19,8 @@ def tamper(payload, **kwargs):
|
||||||
"""
|
"""
|
||||||
Slash escape quotes (' and ")
|
Slash escape quotes (' and ")
|
||||||
|
|
||||||
>>> tamper("1' AND SLEEP(5)#")
|
>>> tamper('1" AND SLEEP(5)#')
|
||||||
'1\' AND SLEEP(5)#'
|
'1\\\\" AND SLEEP(5)#'
|
||||||
"""
|
"""
|
||||||
|
|
||||||
return payload.replace("'", "\\'").replace('"', '\\"')
|
return payload.replace("'", "\\'").replace('"', '\\"')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user