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

Skip to content

Commit 9945419

Browse files
committed
Minor refactoring
1 parent dd6287a commit 9945419

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

lib/core/common.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,9 @@ def readInput(message, default=None, checkBatch=True):
10151015
time.sleep(0.05) # Reference: http://www.gossamer-threads.com/lists/python/python/781893
10161016
except:
10171017
pass
1018-
kb.prependFlag = True
1019-
raise SqlmapUserQuitException
1018+
finally:
1019+
kb.prependFlag = True
1020+
raise SqlmapUserQuitException
10201021

10211022
finally:
10221023
logging._releaseLock()

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.46"
22+
VERSION = "1.0.6.47"
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)