Skip to content

Commit

Permalink
Added CPIO archive support log2timeline#883
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Dec 31, 2020
1 parent cea2377 commit d0f990c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plaso/engine/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,12 @@ def _ProcessArchiveTypes(self, mediator, path_spec, type_indicators):
'archive file: {1:s}').format(type_indicators, display_name))

for type_indicator in type_indicators:
if type_indicator == dfvfs_definitions.TYPE_INDICATOR_TAR:
if type_indicator == dfvfs_definitions.TYPE_INDICATOR_CPIO:
archive_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_CPIO, location='/',
parent=path_spec)

elif type_indicator == dfvfs_definitions.TYPE_INDICATOR_TAR:
archive_path_spec = path_spec_factory.Factory.NewPathSpec(
dfvfs_definitions.TYPE_INDICATOR_TAR, location='/',
parent=path_spec)
Expand Down

0 comments on commit d0f990c

Please sign in to comment.