forked from p15670423/monkey
Agent: Remove unnecessary Path -> str in Log4ShellExploiter
This commit is contained in:
parent
eac3076828
commit
03c6c5ea4b
|
@ -126,9 +126,7 @@ class Log4ShellExploiter(WebRCE):
|
|||
|
||||
def _build_command(self, path: PurePath, http_path) -> str:
|
||||
# Build command to execute
|
||||
monkey_cmd = build_monkey_commandline(
|
||||
self.servers, self.current_depth + 1, location=str(path)
|
||||
)
|
||||
monkey_cmd = build_monkey_commandline(self.servers, self.current_depth + 1, location=path)
|
||||
if self.host.is_windows():
|
||||
base_command = LOG4SHELL_WINDOWS_COMMAND
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue