Added logging about which command was used to execute monkey in WebRCE framework

This commit is contained in:
VakarisZ 2020-04-06 10:19:16 +03:00
parent 2e21930417
commit b89a23bc9a
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ class WebRCE(HostExploiter):
monkey_cmd = build_monkey_commandline(self.host, get_monkey_depth() - 1)
command = RUN_MONKEY % {'monkey_path': path, 'monkey_type': MONKEY_ARG, 'parameters': monkey_cmd}
try:
LOG.info("Trying to execute monkey using command: {}".format(command))
resp = self.exploit(url, command)
# If exploiter returns True / False
if isinstance(resp, bool):