Created
March 9, 2017 05:44
-
-
Save hiendnguyen/84d736f33947e0d731d24b95342a5bbc to your computer and use it in GitHub Desktop.
Running agent
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// outputs the username that owns the running php/httpd process | |
// (on a system with the "whoami" executable in the path) | |
echo exec('whoami'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment