CTM1 / win_ewf_extract

A Python framework for extracting artifacts from Windows Encase Disk Images
The Unlicense
0 stars 0 forks source link

Enforce attributes on ArtifactExtractor class #1

Closed CTM1 closed 1 year ago

CTM1 commented 1 year ago

The ArtifactExtractor class raises an exception if the subclass does not implement the process_fs_object function. However, it is necessary that ArtifactExtractor classes have certain attributes for recurse_files to work.

Extra: Make sure this path is always valid and lowercase.

Another issue specifies that this should perhaps be a list of paths in the future. Empty string for recursing through the entire disk.

https://github.com/CTM1/win_ewf_extract/blob/main/modules/artifact_extraction.py#L4

0x0r10n commented 1 year ago

Class modified on the new branch, the methods with @property check if the attributes are present