mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-10 09:49:06 +00:00
working on issue #12
This commit is contained in:
@@ -9,7 +9,7 @@ from lib.core.enums import PRIORITY
|
||||
|
||||
__priority__ = PRIORITY.HIGH
|
||||
|
||||
def tamper(payload):
|
||||
def tamper(payload, headers):
|
||||
"""
|
||||
Appends 'sp_password' to the end of the payload for automatic obfuscation from DBMS logs
|
||||
|
||||
@@ -30,4 +30,4 @@ def tamper(payload):
|
||||
if payload:
|
||||
retVal = "%s%ssp_password" % (payload, "-- " if not any(_ if _ in payload else None for _ in ('#', "-- ")) else "")
|
||||
|
||||
return retVal
|
||||
return retVal, headers
|
||||
|
||||
Reference in New Issue
Block a user