From 7b52bbe3fb092056cc379e6439ddfc0d74364bb7 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 22 May 2011 09:59:19 +0000 Subject: [PATCH] reverting that ignoreTimeout for --tables (because of this and that) --- plugins/generic/enumeration.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index de8e94e3a..f84a48b29 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -804,10 +804,6 @@ class Enumeration: infoMsg += "%s: %s" % ("s" if len(dbs) > 1 else "", ", ".join(db for db in dbs)) logger.info(infoMsg) - pushValue(kb.ignoreTimeout) - # some DBMSes (like MySQL) have (permission related) timeout issues when retrieving table names - kb.ignoreTimeout = True - rootQuery = queries[Backend.getIdentifiedDbms()].tables if isTechniqueAvailable(PAYLOAD.TECHNIQUE.UNION) or isTechniqueAvailable(PAYLOAD.TECHNIQUE.ERROR) or conf.direct: @@ -905,8 +901,6 @@ class Enumeration: warnMsg += "for database '%s'" % db logger.warn(warnMsg) - kb.ignoreTimeout = popValue() - if isNoneValue(kb.data.cachedTables): kb.data.cachedTables.clear()