mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-24 12:44:29 +00:00
Another update for an Issue #352 and couple of fixes
This commit is contained in:
parent
b35122a42c
commit
4cb378ce3e
38 changed files with 127 additions and 146 deletions
|
|
@ -16,9 +16,8 @@ def tamper(payload, **kwargs):
|
|||
"""
|
||||
Replaces apostrophe character with its illegal double unicode counterpart
|
||||
|
||||
Example:
|
||||
* Input: AND '1'='1'
|
||||
* Output: AND %00%271%00%27=%00%271%00%27
|
||||
>>> tamper("1 AND '1'='1")
|
||||
'1 AND %00%271%00%27=%00%271'
|
||||
"""
|
||||
|
||||
return payload.replace('\'', "%00%27") if payload else payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue