mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
slightly faster and thread safer inference
This commit is contained in:
@@ -257,7 +257,6 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||
idxlock = threading.Lock()
|
||||
iolock = threading.Lock()
|
||||
valuelock = threading.Lock()
|
||||
kb.locks.seqLock = threading.Lock()
|
||||
kb.threadContinue = True
|
||||
|
||||
def downloadThread():
|
||||
@@ -404,8 +403,6 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
||||
if conf.verbose in (1, 2) and not showEta and infoMsg:
|
||||
dataToStdout(infoMsg)
|
||||
|
||||
kb.locks.seqLock = None
|
||||
|
||||
# No multi-threading (--threads = 1)
|
||||
else:
|
||||
index = firstChar
|
||||
|
||||
Reference in New Issue
Block a user