dissect.target.plugins.filesystem.acquire_handles#

Module Contents#

Classes#

OpenHandlesPlugin

Plugin to return open file handles collected by Acquire.

Attributes#

dissect.target.plugins.filesystem.acquire_handles.AcquireOpenHandlesRecord#
class dissect.target.plugins.filesystem.acquire_handles.OpenHandlesPlugin(target)#

Bases: dissect.target.plugin.Plugin

Plugin to return open file handles collected by Acquire.

check_compatible() None#

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_handles() Iterator[AcquireOpenHandlesRecord]#

Return open handles collected by Acquire.

An Acquire file container contains an open handles csv when the handles module was used. The content of this csv file is returned.