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

Signing you up...

Thank you for signing up!

PHP Decode

<? eval(gzuncompress(base64_decode('eAG1VGtvmzAU/SvUihSsMdi+htEqSumK1DyUsGlSWyECN4k3Ypht1E..

Decoded Output download

require_once($_SERVER["DOCUMENT_ROOT"] ."/bitrix/modules/main/include/prolog_before.php");require __DIR__ .'/include/settings.php';$module="simai.educenter";CModule::AddAutoloadClasses($module,array("SIMAITemplate"=> "classes/general/template.php",));class SIMAISearch{static function GetInclude($path,$mode){$path=substr(__DIR__,0,strripos(__DIR__,"/bitrix")+1) .SITE_TEMPLATE_PATH ."/framework/" .$path;if((!file_exists($path .'/include.php'))||$mode){if($module=substr(__DIR__,strrpos(__DIR__,"/")+1)){$result="<?";file_put_contents($path .'/include.php',$result);self::Search($path,$path);$result="?>";file_put_contents($path .'/include.php',$result,FILE_APPEND);}}}static function Search($path,$file){$string=basename($file);if($string[0]!="_"){if(is_dir($file)){$files=array();$dir=opendir($file);while($item=readdir($dir)){if($item == '.'|| $item == '..')continue;$files[]=$item;}closedir($dir);sort($files);foreach($files as $item){self::Search($path,$file .'/' .$item);}}else{if(is_file($file)){$ext=pathinfo(basename($file),PATHINFO_EXTENSION);if(file_exists($file .'.php')){$tmp=file_get_contents($file .'.php',true);$newpath=substr($file,strripos($file,"/bitrix"),strlen($file));$result=str_replace("CurrentPath",$newpath,$tmp);file_put_contents($path .'/include.php',$result,FILE_APPEND);}else{$file=substr($file,strripos($file,"/bitrix"),strlen($file));if($ext=="css"){$result='$APPLICATION->SetAdditionalCss("' .$file ."\", true);
";file_put_contents($path .'/include.php',$result,FILE_APPEND);}else if($ext=="js"){$result='$APPLICATION->AddHeadScript("' .$file ."\", true);
";file_put_contents($path .'/include.php',$result,FILE_APPEND);}}}}}}}

Did this file decode correctly?

Original Code

<? eval(gzuncompress(base64_decode('eAG1VGtvmzAU/SvUihSsMdi+htEqSumK1DyUsGlSWyECN4k3Ypht1E5J/vuuDXk02qY9tHxAse/1uecen2sBX2smICl5BnYnmYXTj+H0nlyPBx+G4ShOpuNxTB4tl3hzpgR79tZlXhcgvXXKuMd4VtQ5eJUoi3KZzGFRCnCrVUWoLxpkK0muo2mSWG73kC5BKcaXUmd2/U4DGRDJENSFvM6AKxDEHwxNsV6vn+f9WmGNNB8UqZQg7faUkwqRfrPJLBr2oxjWVZEqIMGlRbIm0VsCB5EWnmqDhp5DqW8SLHNwBqnIVhupUsUya1HzTLGSW+9BRU2HdqdK1crRRYFuzCKQ9VwqYbf9OW8cXAlWlfKwtReN0FdvqeXOojhM4nA4uevjn0k/vtW6LkS6hqdSfPGI5Rpkny1s+2LBCkjgmUmFzerqJwoa4SjdbltCeGCv4hkrzeklJUMGexAg60IF5N0V8U2tqlZJVqLy/GcVnfYQ9SUUi16vkW2vjeZI/QPu1eUf4zo30V2Y9CeTcHRN/d1ud34hLwtq1tgItohmCuapBI5S2h2zr0VsQ/dvHi8CkhC6wT0mk5yJNglP62QZNC5C9hgLygr4Mcd/WmGK3WFooEBAmpsQfqjBM/tWEFhdt7vdWidLt0u1nIzX4Ddl7h8DE/d3WVFKOAD5shSqoSSpr2cozVbt2kplA0o3PxJd09fG6KJ3NEMtGxQS2lZ1+NgrPKtA3xLji9I+08vRfoxGN+Mk/BSHo1k0HlGtoUY42LCt1tpv01HrKjAJSzj1zmmao0QNKCyHJ116PzVGkOPENMvjvOhIAXxP/eAq3E4E4JDja0UGtRBo1gnCEmdfwNGkUERN+/cdfeY8o6Dh9Jd8tfm02gHJpETj7aei20F330WDfoz6vr6cgcKnjenHJi0GUtpE32MjH3kgjtWI98D/dZR0Q9aR1OdfcEJCt+jyWYZvmfpvhHC48fcdAOI2Fg=='))); ?>

Function Calls

gzuncompress 1
base64_decode 1

Variables

None

Stats

MD5 cc0c6a5583f0c7c478684f7f00b27a22
Eval Count 1
Decode Time 77 ms