mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
slightly faster and thread safer inference
This commit is contained in:
parent
fb166e9445
commit
71391874eb
7 changed files with 27 additions and 35 deletions
|
|
@ -1077,8 +1077,6 @@ def __setConfAttributes():
|
|||
conf.port = None
|
||||
conf.redirectHandled = False
|
||||
conf.scheme = None
|
||||
#conf.seqMatcher = difflib.SequenceMatcher(lambda x: x in " \t")
|
||||
conf.seqMatcher = difflib.SequenceMatcher(None)
|
||||
conf.sessionFP = None
|
||||
conf.start = True
|
||||
conf.tests = []
|
||||
|
|
@ -1135,7 +1133,6 @@ def __setKnowledgeBaseAttributes(flushAll=True):
|
|||
kb.locks = advancedDict()
|
||||
kb.locks.cacheLock = threading.Lock()
|
||||
kb.locks.logLock = threading.Lock()
|
||||
kb.locks.seqLock = None
|
||||
|
||||
kb.matchRatio = None
|
||||
kb.nullConnection = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue