mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
working on issue #12
This commit is contained in:
parent
57f2fccc24
commit
d492291744
36 changed files with 72 additions and 72 deletions
|
|
@ -12,7 +12,7 @@ __priority__ = PRIORITY.LOWEST
|
|||
def dependencies():
|
||||
pass
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Replaces apostrophe character with its illegal double unicode counterpart
|
||||
|
||||
|
|
@ -21,4 +21,4 @@ def tamper(payload):
|
|||
* Output: AND %00%271%00%27=%00%271%00%27
|
||||
"""
|
||||
|
||||
return payload.replace('\'', "%00%27") if payload else payload
|
||||
return payload.replace('\'', "%00%27") if payload else payload, headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue