Minor refactoring

This commit is contained in:
Miroslav Stampar 2016-06-20 10:01:57 +02:00
parent dd6287ace8
commit 99454198b8
2 changed files with 4 additions and 3 deletions

View File

@ -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 time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
except: except:
pass pass
kb.prependFlag = True finally:
raise SqlmapUserQuitException kb.prependFlag = True
raise SqlmapUserQuitException
finally: finally:
logging._releaseLock() logging._releaseLock()

View File

@ -19,7 +19,7 @@ from lib.core.enums import OS
from lib.core.revision import getRevisionNumber from lib.core.revision import getRevisionNumber
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.0.6.46" VERSION = "1.0.6.47"
REVISION = getRevisionNumber() REVISION = getRevisionNumber()
STABLE = VERSION.count('.') <= 2 STABLE = VERSION.count('.') <= 2
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev") VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")