mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor DREI patch (leaky multiprocessing)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user