From 419cf979f17fd1c3bb6ba9096394d2790c53440e Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 19 Jun 2016 17:17:01 +0200 Subject: [PATCH] Showing again the 'shutting down at ...' message --- lib/core/settings.py | 2 +- sqlmap.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/core/settings.py b/lib/core/settings.py index 187ecd4d1..79d6fda38 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.6.43" +VERSION = "1.0.6.44" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") diff --git a/sqlmap.py b/sqlmap.py index ef553dfa1..5634fdd8e 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -263,11 +263,12 @@ def main(): finally: kb.threadContinue = False - kb.threadException = True if conf.get("showTime"): dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True) + kb.threadException = True + if kb.get("tempDir"): for prefix in (MKSTEMP_PREFIX.IPC, MKSTEMP_PREFIX.TESTING, MKSTEMP_PREFIX.COOKIE_JAR, MKSTEMP_PREFIX.BIG_ARRAY): for filepath in glob.glob(os.path.join(kb.tempDir, "%s*" % prefix)):