From 78a512500d1061c858e53700f9f5cc9bcedb56a9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 11 Jan 2016 00:03:22 +0100 Subject: [PATCH] Better place for setting flags --- sqlmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlmap.py b/sqlmap.py index d5f6a0f99..45d1199b4 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -188,12 +188,12 @@ def main(): pass finally: - if conf.get("showTime"): - dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True) - kb.threadContinue = False kb.threadException = True + if conf.get("showTime"): + dataToStdout("\n[*] shutting down at %s\n\n" % time.strftime("%X"), forceOutput=True) + if kb.get("tempDir"): shutil.rmtree(kb.tempDir, ignore_errors=True)