mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
step by step getting there to partial output presentation to restful API (issue #297), not quite yet though..
This commit is contained in:
parent
b55555e4e5
commit
9370f96a67
5 changed files with 24 additions and 11 deletions
|
|
@ -165,7 +165,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
_, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(origExpr)
|
||||
|
||||
# Set kb.partRun in case the engine is called from the API
|
||||
kb.partRun = getPartRun() if hasattr(conf, "api") else None
|
||||
kb.partRun = getPartRun(alias=False) if hasattr(conf, "api") else None
|
||||
|
||||
if expressionFieldsList and len(expressionFieldsList) > 1 and "ORDER BY" in expression.upper():
|
||||
# Removed ORDER BY clause because UNION does not play well with it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue