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)¶
Bases:
dissect.target.plugin.Plugin
Convenience plugin that wraps _os.* functions in records.
- 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 anUnsupportedPluginError
.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- osinfo() Iterator[OSInfoRecord | flow.record.GroupedRecord] ¶