mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
working on issue #12
This commit is contained in:
parent
57f2fccc24
commit
d492291744
36 changed files with 72 additions and 72 deletions
|
|
@ -13,7 +13,7 @@ __priority__ = PRIORITY.HIGHER
|
|||
def dependencies():
|
||||
pass
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Embraces complete query with versioned comment
|
||||
|
||||
|
|
@ -43,4 +43,4 @@ def tamper(payload):
|
|||
if ' ' in payload:
|
||||
retVal = "%s /*!30%s%s*/%s" % (payload[:payload.find(' ')], randomInt(3), payload[payload.find(' ') + 1:], postfix)
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue