mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor fix
This commit is contained in:
parent
54d086f409
commit
f25f5c9eeb
1 changed files with 7 additions and 1 deletions
|
|
@ -302,7 +302,13 @@ class Databases:
|
||||||
|
|
||||||
count = inject.getValue(query, inband=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
|
count = inject.getValue(query, inband=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
|
||||||
|
|
||||||
if not isNumPosStrValue(count):
|
if count == 0:
|
||||||
|
warnMsg = "database '%s' " % unsafeSQLIdentificatorNaming(db)
|
||||||
|
warnMsg += "appears to be empty"
|
||||||
|
logger.warn(warnMsg)
|
||||||
|
continue
|
||||||
|
|
||||||
|
elif not isNumPosStrValue(count):
|
||||||
warnMsg = "unable to retrieve the number of "
|
warnMsg = "unable to retrieve the number of "
|
||||||
warnMsg += "tables for database '%s'" % unsafeSQLIdentificatorNaming(db)
|
warnMsg += "tables for database '%s'" % unsafeSQLIdentificatorNaming(db)
|
||||||
logger.warn(warnMsg)
|
logger.warn(warnMsg)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue