From a7a53af924c1077a1c56beebe4c7356e25b4a143 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 23 Oct 2010 07:37:43 +0000 Subject: [PATCH] update for Sybase --- plugins/generic/enumeration.py | 2 +- xml/queries.xml | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 286361140..894ebbff8 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1168,7 +1168,7 @@ class Enumeration: query = rootQuery.blind.query % (column, column, conf.tbl.upper(), index) - elif kb.dbms == "Microsoft SQL Server": + elif kb.dbms in ("Microsoft SQL Server", "Sybase"): query = rootQuery.blind.query % (column, index + 1, conf.db, conf.tbl, colList[0], colList[0], colList[0]) diff --git a/xml/queries.xml b/xml/queries.xml index 3e78509f9..4a1d3e274 100644 --- a/xml/queries.xml +++ b/xml/queries.xml @@ -450,18 +450,19 @@ + - - + + - - + + @@ -479,7 +480,7 @@ - +