From b1d6040a4841034d12724f7286e872c4a14af1f8 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Thu, 20 Jan 2011 21:46:56 +0000 Subject: [PATCH] Minor bug fix so that --search also works when the technique is error-based (which always return a list with lists inside) --- plugins/dbms/mssqlserver/enumeration.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/dbms/mssqlserver/enumeration.py b/plugins/dbms/mssqlserver/enumeration.py index c93fc20e0..460cc6ab6 100644 --- a/plugins/dbms/mssqlserver/enumeration.py +++ b/plugins/dbms/mssqlserver/enumeration.py @@ -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: