dissect.target.plugins.apps.webserver.nginx
¶
Module Contents¶
Classes¶
Nginx webserver plugin. |
Attributes¶
- dissect.target.plugins.apps.webserver.nginx.LOG_REGEX¶
- class dissect.target.plugins.apps.webserver.nginx.NginxPlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugins.apps.webserver.webserver.WebserverPlugin
Nginx webserver plugin.
- __namespace__ = 'nginx'¶
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] ¶
Return contents of NGINX access log files in unified WebserverAccessLogRecord format.
References