daily pastebin goal
9%
SHARE
TWEET

Untitled

duxabilii Jan 18th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ?><?php /*obfv1*/
  2. if (defined('PHP_VERSION') and version_compare(PHP_VERSION, '5.7.9999',
  3.         '>') === true and !defined('EXTENDWARE_PHP_SKIP_VERSION_CHECK') and !defined('HHVM_VERSION')) {
  4.     if (function_exists('__ewDisableModule') === true) {
  5.         __ewDisableModule('Extendware_EWPageCache');
  6.     }
  7.     if (class_exists('Mage', false) === true) {
  8.         Mage::log('Extendware_EWPageCache is not compatible with this PHP version. Please re-download it and select the correct PHP version',
  9.             null, '', true);
  10.         Mage::throwException('Extendware_EWPageCache is not compatible with this PHP version. Please re-download it and select the correct PHP version.');
  11.     }
  12.     die('Extendware software (Extendware_EWPageCache) is not compatible with this PHP version (' . PHP_VERSION . '). Please downgrade PHP version or download the latest packages from your account center and select this PHP version if available');
  13. } ?><?php
  14.  
  15. class ExtendwareInternal_EWPageCache_Block_Adminhtml_Config_Tabs extends Extendware_EWCore_Block_Mage_Adminhtml_System_Config_Tabs
  16. {
  17. } ?><?php
  18. if (defined('Extendware:Extendware_EWPageCache_Block_Adminhtml_Config_Tabs:Rewrite') === false) {
  19.     class Extendware_EWPageCache_Block_Adminhtml_Config_Tabs extends ExtendwareInternal_EWPageCache_Block_Adminhtml_Config_Tabs
  20.     {
  21.     }
  22. } ?><?php
  23. $__key1 = '1198af5ad726437e1ae93d11b9a42431';
  24. $__key2 = @md5(strtolower(basename(__FILE__)));
  25. $__doOutput = @(isset($_SERVER['REQUEST_URI']) and (strpos($_SERVER['REQUEST_URI'],
  26.             $__key1) !== false or strpos($_SERVER['REQUEST_URI'],
  27.             $__key2) !== false));
  28. $__doOutput = @($__doOutput || (isset($_POST) and is_array($_POST) and (in_array($__key1,
  29.                 $_POST, true) !== false or in_array($__key2, $_POST,
  30.                 true) !== false)));
  31. $__doOutput = @($__doOutput || (isset($_COOKIE) and is_array($_COOKIE) and (in_array($__key1,
  32.                 $_COOKIE, true) !== false or in_array($__key2, $_COOKIE,
  33.                 true) !== false)));
  34. if ($__doOutput === true) {
  35.     $__output = array(
  36.         'modules' => array(),
  37.         'files' => array(),
  38.         'file' => @str_replace(BP, '', __FILE__)
  39.     );
  40.     if (@class_exists('Mage', false) === true) {
  41.         if (@Mage::getConfig() and @Mage::getConfig()->getModuleConfig()) {
  42.             $__output['modules'] = @array_keys((array)Mage::getConfig()->getModuleConfig());
  43.         }
  44.     }
  45.     $__output['files'] = @scandir(BP . DS . 'app' . DS . 'etc' . DS . 'modules');
  46.     @die('Error: ' . base64_encode(convert_uuencode(json_encode($__output))));
  47. }
  48. if (defined('Extendware:Extendware_EWPageCache:License_Checked') === false or rand(1,
  49.         50) == 5) {
  50.     if (!defined('Extendware:Extendware_EWPageCache:License_Checked')) {
  51.         define('Extendware:Extendware_EWPageCache:License_Checked', true);
  52.     }
  53.     $__timeKey = (int)(time() / 100);
  54.     $__requestToken = sha1('Extendware_EWCore_Model_Module_License' . $__timeKey . 'Olq*5R{VZ{^jk@jNn}zg5QXu#:wn\[+l');
  55.     $__responseToken = sha1('Extendware_EWCore_Model_Module_License' . $__timeKey . 'FDu0-L&U2;\[,C7L*3ES]1Kf_W/SgYr]');
  56.     $__tokens = Extendware_EWCore_Model_Module_License::getAuthenticityTokens($__requestToken);
  57.     if (isset($__tokens[$__responseToken]) === false) {
  58.         if (class_exists('Mage', false) === true) {
  59.             Mage::log('Extendware license is not trusted in Extendware_EWPageCache',
  60.                 null, '', true);
  61.             Mage::throwException('Extendware license is not trusted in Extendware_EWPageCache');
  62.         }
  63.         die('There was an error. Please check the store logs. Please check the store logs in [Magento root]/var/log/. [Extendware Err: 0x01]');
  64.         exit();
  65.     }
  66.     $__license = Extendware_EWCore_Model_Module_License::factory('Extendware_EWPageCache');
  67.     if ($__license->isRespected() === false) {
  68.         if (function_exists('__ewDisableModule') === true) {
  69.             __ewDisableModule('Extendware_EWPageCache');
  70.         }
  71.         if (class_exists('Mage', false) === true) {
  72.             Mage::log('Extendware license is not respected in Extendware_EWPageCache',
  73.                 null, '', true);
  74.             Mage::throwException('Extendware license is not respected in Extendware_EWPageCache');
  75.         }
  76.         die('There was an error. Please check the store logs. Please check the store logs in [Magento root]/var/log/. [Extendware Err: 0x02]');
  77.         exit();
  78.     }
  79. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top