New answers tagged

1

For sanitization, You can refer here https://stackoverflow.com/questions/42657352/how-can-i-stop-command-injection-when-using-shell-exec-in-php7 TL;DR: Use escapeshellcmd for escaping full command to be executed, or escapeshellarg to escape arguments only for given command.


Top 50 recent answers are included