Skip to content

Commit

Permalink
Merge pull request #143 from rowingdude/rowingdude-patch-1
Browse files Browse the repository at this point in the history
Update mft_analyzer.py
  • Loading branch information
rowingdude authored Oct 8, 2024
2 parents 94f9db6 + efcefc0 commit b1d0e6a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/analyzeMFT/mft_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ async def write_output(self) -> None:
await FileWriters.write_sqlite(list(self.mft_records.values()), self.output_file)
elif self.export_format == "tsk":
await FileWriters.write_tsk(list(self.mft_records.values()), self.output_file)
elif self.export_format == "body":
await FileWriters.write_body(list(self.mft_records.values()), self.output_file)
elif self.export_format == "timeline":
await FileWriters.write_timeline(list(self.mft_records.values()), self.output_file)
else:
print(f"Unsupported export format: {self.export_format}")

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

conn.commit()
conn.close()
conn.close()

0 comments on commit b1d0e6a

Please sign in to comment.