dissect.target.plugins.filesystem.acquire_hash#

Module Contents#

Classes#

AcquireHashPlugin

Plugin to return file hashes collected by Acquire.

Attributes#

dissect.target.plugins.filesystem.acquire_hash.AcquireHashRecord#
class dissect.target.plugins.filesystem.acquire_hash.AcquireHashPlugin(target)#

Bases: dissect.target.plugin.Plugin

Plugin to return file hashes collected by Acquire.

check_compatible()#

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

acquire_hashes()#

Return file hashes collected by Acquire.

An Acquire file container contains a file hashes csv when the hashes module was used. The content of this csv file is returned.