mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Consistency between --*-test switches/output
This commit is contained in:
@@ -174,8 +174,8 @@ def unionTest():
|
||||
if conf.direct:
|
||||
return
|
||||
|
||||
if kb.unionCount is not None and kb.unionPosition is not None:
|
||||
return
|
||||
if kb.unionTest is not None:
|
||||
return kb.unionTest
|
||||
|
||||
if conf.uTech == "orderby":
|
||||
technique = "ORDER BY clause bruteforcing"
|
||||
@@ -209,5 +209,7 @@ def unionTest():
|
||||
|
||||
if validPayload is None:
|
||||
validPayload = ""
|
||||
elif isinstance(validPayload, basestring):
|
||||
kb.unionTest = agent.removePayloadDelimiters(validPayload, False)
|
||||
|
||||
return validPayload
|
||||
return kb.unionTest
|
||||
|
||||
Reference in New Issue
Block a user