mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
some refactoring
This commit is contained in:
parent
37d78ffe01
commit
29f502fe29
8 changed files with 25 additions and 47 deletions
|
|
@ -1437,10 +1437,8 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.lastParserStatus = None
|
||||
|
||||
kb.locks = AttribDict()
|
||||
kb.locks.cacheLock = threading.Lock()
|
||||
kb.locks.logLock = threading.Lock()
|
||||
kb.locks.ioLock = threading.Lock()
|
||||
kb.locks.countLock = threading.Lock()
|
||||
for _ in ("cache", "count", "index", "io", "limits", "log", "outputs", "value"):
|
||||
kb.locks[_] = threading.Lock()
|
||||
|
||||
kb.matchRatio = None
|
||||
kb.multiThreadMode = False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue