mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
working on issue #12
This commit is contained in:
@@ -14,7 +14,7 @@ __priority__ = PRIORITY.LOWEST
|
||||
def dependencies():
|
||||
pass
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Base64 all characters in a given payload
|
||||
|
||||
@@ -23,4 +23,4 @@ def tamper(payload):
|
||||
* Output: MScgQU5EIFNMRUVQKDUpIw==
|
||||
"""
|
||||
|
||||
return base64.b64encode(payload) if payload else payload
|
||||
return base64.b64encode(payload) if payload else payload, headers
|
||||
|
||||
Reference in New Issue
Block a user