:py:mod:`dissect.target.plugins.general.osinfo` =============================================== .. py:module:: dissect.target.plugins.general.osinfo Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.target.plugins.general.osinfo.OSInfoPlugin Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.target.plugins.general.osinfo.OSInfoRecord .. py:data:: OSInfoRecord .. py:class:: OSInfoPlugin(target: dissect.target.Target) Bases: :py:obj:`dissect.target.plugin.Plugin` Convenience plugin that wraps _os.* functions in records. .. 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 ``UnsupportedPluginError``. :raises UnsupportedPluginError: If the plugin could not be loaded. .. py:method:: osinfo() -> Iterator[Union[OSInfoRecord, flow.record.GroupedRecord]]