mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Minor bug fix when --dbs has only one DB name
This commit is contained in:
@@ -684,6 +684,9 @@ class Enumeration:
|
||||
value = inject.getValue(query, blind=False, error=False)
|
||||
|
||||
if value:
|
||||
if isinstance(value, basestring):
|
||||
kb.data.cachedDbs = [value]
|
||||
else:
|
||||
kb.data.cachedDbs = value
|
||||
|
||||
if not kb.data.cachedDbs and not conf.direct:
|
||||
|
||||
Reference in New Issue
Block a user