mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-06-09 17:51:33 +00:00
fix for a bug reported by Ulisses Castro (Too many open files) - also, added an important caching mechanism with thread safe logic
This commit is contained in:
parent
720e235d9a
commit
73b33ed765
4 changed files with 19 additions and 5 deletions
|
|
@ -252,6 +252,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
iolock = threading.Lock()
|
||||
valuelock = threading.Lock()
|
||||
conf.seqLock = threading.Lock()
|
||||
conf.parseLock = threading.Lock()
|
||||
conf.threadContinue = True
|
||||
|
||||
def downloadThread():
|
||||
|
|
@ -416,6 +417,7 @@ def bisection(payload, expression, length=None, charsetType=None, firstChar=None
|
|||
dataToStdout(infoMsg)
|
||||
|
||||
conf.seqLock = None
|
||||
conf.parseLock = None
|
||||
|
||||
# No multi-threading (--threads = 1)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue