mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 11:13:47 +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 @@ from lib.core.enums import PRIORITY
|
|||
|
||||
__priority__ = PRIORITY.LOW
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Replaces space character (' ') with a dash comment ('--') followed by
|
||||
a random string and a new line ('\n')
|
||||
|
|
@ -46,4 +46,4 @@ def tamper(payload):
|
|||
else:
|
||||
retVal += payload[i]
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue