Minor bug fix so that --search also works when the technique is error-based (which always return a list with lists inside)

This commit is contained in:
Bernardo Damele 2011-01-20 21:46:56 +00:00
parent 6c490bfc8f
commit b1d6040a48

View File

@ -125,6 +125,9 @@ class Enumeration(GenericEnumeration):
enumDbs = kb.data.cachedDbs
for db in enumDbs:
if isinstance(db, list):
db = db[0]
foundTbls[db] = []
for tbl in tblList: