27/03/2014, 06:37
|
| | Fecha de Ingreso: enero-2007
Mensajes: 24
Antigüedad: 17 años, 9 meses Puntos: 0 | |
Descifrar archivo php Buenos días,
Tengo que cambiar una sentencia de un archivo, de un prestashop, pero me he encontrado que esta el archivo cifrado, es de un modulo, alguien me podria ayudar a descifrarlo el archivo es el siguiente:
<?php
${"\x47\x4cOB\x41L\x53"}["e\x7ag\x64ba\x6d\x79\x6fq\x77\x6a"]="\x61\x70pr\x6f\x76\x65\x64";${"G\x4c\x4f\x42\x41 \x4c\x53"}["\x65m\x77e\x73\x68\x66\x6b\x7au\x78\x66"]="\x6c\x69\x73\x74sta\x74u\x73";${"\x47\x4cOB\x41\ x4cS"}["p\x6b\x77u\x6bm\x64\x6cy\x6e\x6e"]="\x69d\x5fo\x77ner";${"\x47\x4c\x4f\x42\x41\x4c\x 53"}["e\x72\x69w\x78\x62k\x76t\x72u"]="\x6c\x69\x73\x74\x6fp\x74i\x6fn";class ProductController extends ProductControllerCore{public function init(){global$smarty;parent::init();if(Module::isI nstalled("\x61gi\x6ceprice\x63o\x6dpari\x73on")){$ gpytfogjtkuf="\x48\x4f\x4fK\x5f\x41\x47\x49\x4c\x4 5\x5f\x50\x52\x49CE\x5fC\x4f\x4d\x50AR\x49S\x4f\x4 e";${$gpytfogjtkuf}="";${"\x47\x4c\x4f\x42\x41L S"}["\x6d\x6ep\x68\x75ik"]="\x48OOK\x5f\x41\x47IL\x45\x5f\x50\x52IC\x45\x5f\ x43\x4fM\x50\x41\x52IS\x4f\x4e";if(!intval(Configu ration::get("A\x47ILE_P\x43_\x55\x53E\x5fD\x45\x46 \x41\x55LT\x5fH\x4fOK")))${${"\x47L\x4f\x42\x41\x4 c\x53"}["\x6dnph\x75\x69\x6b"]}=Module::hookExec("ag\x69lepr\x69\x63\x65c\x6f\x6 d\x70ar\x69\x73o\x6e",array());${"GL\x4f\x42\x41L\ x53"}["q\x79\x75\x62yf\x75\x6a\x74"]="H\x4fOK\x5f\x41\x47I\x4cE\x5f\x50\x52ICE\x5f\x43 OM\x50\x41\x52I\x53\x4f\x4e";$smarty->assign(array("\x48\x4f\x4f\x4b\x5fAG\x49\x4cE_\x5 0\x52\x49C\x45_C\x4fMPAR\x49S\x4f\x4e"=>${${"G\x4c OB\x41L\x53"}["qy\x75\x62\x79\x66\x75\x6at"]}));}}public function preProcess(){if(!$this->listAllowed()){$this->errors[]=Tools::displayError("\x41\x6e \x65\x72\x72\x6fr \x6fcc\x75\x72\x72\x65\x64 \x77\x68i\x6c\x65\x20r\x65t\x72ievin\x67\x20\x74\x 68e\x20pro\x64u\x63t\x20\x69\x6e\x66\x72\x6fm\x61i \x74o\x6e");}parent::preProcess();}public function initContent(){if(!$this->listAllowed()){$this->errors[]=Tools::displayError("\x41n e\x72\x72\x6fr\x20occu\x72red \x77\x68\x69\x6ce \x72\x65trie\x76\x69\x6e\x67\x20t\x68e\x20\x70\x72 odu\x63\x74 in\x66\x72\x6fma\x69\x74\x6fn");}parent::initConte nt();}private function listAllowed(){if(Module::isInstalled("\x61\x67\x69 \x6cemult\x69\x70\x6cese\x6c\x6cer")){include_once (_PS_ROOT_DIR_."/\x6d\x6fd\x75\x6ce\x73/a\x67\x69l\x65\x6d\x75\x6ct\x69\x70l\x65\x73\x65l\ x6c\x65\x72/\x61\x67\x69\x6cemult\x69\x70lese\x6cl\x65r.p\x68p ");include_once(_PS_ROOT_DIR_."/\x6d\x6fdules/agil\x65\x6d\x75lti\x70les\x65\x6cl\x65r/S\x65\x6c\x6c\x65\x72I\x6e\x66o\x2e\x70\x68p");${$ {"\x47L\x4fB\x41\x4cS"}["p\x6bw\x75\x6bmd\x6c\x79n\x6e"]}=AgileSellerManager::getObjectOwnerID("pr\x6fd\x7 5\x63t",Tools::getValue("\x69d_p\x72\x6f\x64\x75\x 63\x74"));if(${${"\x47\x4c\x4fBA\x4cS"}["\x70\x6bw\x75\x6bm\x64\x6cy\x6en"]}>0){if(intval(Configuration::get("\x41\x47I\x4c\x 45\x5fM\x53\x5f\x50R\x4f\x44\x55CT\x5fA\x50P\x52\x 4f\x56\x41L"))==1){${${"GLO\x42\x41\x4c\x53"}["e\x7a\x67dba\x6d\x79\x6f\x71\x77j"]}=AgileMultipleSeller::is_list_approved(Tools::get Value("\x69\x64\x5fpr\x6fd\x75c\x74"));if(${${"G\x 4c\x4fBA\x4cS"}["\x65z\x67\x64b\x61\x6dy\x6fqw\x6a"]}!=1)return false;}if(Module::isInstalled("\x61\x67i\x6ce\x73e \x6c\x6c\x65\x72\x6cis\x74\x6fp\x74\x69ons")){${"G \x4cO\x42\x41\x4c\x53"}["\x79\x73\x71\x62\x72\x6c\x72\x6alg"]="\x6ci\x73\x74o\x70t\x69\x6f\x6e";include_once(_P S_ROOT_DIR_."/\x6dod\x75\x6ces/agiles\x65\x6cler\x6c\x69\x73to\x70tions/a\x67\x69l\x65\x73e\x6c\x6cer\x6ci\x73\x74\x6fp\x7 4\x69o\x6es.\x70hp");${${"G\x4c\x4f\x42\x41LS"}["\x79sq\x62r\x6cr\x6a\x6cg"]}=AgileSellerListOptions::get_product_list_option( Tools::getValue("id_p\x72odu\x63t"),AgileSellerLis tOptions::ASLO_OPTION_LIST);${${"\x47\x4c\x4f\x42\ x41LS"}["\x65m\x77\x65\x73\x68f\x6b\x7a\x75x\x66"]}=intval(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x72i\x77x\x62\x6b\x76\x74\x72\x75"]}["\x73t\x61\x74us"]);if(${${"\x47\x4c\x4f\x42\x41L\x53"}["e\x6d\x77\x65\x73\x68f\x6b\x7au\x78\x66"]}!=AgileSellerListOptions::ASLO_STATUS_IN_EFFECT)r eturn false;}}}return true;}}
?> |