When constructing LDAPExploitServer in the Log4Shell plugin, simply use a temp directory instead of calling get_monkey_dir_path().
This fixes the TODO in infection_monkey/utils/monkey_dir.py (will result in the code getting removed) and breaks the dependency between plugins and infection_monkey/utils/, supporting #3725.
Description
When constructing
LDAPExploitServer
in the Log4Shell plugin, simply use a temp directory instead of callingget_monkey_dir_path()
.This fixes the TODO in
infection_monkey/utils/monkey_dir.py
(will result in the code getting removed) and breaks the dependency between plugins andinfection_monkey/utils/
, supporting #3725.