From 99454198b8051ac79dfc481382074124fc950e7b Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 20 Jun 2016 10:01:57 +0200 Subject: [PATCH] Minor refactoring --- lib/core/common.py | 5 +++-- lib/core/settings.py | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/core/common.py b/lib/core/common.py index 1f5faf939..1b6327b9b 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1015,8 +1015,9 @@ def readInput(message, default=None, checkBatch=True): time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893 except: pass - kb.prependFlag = True - raise SqlmapUserQuitException + finally: + kb.prependFlag = True + raise SqlmapUserQuitException finally: logging._releaseLock() diff --git a/lib/core/settings.py b/lib/core/settings.py index 870fb383d..2208e7f0a 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.46" +VERSION = "1.0.6.47" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")