Hello, I'm having a hard time using OO to run a remote shell script. I'm using version 10.80. I'm using the "shell file run", there are many steps and making it complex. This returned me the following error "did not match the command formatting injection" This is my script Would there be some function in the simplest OO to run the script?
Re: Script Shell
what is the exact flow and content pack that you are using for this scenario?
it seems that you are running something that is protected by the command injection - something that I personally find in the remediation cp - /Library/Remediation/Utilities/Security/Check Injection.
you can check the scriptlet on this operation in case you want to see what it does.
Re: Script Shell
I found the name "command injection" in the evaluator /Base [...]/Configuration/System Evaluators/command injection.
Not sure if is the same you are using, or is a custom one., more details are needed. As mentionaed by Andrei, you can open it to check for details.
Also you mention "shell file run" and on screenshoot is show "Shell File on Linux", I cannot found neither of them on Micro Focus Marketplace. Problably is custom content in your enviroment. Again difficult to help without more details.
About options to run a remote shell script, you can take a look to /Base [...]/Library/Operations/Operating Systems/Linux/Scripts/Samples/Remote Script Runner I've never personally used them. Just execute a script on a remote host by ssh is quite simple with operations /Base [...]/Library/Operations/Remote Command Execution/SSH/v2.0/SSH Command or SSH Shell; depending if script is already present on remote host or not, you can just execute it, or first create it on the fly (again different options, 'echo' inside ssh step, copy file from other source, remove file or not after execution, ...)