mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-24 08:14:24 +03:00
Refactoring
This commit is contained in:
parent
7a6c086a27
commit
a96467b3e2
|
@ -309,17 +309,15 @@ class Connect:
|
|||
if not place:
|
||||
place = kb.injPlace
|
||||
|
||||
if kb.tamperFunctions:
|
||||
payload = agent.extractPayload(value)
|
||||
payload = agent.extractPayload(value)
|
||||
|
||||
if payload:
|
||||
if payload:
|
||||
if kb.tamperFunctions:
|
||||
for function in kb.tamperFunctions:
|
||||
payload = function(payload)
|
||||
|
||||
value = agent.replacePayload(value, payload)
|
||||
|
||||
payload = agent.extractPayload(value)
|
||||
if payload:
|
||||
debugMsg = "payload: %s" % payload
|
||||
logger.debug(debugMsg)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user