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.WebserverPluginCaddy webserver plugin.
- __namespace__ = 'caddy'¶
Defines the plugin namespace.
- log_paths = []¶
- 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.
- get_log_paths() list[pathlib.Path]¶
- access() collections.abc.Iterator[dissect.target.plugins.apps.webserver.webserver.WebserverAccessLogRecord]¶
Parses Caddy V1 CRF and Caddy V2 JSON access logs.
References