mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Don't forget to cleanup.
This commit is contained in:
@@ -219,6 +219,8 @@ class KernelPDBScanner(interfaces.automagic.AutomagicInterface):
|
||||
os.makedirs(os.path.dirname(output_file), exist_ok = True)
|
||||
with lzma.open(output_file, "w") as f:
|
||||
f.write(bytes(json.dumps(json_output, indent = 2, sort_keys = True), 'utf-8'))
|
||||
# Clean up after ourselves
|
||||
os.remove(filename)
|
||||
|
||||
# Try again
|
||||
for value in intermed.IntermediateSymbolTable.file_symbol_url("windows", filter_string):
|
||||
|
||||
Reference in New Issue
Block a user