I need to allow the following:
shell_exec('whois ' . $domain);
BUT I need to disallow everything else, like:
shell_exec('ls');
shell_exec('rm -rf /');
shell_exec('sudo service nginx restart');
is it possible to "whitelist" only one shell_exec
command?