web_rce bugfix

This commit is contained in:
VakarisZ 2019-06-10 17:33:00 +03:00
parent 6ca33fff68
commit 9cc526ca09
1 changed files with 1 additions and 0 deletions

View File

@ -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: