Skipping quit exception in case of --search

This commit is contained in:
Miroslav Stampar
2015-09-24 13:44:51 +02:00
parent e19b097ab5
commit ea4cef9c6d
3 changed files with 8 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ class Enumeration(GenericEnumeration):
warnMsg += "for database '%s'" % db
logger.warn(warnMsg)
if not kb.data.cachedTables:
if not kb.data.cachedTables and not conf.search:
errMsg = "unable to retrieve the tables for any database"
raise SqlmapNoneDataException(errMsg)
else: