dissect.target.plugins.os.unix.linux.fortios.locale
¶
Module Contents¶
Classes¶
FortiOS locale plugin. |
Functions¶
Translate a FortiOS timezone number to IANA TZ. |
- class dissect.target.plugins.os.unix.linux.fortios.locale.LocalePlugin(target: dissect.target.Target)¶
Bases:
dissect.target.plugin.Plugin
FortiOS locale plugin.
- 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.
- timezone() str | None ¶
Return configured UI/system timezone.
- language() str | None ¶
Return configured UI language.