From 6679d6f4272213a75a860f4c307d54dc35a4a0b8 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 4 Nov 2019 22:59:08 +0100 Subject: [PATCH] Trivial update --- lib/controller/controller.py | 1 - lib/core/option.py | 5 +++-- lib/core/settings.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 8902479c1..1d16dc8ae 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -301,7 +301,6 @@ def start(): for targetUrl, targetMethod, targetData, targetCookie, targetHeaders in kb.targets: try: - if conf.checkInternet: infoMsg = "checking for Internet connection" logger.info(infoMsg) diff --git a/lib/core/option.py b/lib/core/option.py index ca7c07bc3..15caebca6 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -354,8 +354,9 @@ def _setCrawler(): status = "%d/%d links visited (%d%%)" % (i + 1, len(targets), round(100.0 * (i + 1) / len(targets))) dataToStdout("\r[%s] [INFO] %s" % (time.strftime("%X"), status), True) except Exception as ex: - errMsg = "problem occurred while crawling at '%s' ('%s')" % (target, getSafeExString(ex)) - logger.error(errMsg) + if not isinstance(ex, SqlmapUserQuitException): + errMsg = "problem occurred while crawling at '%s' ('%s')" % (target, getSafeExString(ex)) + logger.error(errMsg) def _doSearch(): """ diff --git a/lib/core/settings.py b/lib/core/settings.py index 93435b1e4..be57ca47c 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.3.11.3" +VERSION = "1.3.11.4" 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)