mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor improvement
This commit is contained in:
parent
95b9a47c6f
commit
ea5ae44b6c
12 changed files with 15 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue