I have a script, written in C, which requires 3 parameters: host, name, password, like this:
./myscript 1.1.1.1 name mypassword
I call this using PHP exec command (need to, functionality not found in PHP).
exec('./myscript $host $name $password');
In linux, using ps command, I can see:
./myscript 1.1.1.1 name password.
How can I hide my password, that you can't see it on linux using ps?
Thank you.