forked from p34709852/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:
|
def _build_command(self, path: PurePath, http_path) -> str:
|
||||||
# Build command to execute
|
# Build command to execute
|
||||||
monkey_cmd = build_monkey_commandline(
|
monkey_cmd = build_monkey_commandline(self.servers, self.current_depth + 1, location=path)
|
||||||
self.servers, self.current_depth + 1, location=str(path)
|
|
||||||
)
|
|
||||||
if self.host.is_windows():
|
if self.host.is_windows():
|
||||||
base_command = LOG4SHELL_WINDOWS_COMMAND
|
base_command = LOG4SHELL_WINDOWS_COMMAND
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue