From b761523f3f783e118eb6a7a800116003c1ee88ba Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 2 Nov 2010 21:52:48 +0000 Subject: [PATCH] now --users works for MaxDB too --- plugins/generic/enumeration.py | 2 +- xml/queries.xml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 4755b039d..9e831e46b 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -171,7 +171,7 @@ class Enumeration: indexRange = getRange(count, plusOne=plusOne) for index in indexRange: - if kb.dbms == DBMS.SYBASE: + if kb.dbms in (DBMS.SYBASE, DBMS.MAXDB): query = rootQuery.blind.query % (kb.data.cachedUsers[-1] if kb.data.cachedUsers else " ") elif condition: query = rootQuery.blind.query2 % index diff --git a/xml/queries.xml b/xml/queries.xml index 3b0d4b6bc..3e3014c52 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -436,6 +436,7 @@ +