From 4656d23d82f163851d0ac015723b6722bec45227 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 10 Jul 2012 01:43:19 +0100 Subject: [PATCH] increased verbosity level of some messages and removed a leftover --- plugins/generic/enumeration.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index c12a4c902..cd520697f 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -2411,15 +2411,15 @@ class Enumeration: return None else: if sqlType: - infoMsg = "executing %s query: '%s'" % (sqlType if sqlType is not None else "SQL", query) + debugMsg = "executing %s query: '%s'" % (sqlType if sqlType is not None else "SQL", query) else: - infoMsg = "executing unknown SQL type query: '%s'" % query - logger.info(infoMsg) + debugMsg = "executing unknown SQL type query: '%s'" % query + logger.debug(debugMsg) inject.goStacked(query) - infoMsg = "done" - logger.info(infoMsg) + debugMsg = "done" + logger.debug(debugMsg) output = False @@ -2471,8 +2471,6 @@ class Enumeration: infoMsg = "executing SQL statements from given file(s)" logger.info(infoMsg) - print "re.split(PARAMETER_SPLITTING_REGEX, conf.sqlFile):", re.split(PARAMETER_SPLITTING_REGEX, conf.sqlFile) - for sfile in re.split(PARAMETER_SPLITTING_REGEX, conf.sqlFile): sfile = sfile.strip()