mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor update for empty tables (skipping other techniques)
This commit is contained in:
parent
6177317a17
commit
56a3431be6
|
@ -304,7 +304,8 @@ def errorUse(expression, expected=None, dump=False):
|
|||
warnMsg = "the SQL query provided does not "
|
||||
warnMsg += "return any output"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
else:
|
||||
outputs = [] # for empty tables
|
||||
return outputs
|
||||
|
||||
if " ORDER BY " in expression and (stopLimit - startLimit) > SLOW_ORDER_COUNT_THRESHOLD:
|
||||
|
|
|
@ -263,7 +263,8 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
warnMsg = "the SQL query provided does not "
|
||||
warnMsg += "return any output"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
else:
|
||||
value = [] # for empty tables
|
||||
return value
|
||||
|
||||
threadData = getCurrentThreadData()
|
||||
|
|
Loading…
Reference in New Issue
Block a user