Minor improvement

This commit is contained in:
Miroslav Stampar
2020-08-31 11:55:14 +02:00
parent 95b9a47c6f
commit ea5ae44b6c
12 changed files with 15 additions and 5 deletions

View File

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