mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-09 06:50:07 +00:00
Fixing some tamper script bugs
This commit is contained in:
parent
03fb84c5be
commit
d42e50367e
4 changed files with 12 additions and 5 deletions
|
|
@ -20,4 +20,9 @@ def tamper(payload, **kwargs):
|
|||
'1\\\\" AND SLEEP(5)#'
|
||||
"""
|
||||
|
||||
return payload.replace("'", "\\'").replace('"', '\\"')
|
||||
retVal = payload
|
||||
|
||||
if payload:
|
||||
retVal = payload.replace("'", "\\'").replace('"', '\\"')
|
||||
|
||||
return retVal
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue