From ab3ff0257ae94b951361070089d658d7a74b7268 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 10 Jan 2016 23:27:32 +0100 Subject: [PATCH] Minor patch --- sqlmap.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sqlmap.py b/sqlmap.py index 845af2607..d5f6a0f99 100755 --- a/sqlmap.py +++ b/sqlmap.py @@ -191,12 +191,12 @@ def main(): 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) - kb.threadContinue = False kb.threadException = True + if kb.get("tempDir"): + shutil.rmtree(kb.tempDir, ignore_errors=True) + if conf.get("hashDB"): try: conf.hashDB.flush(True)