mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-02-10 07:26:36 +00:00
code refactoring regarding standard output suppression and some threading issues
This commit is contained in:
@@ -80,7 +80,17 @@ def tableExists(tableFile):
|
||||
thread.join(5)
|
||||
except KeyboardInterrupt:
|
||||
kb.threadContinue = False
|
||||
raise
|
||||
kb.threadException = True
|
||||
|
||||
print
|
||||
logger.debug("waiting for threads to finish")
|
||||
|
||||
try:
|
||||
while (threading.activeCount() > 1):
|
||||
pass
|
||||
|
||||
except KeyboardInterrupt:
|
||||
raise sqlmapThreadException, "user aborted"
|
||||
finally:
|
||||
kb.locks.seqLock = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user