:py:mod:`dissect.target.plugins.os.unix.esxi.esxconf` ===================================================== .. py:module:: dissect.target.plugins.os.unix.esxi.esxconf Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.target.plugins.os.unix.esxi.esxconf.EsxConfPlugin Functions ~~~~~~~~~ .. autoapisummary:: :nosignatures: dissect.target.plugins.os.unix.esxi.esxconf.parse_esx_conf .. py:class:: EsxConfPlugin(target: dissect.target.target.Target) Bases: :py:obj:`dissect.target.plugin.Plugin` Plugin to interact with ``esxconf`` configuration. .. py:attribute:: __namespace__ :value: 'esxconf' Defines the plugin namespace. .. py:method:: 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 :class:`UnsupportedPluginError`. :raises UnsupportedPluginError: If the plugin could not be loaded. .. py:method:: get(path: str) -> str | int | bool | _EsxConf | None Get esxconf value at the specified path. .. py:method:: __call__(path: str, json: bool) -> None Dump esxconf value at the specified path. .. py:function:: parse_esx_conf(fh: TextIO) -> _EsxConf