mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Skipping quit exception in case of --search
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user