Command at ROOT access
| From: | (Bryan Forstner) | Date: | Mon, 20 Nov 2000 14:58:11 +0000 |
| Subject: | Command at ROOT access | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-26273@lists.php.net to get a copy of this message | ||
How can I run a root command (internal) by sending the variables through
a PHP script.
I have tried to use fsockopen(command,81,$output), system
(command,$output), and exec(command) without any success. I've tried to
place the file into the same group as the web server (apache), but that
doesn't work either (and creates too large of a security hole). I want to
avoid using a cron process (which isn't going to suit the requirement).