acquire icon indicating copy to clipboard operation
acquire copied to clipboard

Collect all nginx&apache logs in Acquire

Open DissectBot opened this issue 1 year ago • 0 comments

For IIS we parse the config (using dissect.target’s IIS plugin) to find additional log directories.

A similar thing can be done for NginX and Apache. Their respective plugins already have such a “give-me-all-log-paths” function, so that can be used.

All this functionality (including collecting the default paths, but those are probably also emitted by the plugin function) should be put in a WebserverLog module in acquire, also moving the IIS stuff there.

The IIS module should log & print a deprecation warning and forward to the WebserverLog module.

Also add acquire-test tests, with default logs & logs configured in a mock config.

DissectBot avatar Mar 14 '24 16:03 DissectBot