<?php
echo shell_exec('whoami');
Then, access whoami.php using your browser at an address such as:http://YOURdomain.com/whoami.php
The name of the user Apache is running as will be displayed in your browser.
When you're finished testing, delete whoami.php.

No comments:
Post a Comment