working on issue #12

This commit is contained in:
Bernardo Damele
2012-07-26 23:11:07 +01:00
parent 57f2fccc24
commit d492291744
36 changed files with 72 additions and 72 deletions

View File

@@ -18,7 +18,7 @@ __priority__ = PRIORITY.LOW
def dependencies():
singleTimeWarnMessage("tamper script '%s' is only meant to be run against %s" % (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')
@@ -52,4 +52,4 @@ def tamper(payload):
else:
retVal += payload[i]
return retVal
return retVal, headers