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

@@ -4650,6 +4650,7 @@ def decloakToTemp(filename):
>>> _ = decloakToTemp(os.path.join(paths.SQLMAP_SHELL_PATH, "stagers", "stager.asp_"))
>>> openFile(_, "rb", encoding=None).read().startswith(b'<%')
True
>>> os.remove(_)
"""
content = decloak(filename)