Skip to content

Commit

Permalink
Remove hashes.json check (#828)
Browse files Browse the repository at this point in the history
Plaso supports the --no-hashes switch so old check removed.
  • Loading branch information
rgayon authored Jun 9, 2021
1 parent 06c94ef commit 963a97d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions turbinia/workers/artifact.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def run(self, evidence, result):
cmd = [
'sudo',
'image_export.py',
'--no-hashes',
'--logfile',
image_export_log,
'-w',
Expand All @@ -78,12 +79,6 @@ def run(self, evidence, result):

for dirpath, _, filenames in os.walk(export_directory):
for filename in filenames:
if filename == 'hashes.json' and dirpath == export_directory:
# Ignore the hashes.json file created by image export.
# TODO: remove this when
# https://github.com/log2timeline/plaso/pull/3320
# is pushed.
continue
exported_artifact = ExportedFileArtifact(
artifact_name=self.artifact_name, source_path=os.path.join(
dirpath, filename))
Expand Down

0 comments on commit 963a97d

Please sign in to comment.