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 // Copyright(C) EASYAGENT $OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62..

Decoded Output download


global $ROOT_PATH;
$ROOT_PATH=getenv("DOCUMENT_ROOT");
if($ROOT_PATH=="")
$ROOT_PATH=$_SERVER['DOCUMENT_ROOT'];
@ini_set('display_errors','off');
define('_IM_DEBUG_SQL_',true);
@ini_set('upload_max_filesize','100M');
@ini_set('default_charset','utf-8');
function __Autoload($className)
{
global $ROOT_PATH;
if (!class_exists($className,false))
require_once($ROOT_PATH.'/classes/'.$className.'.php');
}
if (!file_exists($ROOT_PATH.'/config/settings.inc.php'))
{
echo "the setting file can not be found.";
exit;
}
include($ROOT_PATH.'/config/settings.inc.php');
if (!isset($_SERVER['REQUEST_URI']) OR empty($_SERVER['REQUEST_URI']))
{
$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'];
if (isset($_SERVER['QUERY_STRING']) AND !empty($_SERVER['QUERY_STRING']))
$_SERVER['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING'];
}
include($ROOT_PATH.'/config/defines.inc.php');
if (defined('_SESSION_DB_'))
include_once($ROOT_PATH.'/classes/TSession.php');
global $defaultCountry;
global $clientIP;
$clientIP = Tools::getClientIP();
TLanguage::loadLanguages();
$timezone = "";
if (function_exists('date_default_timezone_set'))
{
$timezone = TDictionary::getInstance()->getValue("SYS_PARAM","","TIME_ZONE","V2");
if ($timezone=="")
{
$timezone = date_default_timezone_get();
TDictionary::getInstance()->setValue("SYS_PARAM","","TIME_ZONE","V2",$timezone);
}
date_default_timezone_set($timezone);
}

Did this file decode correctly?

Original Code

<?php // Copyright(C) EASYAGENT
$OOO0O0O00=__FILE__;$OOO000000=urldecode('%74%68%36%73%62%65%68%71%6c%61%34%63%6f%5f%73%61%64%66%70%6e%72');$OO00O0000=1848;$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$O0O0000O0='OOO0000O0';eval(($$O0O0000O0('JE9PME9PMDAwMD0kT09PMDAwMDAwezE3fS4kT09PMDAwMDAwezEyfS4kT09PMDAwMDAwezE4fS4kT09PMDAwMDAwezV9LiRPT08wMDAwMDB7MTl9O2lmKCEwKSRPMDAwTzBPMDA9JE9PME9PMDAwMCgkT09PME8wTzAwLCdyYicpOyRPTzBPTzAwME89JE9PTzAwMDAwMHsxN30uJE9PTzAwMDAwMHsyMH0uJE9PTzAwMDAwMHs1fS4kT09PMDAwMDAwezl9LiRPT08wMDAwMDB7MTZ9OyRPTzBPTzAwTzA9JE9PTzAwMDAwMHsxNH0uJE9PTzAwMDAwMHswfS4kT09PMDAwMDAwezIwfS4kT09PMDAwMDAwezB9LiRPT08wMDAwMDB7MjB9OyRPTzBPTzAwME8oJE8wMDBPME8wMCwxMTU5KTskT08wME8wME8wPSgkT09PMDAwME8wKCRPTzBPTzAwTzAoJE9PME9PMDAwTygkTzAwME8wTzAwLDM4MCksJzRPaEM1UlZ6R3JjbThwTXNiN1NxRWRvWnhRMU5CUGU2WHZhdUk5MGZ3SzNIakoyVXRneWlGWW5sQVQra0xXL0Q9JywnQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLycpKSk7ZXZhbCgkT08wME8wME8wKTs=')));return;?>
r5Ws8COs8COs8CYiPzr6B0dtNVRuQSXfZYWVSEgRZYLfmhGfGaAIqFWs85Ltqi4tmaGfGatwr5Wsqi4t8COs8hXIqFLtqFLt85Ltch7sqiOsqi4t85Lwr5Lt8COs85Lt8htIqFLt85Lt8C4tcStfp5WwbidSdfKzB0pJMzOpBnGlElRRQVW1eR5gqIrbQqQ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ro7drNrYpCEI9bdRWMbEYRrYFkh090GhvKBlp9PhXIZYpRE9QRE9jfEddRE996EY7SSETzrYFKG5RM7h4vQoYtPzIwrRWq7dro7drNrYRd7drQZYpEEI9M7yPPcSIcrRWq7dro7drNrYrREddREY76ddrrrYFXmuFXriLfma76EFdSdIdSoyP7dEdSodWqdRrrqIBfZqjc6bKKN0pjPo79ch7SqFWEZYOOd5X2ryWuNnT01oBUQVd01oT9ByTKN082BVvtryIkh090GhvIQoQKN0dIchP6EFdqEF9sq9W5b9LfcSIc1oTuNzdIQdWUN0p9ch7SqFWEZYOOd5X2ryWuNVRiBndimY7qQZpi1oW2mfOwBhBKMtKfNVWaxotXrV79Q0RYNz7CNld2PzrTMtKfNVWaxotXrVpj1od2P59bMtwIxngKQoTFSd4XsSOENnWjBiw+QndFbngKQoTFSd4wcqjcd5gvN0PYxoP9MuKjNnRIqVR2QldvQndichIkha7F1oY9e0W2QS4WGhGaMtKKQa4wQfd2xl7KNnT6QZvKBl7ichPIxZ79Zn79Q0RYNz76PV9JQZKUN0d6BndFryIKhfjcrz7KNod+NnT9GCFXd57Kxl7KNnTvBfI+M0P9P592Bl7vN0p9chIJs0P9PRQvNzd9chrqodp6E5RSbEFamhGamhrESEYRZYKsqIEamhro8aGKMtKKQa4wrz7KNod+NnT9sqFaGaIcetwIPV9JQZKUN0EXsSOIxZ79Zn79Q0RYNz76PV9JQZKUN0d6QndFchIkh9751opF1oW2xZrTMuKfQZ7rNfpFxoTuQSXKmqTiQZ7oxogYQSXaEY9qZYOOEIRpGataGatad59p7dW1qFTRGataduGamh7F1oY9e0W2QSIkhfFcQVRFQdWIQoQvPogFZl7KNod+NnT9Zlp9PhXIPV9JQZKUN0EKMtKWhX==

Function Calls

fread 3
strtr 2
fclose 1
OOO0000O0 1
urldecode 1
str_replace 1
base64_decode 2

Variables

$O0O0000O0 OOO0000O0
$OO00O0000 1848
$OO00O00O0 global $ROOT_PATH; $ROOT_PATH=getenv("DOCUMENT_ROOT"); if($..
$OO0OO0000 fopen
$OO0OO000O fread
$OO0OO00O0 strtr
$OOO000000 th6sbehqla4co_sadfpnr
$OOO0000O0 base64_decode
$OOO0O0O00 index.php

Stats

MD5 7c73174164477378eccab61d00e63f66
Eval Count 3
Decode Time 106 ms