mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor update
This commit is contained in:
@@ -164,7 +164,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||||||
_, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(origExpr)
|
_, _, _, _, _, expressionFieldsList, expressionFields, _ = agent.getFields(origExpr)
|
||||||
|
|
||||||
if expressionFieldsList and len(expressionFieldsList) > 1 and " ORDER BY " in expression:
|
if expressionFieldsList and len(expressionFieldsList) > 1 and " ORDER BY " in expression:
|
||||||
# No need for it in and just slowing down on large table dumps
|
# No need for it in multicolumn dumps (one row is retrieved per request) and just slowing down on large table dumps
|
||||||
expression = expression[:expression.rindex(" ORDER BY ")]
|
expression = expression[:expression.rindex(" ORDER BY ")]
|
||||||
|
|
||||||
# We have to check if the SQL query might return multiple entries
|
# We have to check if the SQL query might return multiple entries
|
||||||
|
|||||||
Reference in New Issue
Block a user