dissect.target.plugins.os.unix.esxi.esxconf¶
Module Contents¶
Classes¶
Plugin to interact with |
Functions¶
- class dissect.target.plugins.os.unix.esxi.esxconf.EsxConfPlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugin.PluginPlugin to interact with
esxconfconfiguration.- __namespace__ = 'esxconf'¶
Defines the plugin namespace.
- check_compatible() None¶
Perform a compatibility check with the target.
This function should return
Noneif the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise anUnsupportedPluginError.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- get(path: str) str | int | bool | _EsxConf | None¶
Get esxconf value at the specified path.
- __call__(path: str, json: bool) None¶
Dump esxconf value at the specified path.
- dissect.target.plugins.os.unix.esxi.esxconf.parse_esx_conf(fh: TextIO) _EsxConf¶