Merge branch 'attack_comand_line_interface' into attack_powershell

This commit is contained in:
VakarisZ 2019-06-10 17:37:13 +03:00
commit 5fe468f3cc
1 changed files with 1 additions and 0 deletions

View File

@ -407,6 +407,7 @@ class WebRCE(HostExploiter):
# If exploiter returns True / False # If exploiter returns True / False
if type(resp) is bool: if type(resp) is bool:
LOG.info("Execution attempt successfully finished") LOG.info("Execution attempt successfully finished")
self.add_example_cmd(command)
return resp return resp
# If exploiter returns command output, we can check for execution errors # If exploiter returns command output, we can check for execution errors
if 'is not recognized' in resp or 'command not found' in resp: if 'is not recognized' in resp or 'command not found' in resp: