|
|
@ -182,7 +182,7 @@ class Process():
|
|
|
|
self.MuteWait()
|
|
|
|
self.MuteWait()
|
|
|
|
self.mAgentMuteBool=True
|
|
|
|
self.mAgentMuteBool=True
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(inDef="OSCMD",
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(inDef="OSCMD",
|
|
|
|
inArgDict={"inCMDStr":lCMDStr,"inSendOutputToOrchestratorLogsBool":False},
|
|
|
|
inArgDict={"inCMDStr":lCMDStr,"inSendOutputToOrchestratorLogsBool":False, "inCaptureBool":False},
|
|
|
|
inArgGSettingsStr="inGSettings")
|
|
|
|
inArgGSettingsStr="inGSettings")
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
@ -223,7 +223,7 @@ class Process():
|
|
|
|
# Send activity item to agent - wait result
|
|
|
|
# Send activity item to agent - wait result
|
|
|
|
lCMDStr = f'taskkill /im "{self.mProcessNameWOExeStr}.exe" /fi "username eq %USERNAME%"'
|
|
|
|
lCMDStr = f'taskkill /im "{self.mProcessNameWOExeStr}.exe" /fi "username eq %USERNAME%"'
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(
|
|
|
|
inDef="OSCMD",inArgDict={"inCMDStr": lCMDStr,"inSendOutputToOrchestratorLogsBool":False},inArgGSettingsStr="inGSettings")
|
|
|
|
inDef="OSCMD",inArgDict={"inCMDStr": lCMDStr,"inSendOutputToOrchestratorLogsBool":False, "inCaptureBool": False},inArgGSettingsStr="inGSettings")
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
|
inActivityItemDict=lActivityItemStart)
|
|
|
|
inActivityItemDict=lActivityItemStart)
|
|
|
@ -277,7 +277,7 @@ class Process():
|
|
|
|
# Send activity item to agent - wait result
|
|
|
|
# Send activity item to agent - wait result
|
|
|
|
lCMDStr = f'taskkill /F /im "{self.mProcessNameWOExeStr}.exe" /fi "username eq %USERNAME%"'
|
|
|
|
lCMDStr = f'taskkill /F /im "{self.mProcessNameWOExeStr}.exe" /fi "username eq %USERNAME%"'
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(
|
|
|
|
lActivityItemStart = __Orchestrator__.ProcessorActivityItemCreate(
|
|
|
|
inDef="OSCMD",inArgDict={"inCMDStr": lCMDStr,"inSendOutputToOrchestratorLogsBool":False},inArgGSettingsStr="inGSettings")
|
|
|
|
inDef="OSCMD",inArgDict={"inCMDStr": lCMDStr,"inSendOutputToOrchestratorLogsBool":False, "inCaptureBool": False},inArgGSettingsStr="inGSettings")
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
lGUIDStr = __Orchestrator__.AgentActivityItemAdd(inHostNameStr=self.mAgentHostNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
|
inUserStr=self.mAgentUserNameStr,
|
|
|
|
inActivityItemDict=lActivityItemStart)
|
|
|
|
inActivityItemDict=lActivityItemStart)
|
|
|
|