Hi
Can anyone help me
I need to connect to a remote unix server using my node js app, and execute a shell script file present in the unix server. I am using ssh.execCommand to perform this operation.
However i was wondering is it similar to using spawn /Execfile which much safer than the exec() command.
Can someone suggest me how to use this in order to prevent command injection.
Hi Can anyone help me I need to connect to a remote unix server using my node js app, and execute a shell script file present in the unix server. I am using ssh.execCommand to perform this operation. However i was wondering is it similar to using spawn /Execfile which much safer than the exec() command. Can someone suggest me how to use this in order to prevent command injection.