mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
working on issue #12
This commit is contained in:
@@ -21,7 +21,7 @@ __priority__ = PRIORITY.LOW
|
||||
def dependencies():
|
||||
singleTimeWarnMessage("tamper script '%s' is only meant to be run against %s > 5.1.13" % (os.path.basename(__file__).split(".")[0], DBMS.MYSQL))
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Replaces space character (' ') with a pound character ('#') followed by
|
||||
a random string and a new line ('\n')
|
||||
@@ -66,4 +66,4 @@ def tamper(payload):
|
||||
else:
|
||||
retVal += payload[i]
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
||||
Reference in New Issue
Block a user