diff --git a/lib/core/common.py b/lib/core/common.py index 5996e46b3..1f5faf939 100644 --- a/lib/core/common.py +++ b/lib/core/common.py @@ -1011,7 +1011,10 @@ def readInput(message, default=None, checkBatch=True): retVal = raw_input() or default retVal = getUnicode(retVal, encoding=sys.stdin.encoding) if retVal else retVal except: - time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893 + try: + time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893 + except: + pass kb.prependFlag = True raise SqlmapUserQuitException diff --git a/lib/core/settings.py b/lib/core/settings.py index 390ed5b05..870fb383d 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.45" +VERSION = "1.0.6.46" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")