mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +01:00
minor "patch"
This commit is contained in:
parent
2589521ecf
commit
2ee198a381
1 changed files with 2 additions and 2 deletions
|
|
@ -251,7 +251,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
infoMsg += "%d entries" % stopLimit
|
||||
logger.info(infoMsg)
|
||||
|
||||
elif count and not count.isdigit():
|
||||
elif not isinstance(count, basestring) or 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 "
|
||||
|
|
@ -260,7 +260,7 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
|
||||
stopLimit = 1
|
||||
|
||||
elif (not count or int(count) == 0):
|
||||
elif not count or int(count) == 0:
|
||||
if not count:
|
||||
warnMsg = "the SQL query provided does not "
|
||||
warnMsg += "return any output"
|
||||
|
|
|
|||
Loading…
Reference in a new issue