From e6eeac5ededd5fb425c60a0a2c79c0c7ecfa715b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sat, 25 May 2019 00:33:30 +0200 Subject: [PATCH] Trivial message update --- lib/core/settings.py | 2 +- lib/utils/versioncheck.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 28861c037..3cf5348f0 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.5.139" +VERSION = "1.3.5.140" 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/utils/versioncheck.py b/lib/utils/versioncheck.py index 55fef3595..57eecb0e0 100644 --- a/lib/utils/versioncheck.py +++ b/lib/utils/versioncheck.py @@ -22,7 +22,7 @@ for _ in extensions: errors.append(_) if errors: - errMsg = "missing one or more core extensions (%s) " % (", ".join("'%s'" % _ for _ in errors)) + errMsg = "[%s] [CRITICAL] missing one or more core extensions (%s) " % (time.strftime("%X"), ", ".join("'%s'" % _ for _ in errors)) errMsg += "most likely because current version of Python has been " errMsg += "built without appropriate dev packages" sys.exit(errMsg)