forked from p15670423/monkey
web_rce bugfix
This commit is contained in:
parent
6ca33fff68
commit
9cc526ca09
|
@ -407,6 +407,7 @@ class WebRCE(HostExploiter):
|
|||
# If exploiter returns True / False
|
||||
if type(resp) is bool:
|
||||
LOG.info("Execution attempt successfully finished")
|
||||
self.add_example_cmd(command)
|
||||
return resp
|
||||
# If exploiter returns command output, we can check for execution errors
|
||||
if 'is not recognized' in resp or 'command not found' in resp:
|
||||
|
|
Loading…
Reference in New Issue