From 6f54be987fc5519e5fd96f221d346b48f781112e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 25 Jan 2020 16:33:48 +0100 Subject: [PATCH] Minor modification --- lib/core/settings.py | 2 +- lib/techniques/error/use.py | 6 +++--- lib/techniques/union/use.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 8d076d46b..84bf77124 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -18,7 +18,7 @@ from lib.core.enums import OS from thirdparty.six import unichr as _unichr # sqlmap version (...) -VERSION = "1.4.1.47" +VERSION = "1.4.1.48" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index f46fc54c1..ce63ba203 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -340,9 +340,9 @@ def errorUse(expression, dump=False): else: stopLimit = int(count) - infoMsg = "used SQL query returns " - infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") - logger.info(infoMsg) + debugMsg = "used SQL query returns " + debugMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") + logger.debug(debugMsg) elif count and not count.isdigit(): warnMsg = "it was not possible to count the number " diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index af05c946b..64ef7b96a 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -261,9 +261,9 @@ def unionUse(expression, unpack=True, dump=False): else: stopLimit = int(count) - infoMsg = "used SQL query returns " - infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") - logger.info(infoMsg) + debugMsg = "used SQL query returns " + debugMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry") + logger.debug(debugMsg) elif count and (not isinstance(count, six.string_types) or not count.isdigit()): warnMsg = "it was not possible to count the number "