From 40eb1973d70f9f8154ba51a6fa0ea9efd4b399d1 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 23 Nov 2014 15:33:04 +0100 Subject: [PATCH] Patch for an Issue #961 --- 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 53a9728cc..d89d452e6 100644 --- a/plugins/dbms/mssqlserver/enumeration.py +++ b/plugins/dbms/mssqlserver/enumeration.py @@ -14,6 +14,7 @@ from lib.core.common import isNoneValue from lib.core.common import isNumPosStrValue from lib.core.common import isTechniqueAvailable from lib.core.common import safeSQLIdentificatorNaming +from lib.core.common import unArrayizeValue from lib.core.common import unsafeSQLIdentificatorNaming from lib.core.data import conf from lib.core.data import kb @@ -49,6 +50,8 @@ class Enumeration(GenericEnumeration): users = kb.data.cachedUsers for user in users: + user = unArrayizeValue(user) + if user is None: continue