Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
$_F=__FILE__;$_X="eJztV+tu2zYU/p+nOA0cSArc2JZ895K0TVN0WNEOCYoOKAqBIg9tIYokiFQct+sD7TX2ZDuk..
Decoded Output download
?><?php /*obfv1*/
// Copyright 2015 Extendware
// Are you trying to customize your extension? Contact us (http://www.extendware.com/contacts/) and we can help!
// Please note, not all files are encoded and different extensions have different levels of encoding.
// We are always happy to provide guideance if you are experiencing an issue!
/**
* Below are methods found in this class
*
* @method mixed public __destruct()
* @method mixed public isLocked($file = 'general.lock', $block = false)
* @method mixed public lock($file = 'general.lock', $block = false)
* @method mixed public unlock($file = 'general.lock')
*
*/
?><?php
abstract class ExtendwareInternal_EWCore_Helper_Lock_Abstract extends Extendware_EWCore_Helper_Data_Abstract { protected $lockFileHandles = array(); protected function _1451t9p($_0 = 'general.lock') { return $this->mHelper('internal_api')->getLockDir() . DS . $_0;; } protected function _1rybzkg($_0 = 'general.lock') { if (isset($this->lockFileHandles[$_0]) === false) { $_1 = $this->_1451t9p($_0); if (is_file($_1)) { $this->lockFileHandles[$_0] = fopen($_1, 'w'); } else { $this->lockFileHandles[$_0] = fopen($_1, 'x'); } fwrite($this->lockFileHandles[$_0], date('r')); Extendware_EWCore_Helper_File::chmod($_1); } return $this->lockFileHandles[$_0]; } public function _1uhxdf5($_0 = 'general.lock', $_1 = false) { if ($_0 === null) 'general.lock'; $_2 = $this->oatge6($_0, false); if ($_2 === true) { $this->ypkcom($_0); return false; } return true; } public function oatge6($_0 = 'general.lock', $_1 = false) { if ($_0 === null) 'general.lock'; return (bool)flock($this->_1rybzkg($_0), ($_1 ? LOCK_EX : (LOCK_EX | LOCK_NB))); } public function ypkcom($_0 = 'general.lock') { if ($_0 === null) 'general.lock'; return (bool)flock($this->_1rybzkg($_0), LOCK_UN); } public function __destruct() { foreach ($this->lockFileHandles as $_0 => $_1) { @fclose($_1); } } public function __call($_0 , $_1) { list($_0, $_1) = func_get_args(); switch(md5(strtolower(sprintf('%s-%s-method', __CLASS__, $_0)))) { case '23f432466f33db3faa7be14e0a7d413f': return call_user_func_array(array($this, "_1451t9p"), $_1);break; case 'c904899e4dcfc53a18ffda22cba982e2': return call_user_func_array(array($this, "_1rybzkg"), $_1);break; case '2abd6bedcb8c2e4bde8c5d537800f735': return call_user_func_array(array($this, "_1uhxdf5"), $_1);break; case '109fdf8f631089576d4313fea4a0c37a': return call_user_func_array(array($this, "oatge6"), $_1);break; case '1351f2cf2d68c8dcc3adc2925a0eb2f7': return call_user_func_array(array($this, "ypkcom"), $_1);break; } foreach (class_parents(__CLASS__) as $_2) { if (method_exists($_2, '__call') === true) { return parent::__call($_0, $_1); } } $_3 = debug_backtrace(); $_4 = array_shift($_3); $_5 = $_6 = 'unknown'; foreach ($_3 as $_7) { if ($_5 == 'unknown' and isset($_7['file'])) $_5 = $_7['file']; if ($_6 == 'unknown' and isset($_7['line'])) $_5 = $_7['line']; } $_8 = sprintf('Fatal error: Call to undefined method %s::%s() in %s on line %d', __CLASS__, $_0, $_5, $_6); trigger_error($_8, E_USER_ERROR); die($_8); } public static function __callStatic($_0 , $_1) { list($_0, $_1) = func_get_args(); switch(md5(strtolower(sprintf('%s-%s-method', __CLASS__, $_0)))) { case '23f432466f33db3faa7be14e0a7d413f': return call_user_func_array(array("self", "_1451t9p"), $_1);break; case 'c904899e4dcfc53a18ffda22cba982e2': return call_user_func_array(array("self", "_1rybzkg"), $_1);break; case '2abd6bedcb8c2e4bde8c5d537800f735': return call_user_func_array(array("self", "_1uhxdf5"), $_1);break; case '109fdf8f631089576d4313fea4a0c37a': return call_user_func_array(array("self", "oatge6"), $_1);break; case '1351f2cf2d68c8dcc3adc2925a0eb2f7': return call_user_func_array(array("self", "ypkcom"), $_1);break; } foreach (class_parents(__CLASS__) as $_2) { if (method_exists($_2, '__call') === true) { return parent::__callStatic($_0, $_1); } } $_3 = debug_backtrace(); $_4 = array_shift($_3); $_5 = $_6 = 'unknown'; foreach ($_3 as $_7) { if ($_5 == 'unknown' and isset($_7['file'])) $_5 = $_7['file']; if ($_6 == 'unknown' and isset($_7['line'])) $_5 = $_7['line']; } $_8 = sprintf('Fatal error: Call to undefined method %s::%s() in %s on line %d', __CLASS__, $_0, $_5, $_6); trigger_error($_8, E_USER_ERROR); die($_8); } }?><?php
if (defined('Extendware:Extendware_EWCore_Helper_Lock_Abstract:Rewrite') === false) { abstract class Extendware_EWCore_Helper_Lock_Abstract extends ExtendwareInternal_EWCore_Helper_Lock_Abstract {} }
Did this file decode correctly?
Original Code
$_F=__FILE__;$_X="eJztV+tu2zYU/p+nOA0cSArc2JZ895K0TVN0WNEOCYoOKAqBIg9tIYokiFQct+sD7TX2ZDuk5EsTu1iwduiABQFhUOd+vvORPD356TSf5dA6zCJ50zls7bVacJbliyKezjT8+Qf47U4Pzm81pmLOCjTfnxYIi6wEXSzidAo6A14qnV3HH+1+AWjEVZylp2Qr1YxrKBW4M63zcas1n8+PcGXwiGfXLV5JqZYHLBUwR+AshRkm+SPj8NcEmUJIM41NswJLEpBxggrIAmDKM4HCqopYSiww1esgFMzYDW58SfAGEwWZrDQphyPj5R1aayyZs4XRyfOFyS0vsptYIExLWlnKEWJp07eub3MsYjJjCkEhx0qV+GiP/lqHh3twCM8wyeZW9Br1LBMKZFZSnHEKehYr4AlTigSN7JNKBK7jW8omL6Mk5hCGApUuSq5db6dQrF5l/AqF2zBVgWNwpphiwZKjhPadJjQi84M+SJYo3G3ISP1jI2X6FTNelWxr77SC3h6LKD0DEVuKDaj9nGosUpaE5+/OsgLDlwQHLEKTafh0qVQBaVPtjvhzptla/JNpp0auKdqGiecFxfiSgGOwdEx9KtjC9SYbUrJMuSYUQdjp9jp6lLuNsH0/K7JcoC6LFBqmr49Priv/rhMv02B57HiPT6aoTQrP48L14AieX9JCJicT+LzdbbGIPl5Nd7olNLoEO9Ru7flOWu9J8YMHx8fLvpFOI+yQrVp+MzFKvbIXmubRTsez8rstGzhkOaZGtgnO3PFMI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function Calls
| strrev | 1 |
| gzuncompress | 1 |
| base64_decode | 1 |
Stats
| MD5 | 57e216bc0c864bb1fa9f9de87bdae698 |
| Eval Count | 1 |
| Decode Time | 102 ms |