Skip to content

Commit 4cdc3af

Browse files
committed
Fixes #5165
1 parent 212f28d commit 4cdc3af

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.6.8.3"
23+
VERSION = "1.6.8.4"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

lib/core/threads.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,12 @@ def _threadFunction():
161161
infoMsg = "starting %d threads" % numThreads
162162
logger.info(infoMsg)
163163
else:
164-
_threadFunction()
165-
return
164+
try:
165+
_threadFunction()
166+
except (SqlmapUserQuitException, SqlmapSkipTargetException):
167+
pass
168+
finally:
169+
return
166170

167171
kb.multiThreadMode = True
168172

0 commit comments

Comments
 (0)