mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
fixed threading bug (difflib :)
This commit is contained in:
parent
6712b19df2
commit
91dd609e26
3 changed files with 9 additions and 0 deletions
|
|
@ -153,6 +153,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
index = [ firstChar ] # As list for python nested function scoping
|
||||
idxlock = threading.Lock()
|
||||
iolock = threading.Lock()
|
||||
conf.seqLock = threading.Lock()
|
||||
|
||||
def downloadThread():
|
||||
try:
|
||||
|
|
@ -237,6 +238,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
if conf.verbose >= 1 and not showEta and infoMsg:
|
||||
dataToStdout(infoMsg)
|
||||
|
||||
conf.seqLock = None
|
||||
else:
|
||||
index = firstChar
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue