Agent: Modify use signed scripts PBA to return PostBreachData

This commit is contained in:
Shreya Malviya 2022-03-25 21:00:57 +05:30 committed by vakarisz
parent 5a8e8850a5
commit 0b2ac96dee
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class SignedScriptProxyExecution(PBA):
original_comspec = subprocess.check_output( # noqa: DUO116 original_comspec = subprocess.check_output( # noqa: DUO116
"if defined COMSPEC echo %COMSPEC%", shell=True "if defined COMSPEC echo %COMSPEC%", shell=True
).decode() ).decode()
super().run() return super().run()
except Exception as e: except Exception as e:
logger.warning( logger.warning(
f"An exception occurred on running PBA " f"An exception occurred on running PBA "