mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Tamper function(s) refactoring (really no need for returning headers as they are passed by reference)
This commit is contained in:
@@ -587,7 +587,7 @@ class Connect:
|
||||
if payload:
|
||||
if kb.tamperFunctions:
|
||||
for function in kb.tamperFunctions:
|
||||
payload, auxHeaders = function(payload=payload, headers=auxHeaders)
|
||||
payload = function(payload=payload, headers=auxHeaders)
|
||||
|
||||
value = agent.replacePayload(value, payload)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user