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
|
|
@ -16,7 +16,7 @@ __priority__ = PRIORITY.LOWEST
|
|||
def dependencies():
|
||||
singleTimeWarnMessage("tamper script '%s' is only meant to be run against ASP or ASP.NET web applications" % os.path.basename(__file__).split(".")[0])
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Unicode-url-encodes non-encoded characters in a given payload (not
|
||||
processing already encoded)
|
||||
|
|
@ -55,4 +55,4 @@ def tamper(payload):
|
|||
retVal += '%%u%.4X' % ord(payload[i])
|
||||
i += 1
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue