Hello,

Iam running the apache in base 4.5 with the chroot.

Iam trying to run this simple script (as a test) but I cannot make it
to output anything...


I have done a cp /usr/bin/whoami /var/www/bin/ , made sure that
ownership is root:daemon, and permissions are 600, i have even tried
777

 i have tried the following combinations:

<?php echo exec('whoami 2>&1'); ?>
<?php echo exec('/bin/whoami'); ?>
<?php echo exec('/var/www/bin/whoami'); ?>
<?php echo exec('(whoami)'); ?>
<?php echo exec('./bin/whoami'); ?>


No go, no output.

What could

Reply via email to