This commit is contained in:
Miroslav Stampar
2022-08-26 20:34:11 +02:00
parent 212f28d1ad
commit 4cdc3af585
2 changed files with 7 additions and 3 deletions

View File

@@ -161,8 +161,12 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
infoMsg = "starting %d threads" % numThreads
logger.info(infoMsg)
else:
_threadFunction()
return
try:
_threadFunction()
except (SqlmapUserQuitException, SqlmapSkipTargetException):
pass
finally:
return
kb.multiThreadMode = True