dissect.target.plugins.general.osinfo¶
Module Contents¶
Classes¶
Convenience plugin that wraps _os.* functions in records. |
Attributes¶
- dissect.target.plugins.general.osinfo.OSInfoRecord¶
- class dissect.target.plugins.general.osinfo.OSInfoPlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugin.PluginConvenience plugin that wraps _os.* functions in records.
- 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.
- osinfo() collections.abc.Iterator[OSInfoRecord | flow.record.GroupedRecord]¶
Yield grouped records with target OS info.