Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd6287a

Browse files
committed
Fixes #1972
1 parent 786460e commit dd6287a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/core/common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,10 @@ def readInput(message, default=None, checkBatch=True):
10111011
retVal = raw_input() or default
10121012
retVal = getUnicode(retVal, encoding=sys.stdin.encoding) if retVal else retVal
10131013
except:
1014-
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
1014+
try:
1015+
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
1016+
except:
1017+
pass
10151018
kb.prependFlag = True
10161019
raise SqlmapUserQuitException
10171020

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.revision import getRevisionNumber
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.0.6.45"
22+
VERSION = "1.0.6.46"
2323
REVISION = getRevisionNumber()
2424
STABLE = VERSION.count('.') <= 2
2525
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)