Skip to content

Commit efcefc0

Browse files
authored
Update mft_analyzer.py
Closes #142 , thanks! Signed-off-by: Benjamin Cance <[email protected]>
1 parent 94f9db6 commit efcefc0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/analyzeMFT/mft_analyzer.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ async def write_output(self) -> None:
251251
await FileWriters.write_sqlite(list(self.mft_records.values()), self.output_file)
252252
elif self.export_format == "tsk":
253253
await FileWriters.write_tsk(list(self.mft_records.values()), self.output_file)
254+
elif self.export_format == "body":
255+
await FileWriters.write_body(list(self.mft_records.values()), self.output_file)
256+
elif self.export_format == "timeline":
257+
await FileWriters.write_timeline(list(self.mft_records.values()), self.output_file)
254258
else:
255259
print(f"Unsupported export format: {self.export_format}")
256260

@@ -295,4 +299,4 @@ async def write_sqlite(self):
295299
''', (record.recordnum, record.filename, record.get_parent_record_num()))
296300

297301
conn.commit()
298-
conn.close()
302+
conn.close()

0 commit comments

Comments
 (0)