Minor DREI patch (leaky multiprocessing)

This commit is contained in:
Miroslav Stampar
2019-05-06 15:39:11 +02:00
parent f8f57e1030
commit c5a2567033
5 changed files with 22 additions and 2 deletions

View File

@@ -1519,6 +1519,9 @@ def _createHomeDirectories():
paths["SQLMAP_%s_PATH" % context.upper()] = tempDir
def _pympTempLeakPatch(tempDir): # Cross-referenced function
raise NotImplementedError
def _createTemporaryDirectory():
"""
Creates temporary directory for this run.
@@ -1570,6 +1573,9 @@ def _createTemporaryDirectory():
errMsg += "temporary directory location ('%s')" % getSafeExString(ex)
raise SqlmapSystemException(errMsg)
if six.PY3:
_pympTempLeakPatch(kb.tempDir)
def _cleanupOptions():
"""
Cleanup configuration attributes.