suppress session in case of brute methods

This commit is contained in:
Miroslav Stampar
2011-01-07 16:47:46 +00:00
parent b313a20a3f
commit c17714c423
3 changed files with 6 additions and 1 deletions

View File

@@ -55,6 +55,7 @@ def tableExists(tableFile, regex=None):
iolock = threading.Lock()
kb.locks.seqLock = threading.Lock()
kb.threadContinue = True
kb.suppressSession = True
def tableExistsThread():
while count[0] < length and kb.threadContinue:
@@ -131,6 +132,7 @@ def tableExists(tableFile, regex=None):
kb.locks.seqLock = None
kb.threadContinue = True
kb.threadException = False
kb.suppressSession = False
clearConsoleLine(True)
@@ -170,6 +172,7 @@ def columnExists(columnFile, regex=None):
iolock = threading.Lock()
kb.locks.seqLock = threading.Lock()
kb.threadContinue = True
kb.suppressSession = True
def columnExistsThread():
while count[0] < length and kb.threadContinue:
@@ -237,6 +240,7 @@ def columnExists(columnFile, regex=None):
kb.locks.seqLock = None
kb.threadContinue = True
kb.threadException = False
kb.suppressSession = False
clearConsoleLine(True)