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

Signing you up...

Thank you for signing up!

PHP Decode

class Wyomind_Datafeedmanager_Model_Configurations extends Mage_Core_Model_Abstract { publ..

Decoded Output download

class Wyomind_Datafeedmanager_Model_Configurations extends Mage_Core_Model_Abstract { public $_indexPhp = ''; 
 protected $_filePath; 
  public $_limit = false; 
  public $_display = false; 
  public $_rates = false; 
  public $_chartset = false; 
  public $_sqlSize = 1500; 
  static $option = 0; 
  public function x13c($myPattern, $product, $x3f = true, $x40 = false) { $x110="preg_split"; 
  $x111="implode"; 
  $x112="str_replace"; 
  $x113="utf8_encode"; 
  $x114="preg_match_all"; 
  $x115="preg_match"; 
  $x116="rtrim"; 
  $x117="is_null"; 
  $x118="count"; 
  $x119="is_numeric"; 
  $x11a="explode"; 
  $x11b="substr"; 
  $x11c="trim"; 
  $x11d="strlen"; 
  $x11e="utf8_decode"; 
  $x11f="preg_replace"; 
  $x120="json_decode"; 
  $x121="stristr"; 
  $x122="print_r"; 
  $x123="is_string"; 
  $x124="is_array"; 
  $x125="ucwords"; 
  $x126="array_push"; 
  $x127="version_compare"; 
  $x128="in_array"; 
  $x129="round"; 
  $x12a="sprintf"; 
  $x12b="array_pop"; 
  $x12c="ini_get"; 
  $x12d="set_time_limit"; 
  $x12e="number_format"; 
  $x12f="strip_tags"; 
  $x130="html_entity_decode"; 
  $x131="htmlspecialchars"; 
  $x132="strrpos"; 
  $x133="is_bool"; 
  $x134="mb_strtolower"; 
  $x135="mb_strtoupper"; 
  $x136="htmlentities"; 
  $x137="ftp_connect"; 
  $x138="ftp_login"; 
  $x139="ftp_pasv"; 
  $x13a="ftp_put"; 
  $x13b="ftp_close"; 
  if ($x40) { $x41 = $x110("/
/", $myPattern); 
  $x42 = $x41[0]; 
  $x41[0] = null; 
  $myPattern = $x111($x41, "
"); 
  } $myPattern = $x112('<?', $x113(''), $myPattern); 
  $myPattern = $x112('?>', $x113(''), $myPattern); 
  $x43 = $x113('/((.[^]+))/s'); 
  $x114($x43, $myPattern, $x44); 
  if (isset($x44[1])) { foreach ($x44[1] as $x45 => $x46) { if ($x3f == 1) { if (@eval($x44[2][$x45] . '; ')) $myPattern = $x112($x46, eval($x44[2][$x45] . '; '), $myPattern); 
  else $myPattern = $x112($x46, '', $myPattern); 
  } else { if (@eval($this->unx143($x44[2][$x45] . '; '))) $myPattern = $x112($x46, $this->x143(eval($this->unx143($x44[2][$x45]) . '; ')), $myPattern); 
  else $myPattern = $x112($x46, '', $myPattern); 
  } } } if ($x40) { if ($x3f == 1) return $x42 . "
" . $myPattern; 
  else return $x42; 
  } else return $myPattern; 
  } protected function _construct() { $x110="preg_split"; 
  $x111="implode"; 
  $x112="str_replace"; 
  $x113="utf8_encode"; 
  $x114="preg_match_all"; 
  $x115="preg_match"; 
  $x116="rtrim"; 
  $x117="is_null"; 
  $x118="count"; 
  $x119="is_numeric"; 
  $x11a="explode"; 
  $x11b="substr"; 
  $x11c="trim"; 
  $x11d="strlen"; 
  $x11e="utf8_decode"; 
  $x11f="preg_replace"; 
  $x120="json_decode"; 
  $x121="stristr"; 
  $x122="print_r"; 
  $x123="is_string"; 
  $x124="is_array"; 
  $x125="ucwords"; 
  $x126="array_push"; 
  $x127="version_compare"; 
  $x128="in_array"; 
  $x129="round"; 
  $x12a="sprintf"; 
  $x12b="array_pop"; 
  $x12c="ini_get"; 
  $x12d="set_time_limit"; 
 $x12e="number_format"; 
  $x12f="strip_tags"; 
  $x130="html_entity_decode"; 
  $x131="htmlspecialchars"; 
  $x132="strrpos"; 
  $x133="is_bool"; 
  $x134="mb_strtolower"; 
  $x135="mb_strtoupper"; 
  $x136="htmlentities"; 
  $x137="ftp_connect"; 
  $x138="ftp_login"; 
  $x139="ftp_pasv"; 
  $x13a="ftp_put"; 
  $x13b="ftp_close"; 
  $this->_sqlSize = Mage::getStoreConfig("datafeedmanager/system/sqlsize"); 
  $this->_init('datafeedmanager/configurations'); 
  } protected function _beforeSave() { $x110="preg_split"; 
  $x111="implode"; 
  $x112="str_replace"; 
  $x113="utf8_encode"; 
  $x114="preg_match_all"; 
  $x115="preg_match"; 
  $x116="rtrim"; 
  $x117="is_null"; 
  $x118="count"; 
  $x119="is_numeric"; 
  $x11a="explode"; 
  $x11b="substr"; 
  $x11c="trim"; 
  $x11d="strlen"; 
  $x11e="utf8_decode"; 
  $x11f="preg_replace"; 
  $x120="json_decode"; 
  $x121="stristr"; 
  $x122="print_r"; 
  $x123="is_string"; 
  $x124="is_array"; 
  $x125="ucwords"; 
  $x126="array_push"; 
  $x127="version_compare"; 
  $x128="in_array"; 
  $x129="round"; 
  $x12a="sprintf"; 
  $x12b="array_pop"; 
  $x12c="ini_get"; 
  $x12d="set_time_limit"; 
  $x12e="number_format"; 
  $x12f="strip_tags"; 
  $x130="html_entity_decode"; 
  $x131="htmlspecialchars"; 
  $x132="strrpos"; 
  $x133="is_bool"; 
  $x134="mb_strtolower"; 
  $x135="mb_strtoupper"; 
  $x136="htmlentities"; 
  $x137="ftp_connect"; 
  $x138="ftp_login"; 
  $x139="ftp_pasv"; 
  $x13a="ftp_put"; 
  $x13b="ftp_close"; 
  $x47 = new Varien_Io_File(); 
  $x48 = $x47->getCleanPath(Mage::getBaseDir() . '/' . $this->getFeedPath()); 
  if (!$x47->allowedPath($x48, Mage::getBaseDir())) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please define correct path')); 
  } if (!$x47->fileExists($x48, false)) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please create the specified folder "%s" before saving the data feed configuration.', Mage::helper('core')->htmlEscape($this->getFeedPath()))); 
  } if (!$x47->isWriteable($x48)) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please make sure that "%s" is writable by web-server.', $this->getFeedPath())); 
  } if (!$x115('#^[a-zA-Z0-9_\.]+$#', $this->getFeedName())) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in the filename. No spaces or other characters are allowed.')); 
  } $this->setFeedPath($x116($x112($x112('\', '/', Mage::getBaseDir()), '', $x48), '/') . '/'); 
  return parent::_beforeSave(); 
  } 

Did this file decode correctly?

Original Code

class Wyomind_Datafeedmanager_Model_Configurations extends Mage_Core_Model_Abstract { public $_indexPhp = '';
 protected $_filePath;
  public $_limit = false;
  public $_display = false;
  public $_rates = false;
  public $_chartset = false;
  public $_sqlSize = 1500;
  static $option = 0;
  public function x13c($myPattern, $product, $x3f = true, $x40 = false) { $x110="p\162\145\147_\163\x70\x6c\x69\164";
  $x111="\x69\x6d\160\x6code";
  $x112="\x73t\x72_\162\x65p\154a\x63\x65";
  $x113="\x75\x74\146\70_en\143o\144e";
  $x114="p\162\145g_m\x61\164\143\x68_\141\x6c\154";
  $x115="p\162\145\147\x5fm\141\x74\x63h";
  $x116="\x72trim";
  $x117="\x69\163\137\156u\154\x6c";
  $x118="cou\156t";
  $x119="\151s_\x6eu\x6d\145\162\151\143";
  $x11a="ex\160l\x6f\144e";
  $x11b="s\x75b\163t\x72";
  $x11c="\x74\x72\151\x6d";
  $x11d="\x73\x74\162le\156";
  $x11e="ut\146\70_\144e\143od\x65";
  $x11f="\x70r\x65\147\137\x72\145\160\154\141ce";
  $x120="\152\x73on\137\144\145\x63o\x64\x65";
  $x121="\x73\x74\162\x69s\x74\x72";
  $x122="p\162i\x6e\x74\137\162";
  $x123="is_\x73\164\162i\156\147";
  $x124="\151\x73_\x61\162\162\x61\171";
  $x125="u\143\x77\x6f\x72\144\x73";
  $x126="\x61\x72r\141\x79\x5fp\x75sh";
  $x127="\x76\145\x72s\x69\157\156\x5f\x63\157\155pa\x72e";
  $x128="\x69\156_\141rray";
  $x129="\162\x6f\x75n\x64";
  $x12a="\x73pr\x69\x6et\x66";
  $x12b="\x61\162\162\141y\x5f\x70op";
  $x12c="\x69\156\x69_\x67\145\164";
  $x12d="s\x65\164\137\164\151\155\145\137\154\x69\155i\x74";
  $x12e="n\x75m\142\145r\137\146\157\x72ma\x74";
  $x12f="\163\x74r\x69\x70\x5f\164a\147s";
  $x130="\x68t\x6dl\x5fe\156\164i\164\x79\x5fde\143\157\x64\145";
  $x131="\150\x74m\x6c\x73p\x65\143i\141\x6c\x63\150\141\x72s";
  $x132="\163\164\162rp\x6f\x73";
  $x133="i\x73\x5fboo\x6c";
  $x134="\155\142\x5f\x73\164\162\x74\157\x6co\x77\x65\x72";
  $x135="\155b\137\x73\x74rtou\x70\x70\145\162";
  $x136="\150\164\x6d\154\145\156tit\x69\x65s";
  $x137="f\x74p\x5f\143o\156\x6e\x65c\164";
  $x138="\x66t\160_lo\147\x69\x6e";
  $x139="\x66\x74p\137p\141\x73\166";
  $x13a="f\164\x70_put";
  $x13b="\146t\160\137\x63\x6c\x6f\163\x65";
  if ($x40) { $x41 = $x110("\x2f\x0a\x2f", $myPattern);
  $x42 = $x41[0];
  $x41[0] = null;
  $myPattern = $x111($x41, "\x0a");
  } $myPattern = $x112('<?', $x113(''), $myPattern);
  $myPattern = $x112('?>', $x113(''), $myPattern);
  $x43 = $x113('/((.[^]+))/s');
  $x114($x43, $myPattern, $x44);
  if (isset($x44[1])) { foreach ($x44[1] as $x45 => $x46) { if ($x3f == 1) { if (@eval($x44[2][$x45] . '; ')) $myPattern = $x112($x46, eval($x44[2][$x45] . '; '), $myPattern);
  else $myPattern = $x112($x46, '', $myPattern);
  } else { if (@eval($this->unx143($x44[2][$x45] . '; '))) $myPattern = $x112($x46, $this->x143(eval($this->unx143($x44[2][$x45]) . '; ')), $myPattern);
  else $myPattern = $x112($x46, '', $myPattern);
  } } } if ($x40) { if ($x3f == 1) return $x42 . "\x0a" . $myPattern;
  else return $x42;
  } else return $myPattern;
  } protected function _construct() { $x110="\160\x72e\x67_\x73\160l\151\x74";
  $x111="\151\x6dp\154od\x65";
  $x112="\x73\164r\x5f\x72\x65p\154ace";
  $x113="\x75\x74f\70\137\145nc\157d\145";
  $x114="\x70\x72e\147\137\155\x61\x74\x63\x68\137a\x6c\154";
  $x115="p\162\x65\x67\137\x6da\164\143h";
  $x116="\x72\x74\162i\155";
  $x117="\x69\x73_\156u\x6c\x6c";
  $x118="\143\157\165nt";
  $x119="i\163_\x6e\x75\155\145\162i\143";
  $x11a="\145\x78\x70\x6c\157\x64\145";
  $x11b="\x73\165b\163\x74\162";
  $x11c="\164\162\151m";
  $x11d="str\154e\x6e";
  $x11e="\165t\146\70_\144\x65\143o\144e";
  $x11f="pr\x65\x67\137\162\145\x70lac\145";
  $x120="\152\x73\x6f\x6e\x5fde\x63\x6f\144\x65";
  $x121="s\x74\162is\164\162";
  $x122="p\x72\x69\x6e\164_\162";
  $x123="\x69\x73\137str\151n\x67";
  $x124="\151\x73\x5f\141\x72\x72a\x79";
  $x125="u\x63\167ord\x73";
  $x126="a\x72\162ay\x5f\x70u\x73h";
  $x127="\166e\162\x73ion\x5fc\x6f\155\x70\x61\162\x65";
  $x128="\x69\x6e_\x61\x72ra\171";
  $x129="\162\157\x75\156d";
  $x12a="sp\162\151n\x74\146";
  $x12b="\141r\x72a\171\137\x70\157p";
  $x12c="ini\x5f\147\x65\164";
  $x12d="\163\x65t_\164\x69\155\145\x5f\x6cimi\x74";
 $x12e="\156\165mb\145\162\137\146\x6f\x72\x6dat";
  $x12f="\163\x74\x72ip\x5ft\141gs";
  $x130="h\x74\x6d\x6c\x5fe\x6e\x74\151\164\x79\x5fd\145\143\157d\145";
  $x131="h\164\155\x6cs\160e\143i\141l\143\150ar\163";
  $x132="s\x74\162r\160o\163";
  $x133="\151s\137\x62\157ol";
  $x134="mb\137\163t\x72\x74o\154o\167\145\162";
  $x135="m\x62\x5f\163\x74\162t\x6fu\160\160\145\162";
  $x136="\x68\164\x6dl\145nti\164\151e\163";
  $x137="\146\164\160_c\x6f\156\x6e\x65\x63\x74";
  $x138="ft\x70\137\154og\x69\x6e";
  $x139="\146\x74p_\x70\141s\166";
  $x13a="\x66\164\x70\137\x70u\x74";
  $x13b="ftp_\x63l\x6fse";
  $this->_sqlSize = Mage::getStoreConfig("\x64\x61\x74a\146\x65e\144manage\x72\x2fs\x79s\164\x65m\x2f\x73q\x6c\x73iz\145");
  $this->_init('datafeedmanager/configurations');
  } protected function _beforeSave() { $x110="\160\x72\145\147\x5f\163\160\154\151\164";
  $x111="\151m\x70\x6c\157\x64e";
  $x112="\163tr\137\x72\145\x70\x6c\141\x63\x65";
  $x113="u\x74f\70\x5f\x65\156c\157d\x65";
  $x114="p\162\145\x67\x5f\155\x61\164ch\x5f\141l\154";
  $x115="p\162eg_match";
  $x116="r\x74\x72\151\155";
  $x117="\x69s\137\156\x75ll";
  $x118="c\x6f\165\156\x74";
  $x119="i\x73_\x6e\x75\x6der\x69c";
  $x11a="exp\154ode";
  $x11b="\163\165b\x73\x74\162";
  $x11c="\164r\x69\x6d";
  $x11d="\x73tr\x6c\145\x6e";
  $x11e="u\164\x66\70_\144\x65c\157de";
  $x11f="\x70\162\145\x67\137\x72\145\160\x6cace";
  $x120="j\x73on_de\x63o\144e";
  $x121="\x73\164\162\151\163t\162";
  $x122="\x70\x72in\x74\137r";
  $x123="is\x5f\163\164r\151ng";
  $x124="\x69\163\137ar\162\141\171";
  $x125="u\x63\x77\x6fr\x64\163";
  $x126="\x61\x72\162a\x79_p\x75sh";
  $x127="\166\145rs\x69\157\x6e_\x63\x6f\155\160a\x72\145";
  $x128="i\x6e\137\141\x72\x72a\x79";
  $x129="\162\157\165\156\144";
  $x12a="\163\x70\162\x69n\x74\x66";
  $x12b="ar\x72\141y\x5f\x70\157p";
  $x12c="\x69ni\x5f\147\145\164";
  $x12d="\163\x65\164_t\x69\155\x65\137li\155\151\x74";
  $x12e="\156\165mb\x65r\x5f\x66\x6fr\x6d\x61t";
  $x12f="\163\164\x72ip\x5f\164ag\163";
  $x130="\x68\x74m\x6c_\145nt\x69\x74y\x5f\x64\145\x63\157\144\x65";
  $x131="\150tm\x6c\x73pec\x69\x61lcha\x72s";
  $x132="\x73\x74\x72rp\157s";
  $x133="i\163\x5f\x62\157\157l";
  $x134="m\x62\137\163\164\162\164\x6f\154\157\167\x65\162";
  $x135="\155\x62\137\x73\164\162\164\x6f\165p\x70\x65\162";
  $x136="\x68\164\x6dl\x65n\x74i\164\151\145s";
  $x137="ft\x70\137\x63\157n\156\x65\x63t";
  $x138="\146\164p\x5f\154\x6f\147\x69\156";
  $x139="f\x74\160\x5f\x70\141s\166";
  $x13a="\x66\x74\x70\x5f\x70\x75t";
  $x13b="\x66t\160_cl\157\163\x65";
  $x47 = new Varien_Io_File();
  $x48 = $x47->getCleanPath(Mage::getBaseDir() . '/' . $this->getFeedPath());
  if (!$x47->allowedPath($x48, Mage::getBaseDir())) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please define correct path'));
  } if (!$x47->fileExists($x48, false)) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please create the specified folder "%s" before saving the data feed configuration.', Mage::helper('core')->htmlEscape($this->getFeedPath())));
  } if (!$x47->isWriteable($x48)) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please make sure that "%s" is writable by web-server.', $this->getFeedPath()));
  } if (!$x115('#^[a-zA-Z0-9_\.]+$#', $this->getFeedName())) { Mage::throwException(Mage::helper('datafeedmanager')->__('Please use only letters (a-z or A-Z), numbers (0-9) or underscore (_) in the filename. No spaces or other characters are allowed.'));
  } $this->setFeedPath($x116($x112($x112('\\', '/', Mage::getBaseDir()), '', $x48), '/') . '/');
  return parent::_beforeSave();
  } 

Function Calls

None

Variables

None

Stats

MD5 b93da799a55f67812d06ff90c580a332
Eval Count 0
Decode Time 97 ms