dissect.target.plugins.child.virtualbox

Module Contents

Classes

VirtualBoxChildTargetPlugin

Child target plugin that yields from Oracle VirtualBox VMs.

class dissect.target.plugins.child.virtualbox.VirtualBoxChildTargetPlugin(target: dissect.target.target.Target)

Bases: dissect.target.plugin.ChildTargetPlugin

Child target plugin that yields from Oracle VirtualBox VMs.

Tested with configuration files from major versions 5, 6 and 7.

References

__type__ = 'virtualbox'
USER_PATHS = ('.VirtualBox', '.config/VirtualBox', 'Library/VirtualBox')
DEFAULT_PATHS = ('VirtualBox VMs',)
vboxes
find_vms() collections.abc.Iterator[pathlib.Path]

Yield Oracle VirtualBox .vbox file(s) found on the target.

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.

list_children() collections.abc.Iterator[dissect.target.helpers.record.ChildTargetRecord]

Yield ChildTargetRecord records of all possible child targets on this target.