dissect.target.plugins.apps.webserver.caddy
¶
Module Contents¶
Classes¶
Caddy webserver plugin. |
Attributes¶
- dissect.target.plugins.apps.webserver.caddy.LOG_FILE_REGEX¶
- dissect.target.plugins.apps.webserver.caddy.LOG_REGEX¶
- class dissect.target.plugins.apps.webserver.caddy.CaddyPlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugins.apps.webserver.webserver.WebserverPlugin
Caddy webserver plugin.
- __namespace__ = 'caddy'¶
Defines the plugin namespace.
- log_paths = []¶
- 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.
- get_log_paths() list[pathlib.Path] ¶
- access() Iterator[dissect.target.plugins.apps.webserver.webserver.WebserverAccessLogRecord] ¶
Parses Caddy V1 CRF and Caddy V2 JSON access logs.
References