Created
March 7, 2019 19:34
-
-
Save JoeCrash/7d7b553288395181bca4d5d705665814 to your computer and use it in GitHub Desktop.
Get web user information on Windows.
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
$out = array(); | |
exec('cmd /c whoami 2>&1', $out, $exitcode); | |
print_r($out); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment