mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor adjustments and bug fixes
This commit is contained in:
parent
7b55840b35
commit
dda62ba463
5 changed files with 33 additions and 10 deletions
|
|
@ -237,6 +237,15 @@ def unionUse(expression, direct=False, unescape=True, resetCounter=False):
|
|||
infoMsg += "%d entries" % stopLimit
|
||||
logger.info(infoMsg)
|
||||
|
||||
elif count and not count.isdigit():
|
||||
warnMsg = "it was not possible to count the number "
|
||||
warnMsg += "of entries for the SQL query provided. "
|
||||
warnMsg += "sqlmap will assume that it returns only "
|
||||
warnMsg += "one entry"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
stopLimit = 1
|
||||
|
||||
elif ( not count or int(count) == 0 ):
|
||||
warnMsg = "the SQL query provided does not "
|
||||
warnMsg += "return any output"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue