Added logging about which command was used to execute monkey in WebRCE framework
This commit is contained in:
parent
2e21930417
commit
b89a23bc9a
|
@ -409,6 +409,7 @@ class WebRCE(HostExploiter):
|
||||||
monkey_cmd = build_monkey_commandline(self.host, get_monkey_depth() - 1)
|
monkey_cmd = build_monkey_commandline(self.host, get_monkey_depth() - 1)
|
||||||
command = RUN_MONKEY % {'monkey_path': path, 'monkey_type': MONKEY_ARG, 'parameters': monkey_cmd}
|
command = RUN_MONKEY % {'monkey_path': path, 'monkey_type': MONKEY_ARG, 'parameters': monkey_cmd}
|
||||||
try:
|
try:
|
||||||
|
LOG.info("Trying to execute monkey using command: {}".format(command))
|
||||||
resp = self.exploit(url, command)
|
resp = self.exploit(url, command)
|
||||||
# If exploiter returns True / False
|
# If exploiter returns True / False
|
||||||
if isinstance(resp, bool):
|
if isinstance(resp, bool):
|
||||||
|
|
Loading…
Reference in New Issue