dissect.target.plugins.os.unix.linux.fortios.generic

Module Contents

Classes

GenericPlugin

Generic FortiOS plugin.

class dissect.target.plugins.os.unix.linux.fortios.generic.GenericPlugin(target: dissect.target.Target)

Bases: dissect.target.plugin.Plugin

Generic FortiOS 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 an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

install_date() datetime.datetime | None

Return the likely install date of FortiOS.

activity() datetime.datetime | None

Return last seen activity based on filesystem timestamps.