Skip to content

Commit f190327

Browse files
committed
Minor update
1 parent 76b1aca commit f190327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tamper/escapequotes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ def tamper(payload, **kwargs):
1919
"""
2020
Slash escape quotes (' and ")
2121
22-
>>> tamper("1' AND SLEEP(5)#")
23-
'1\' AND SLEEP(5)#'
22+
>>> tamper('1" AND SLEEP(5)#')
23+
'1\\\\" AND SLEEP(5)#'
2424
"""
2525

2626
return payload.replace("'", "\\'").replace('"', '\\"')

0 commit comments

Comments
 (0)