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 ${"\x47\x4c\x4fB\x41\x4cS"}["hkh\x71x\x74\x74z\x6co"]="\x69t\x65\x6dD\x61\x74a";${"G..

Decoded Output download

<?php ${"GLOBALS"}["hkhqxttzlo"]="itemData";${"GLOBALS"}["jkwpruxlodck"]="item";${"GLOBALS"}["oeqyfncahd"]="items";${"GLOBALS"}["ftninss"]="result";${"GLOBALS"}["djmugg"]="value";${"GLOBALS"}["mokpkhgpqu"]="filter";class Nostress_Nscexport_Model_Mysql4_Submission_Items_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract{public function _construct(){parent::_construct();$this->_init("nscexport/submission_items");}public function getProducts($profileID,$filter=array()){$ambsswurf="profileID";$this->getSelect()->where("profile_id = ?",${$ambsswurf})->order("item_id ASC");if(count(${${"GLOBALS"}["mokpkhgpqu"]})){$cwstokpby="key";foreach(${${"GLOBALS"}["mokpkhgpqu"]} as${$cwstokpby}=>${${"GLOBALS"}["djmugg"]}){$ckpkhpobc="value";$iakxsust="key";$this->getSelect()->where(${$iakxsust}." = ?",${$ckpkhpobc});}}${${"GLOBALS"}["ftninss"]}=$this->getResource()->getReadConnection()->fetchAll($this->getSelect());${"GLOBALS"}["mlmfglx"]="items";${${"GLOBALS"}["oeqyfncahd"]}=array();foreach(${${"GLOBALS"}["ftninss"]} as${${"GLOBALS"}["jkwpruxlodck"]}){$jvsvqtwtj="item";${"GLOBALS"}["vkmdhfwvoc"]="item";${${"GLOBALS"}["hkhqxttzlo"]}=json_decode(${${"GLOBALS"}["jkwpruxlodck"]}["data"],true);$coopfbwwc="items";unset(${$jvsvqtwtj}["data"]);${"GLOBALS"}["npkgfpefyth"]="item";${${"GLOBALS"}["vkmdhfwvoc"]}=array_merge(${${"GLOBALS"}["jkwpruxlodck"]},${${"GLOBALS"}["hkhqxttzlo"]});${$coopfbwwc}[${${"GLOBALS"}["npkgfpefyth"]}["item_id"]]=${${"GLOBALS"}["jkwpruxlodck"]};}return${${"GLOBALS"}["mlmfglx"]};}protected function _afterLoad(){foreach($this->_items as${${"GLOBALS"}["jkwpruxlodck"]}){${"GLOBALS"}["hlxkvcgoui"]="itemData";${${"GLOBALS"}["hlxkvcgoui"]}=json_decode(${${"GLOBALS"}["jkwpruxlodck"]}["data"],true);$xpdnhqccomm="item";unset(${$xpdnhqccomm}["data"]);$item->addData(${${"GLOBALS"}["hkhqxttzlo"]});}return parent::_afterLoad();}}
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fB\x41\x4cS"}["hkh\x71x\x74\x74z\x6co"]="\x69t\x65\x6dD\x61\x74a";${"GL\x4f\x42A\x4cS"}["\x6ak\x77\x70\x72u\x78lo\x64\x63\x6b"]="\x69\x74e\x6d";${"\x47LO\x42A\x4c\x53"}["\x6fe\x71\x79\x66\x6ec\x61\x68d"]="\x69\x74\x65ms";${"G\x4c\x4f\x42AL\x53"}["f\x74\x6e\x69\x6ess"]="\x72\x65\x73\x75\x6c\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x6am\x75\x67g"]="\x76\x61\x6cu\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["m\x6f\x6bp\x6b\x68gpqu"]="\x66\x69\x6ct\x65\x72";class Nostress_Nscexport_Model_Mysql4_Submission_Items_Collection extends Mage_Core_Model_Mysql4_Collection_Abstract{public function _construct(){parent::_construct();$this->_init("\x6esce\x78port/\x73\x75\x62m\x69\x73\x73ion_ite\x6ds");}public function getProducts($profileID,$filter=array()){$ambsswurf="p\x72ofi\x6c\x65\x49\x44";$this->getSelect()->where("p\x72ofi\x6ce\x5f\x69d \x3d\x20?",${$ambsswurf})->order("\x69t\x65m\x5f\x69\x64 \x41S\x43");if(count(${${"\x47\x4cO\x42A\x4c\x53"}["mokp\x6bhg\x70q\x75"]})){$cwstokpby="\x6b\x65\x79";foreach(${${"\x47\x4cO\x42\x41L\x53"}["\x6d\x6fk\x70k\x68\x67\x70\x71u"]} as${$cwstokpby}=>${${"\x47L\x4fB\x41\x4c\x53"}["\x64j\x6dug\x67"]}){$ckpkhpobc="\x76\x61\x6c\x75\x65";$iakxsust="\x6b\x65\x79";$this->getSelect()->where(${$iakxsust}." \x3d ?",${$ckpkhpobc});}}${${"\x47L\x4f\x42A\x4cS"}["\x66\x74\x6ein\x73s"]}=$this->getResource()->getReadConnection()->fetchAll($this->getSelect());${"G\x4c\x4f\x42AL\x53"}["m\x6c\x6d\x66g\x6c\x78"]="\x69t\x65m\x73";${${"GLO\x42\x41\x4c\x53"}["o\x65\x71yf\x6e\x63\x61\x68\x64"]}=array();foreach(${${"\x47\x4c\x4f\x42\x41LS"}["f\x74n\x69\x6e\x73\x73"]} as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6a\x6b\x77\x70\x72\x75x\x6c\x6f\x64ck"]}){$jvsvqtwtj="i\x74\x65\x6d";${"G\x4cOB\x41\x4c\x53"}["\x76\x6b\x6d\x64\x68f\x77\x76oc"]="\x69t\x65m";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6b\x68qx\x74\x74\x7a\x6c\x6f"]}=json_decode(${${"\x47\x4c\x4f\x42A\x4cS"}["j\x6b\x77\x70\x72\x75x\x6codck"]}["d\x61\x74a"],true);$coopfbwwc="\x69t\x65\x6ds";unset(${$jvsvqtwtj}["\x64at\x61"]);${"GL\x4f\x42\x41\x4c\x53"}["n\x70kg\x66p\x65\x66yt\x68"]="\x69\x74e\x6d";${${"\x47LOBA\x4c\x53"}["\x76\x6b\x6d\x64\x68\x66\x77\x76\x6f\x63"]}=array_merge(${${"G\x4c\x4fBA\x4cS"}["\x6ak\x77\x70\x72\x75\x78\x6c\x6f\x64\x63\x6b"]},${${"\x47\x4c\x4fBAL\x53"}["\x68kh\x71x\x74\x74zl\x6f"]});${$coopfbwwc}[${${"\x47\x4c\x4f\x42A\x4cS"}["n\x70k\x67f\x70\x65\x66\x79\x74\x68"]}["i\x74e\x6d_id"]]=${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x6b\x77\x70rux\x6c\x6fdc\x6b"]};}return${${"G\x4cOB\x41\x4c\x53"}["\x6dlm\x66\x67l\x78"]};}protected function _afterLoad(){foreach($this->_items as${${"GL\x4f\x42\x41\x4c\x53"}["jkw\x70\x72u\x78\x6c\x6f\x64\x63\x6b"]}){${"\x47LOB\x41\x4c\x53"}["h\x6cx\x6b\x76\x63\x67oui"]="\x69\x74\x65\x6d\x44\x61\x74\x61";${${"\x47\x4c\x4fB\x41\x4cS"}["\x68\x6c\x78kv\x63\x67\x6fu\x69"]}=json_decode(${${"\x47LOB\x41\x4cS"}["\x6a\x6b\x77\x70\x72\x75\x78\x6c\x6f\x64\x63\x6b"]}["\x64ata"],true);$xpdnhqccomm="it\x65\x6d";unset(${$xpdnhqccomm}["d\x61\x74\x61"]);$item->addData(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6bh\x71\x78t\x74z\x6c\x6f"]});}return parent::_afterLoad();}}
?>

Function Calls

None

Variables

None

Stats

MD5 4d66b5eb2e2b0a6c64868e071b87e266
Eval Count 0
Decode Time 84 ms