From 2ab80bfb2c3e6c56415e178ed9e9317a14acc565 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 8 Mar 2012 15:24:05 +0000 Subject: [PATCH] minor bug fix --- plugins/dbms/mssqlserver/enumeration.py | 4 ++-- plugins/generic/enumeration.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/dbms/mssqlserver/enumeration.py b/plugins/dbms/mssqlserver/enumeration.py index 285ddeed5..1e27b551f 100644 --- a/plugins/dbms/mssqlserver/enumeration.py +++ b/plugins/dbms/mssqlserver/enumeration.py @@ -314,7 +314,7 @@ class Enumeration(GenericEnumeration): conf.tbl = foundTbl conf.col = column - self.getColumns(onlyColNames=True) + self.getColumns(onlyColNames=True, bruteForce=False) if db in kb.data.cachedColumns and foundTbl in kb.data.cachedColumns[db]\ and not isNoneValue(kb.data.cachedColumns[db][foundTbl]): @@ -371,7 +371,7 @@ class Enumeration(GenericEnumeration): conf.tbl = tbl conf.col = column - self.getColumns(onlyColNames=True) + self.getColumns(onlyColNames=True, bruteForce=False) if db in kb.data.cachedColumns and tbl in kb.data.cachedColumns[db]: dbs[db][tbl].update(kb.data.cachedColumns[db][tbl]) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 4eae2ce33..55f330dd5 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -2222,7 +2222,7 @@ class Enumeration: conf.tbl = foundTbl conf.col = column - self.getColumns(onlyColNames=True, colTuple=(colConsider, colCondParam)) + self.getColumns(onlyColNames=True, colTuple=(colConsider, colCondParam), bruteForce=False) if foundDb in kb.data.cachedColumns and foundTbl in kb.data.cachedColumns[foundDb]: dbs[foundDb][foundTbl].update(kb.data.cachedColumns[foundDb][foundTbl]) @@ -2327,7 +2327,7 @@ class Enumeration: conf.tbl = tbl conf.col = column - self.getColumns(onlyColNames=True, colTuple=(colConsider, colCondParam)) + self.getColumns(onlyColNames=True, colTuple=(colConsider, colCondParam), bruteForce=False) if db in kb.data.cachedColumns and tbl in kb.data.cachedColumns[db]: dbs[db][tbl].update(kb.data.cachedColumns[db][tbl])