dissect.target.plugins.os.unix.esxi.configstore

Module Contents

Classes

ConfigstorePlugin

Plugin to interact with the ESXi configstore.

Functions

class dissect.target.plugins.os.unix.esxi.configstore.ConfigstorePlugin(target: dissect.target.target.Target)

Bases: dissect.target.plugin.Plugin

Plugin to interact with the ESXi configstore.

__namespace__ = 'configstore'

Defines the plugin namespace.

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.

get(key: str, default: Any = None) dict[str, Any]

Get configstore value for the specified key.

dissect.target.plugins.os.unix.esxi.configstore.parse_config_store(path: pathlib.Path) dict[str, Any]