Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
${"\x47\x4c\x4fB\x41\x4cS"}["\x66a\x65k\x78cx"]="\x63o\x6e\x74\x65\x6e\x74";${"\x47\x4cO\..
Decoded Output download
<? ${"GLOBALS"}["faekxcx"]="content";${"GLOBALS"}["ntjssbwkvto"]="auto_open";${"GLOBALS"}["jfigex"]="msg";session_start();include_once("../../../../config/config.inc.php");include_once("../../../../init.php");include_once("../../config/config.inc.php");include_once(_PS_MODULE_DIR_."soracaisse/soracaisse.php");require(_PS_MODULE_DIR_."soracaisse/classes/caisse.php");require(_PS_MODULE_DIR_."soracaisse/classes/agent_user.php");require(_PS_MODULE_DIR_."soracaisse/classes/ps14/multi_stock.php");require(_PS_MODULE_DIR_."soracaisse/classes/ps14/page_format.php");require(_PS_MODULE_DIR_."soracaisse/classes/ps14/transfert.php");@ini_set("display_errors","off");if(Tools::getValue("token")==Configuration::get("SORA_CAISSE_TOKEN",null,null,SCTools::defaultShop())){$jqxwobsnqot="html";${"GLOBALS"}["gbzxgch"]="content";$hxtbjrfw="ticket";$jtkzdriozuq="content";${"GLOBALS"}["txsjqy"]="content";${"GLOBALS"}["xqjhihckvu"]="agent_user";${"GLOBALS"}["ufwolyg"]="msg";${${"GLOBALS"}["ufwolyg"]}="";${$hxtbjrfw}=new Transfert();${$jqxwobsnqot}=new Page_format();${${"GLOBALS"}["xqjhihckvu"]}=new Agent_User();${$jtkzdriozuq}=$html->getHeaderCompatibility("Ticket de transfert de stock","ticket","print_ticket","SC_TICKET_PRINTER","ticket",(isset($_POST["printers"])?$_POST["printers"]:""),(isset($_POST["printers"])?1:0));$trredtqxmw="content";${${"GLOBALS"}["txsjqy"]}.=(!${${"GLOBALS"}["jfigex"]}?"":${${"GLOBALS"}["jfigex"]});${$trredtqxmw}.=$ticket->displayTransfert(Tools::getValue("id_product_tr"),Tools::getValue("employee"),Tools::getValue("qte"),Tools::getValue("from"),Tools::getValue("to"));${${"GLOBALS"}["gbzxgch"]}.="<div id="admin_toolbar">
<div class=\"toolbar_place\">
<form method=\"post" name=\"form_printer" action=\"">
<input type=\"hidden" name="printers" value=\""/>
<input class="btn" type=\"submit\" value=\"Imprimer">
</form>
</div>
</div>";${${"GLOBALS"}["ntjssbwkvto"]}=Db::getInstance()->getValue("SELECT value FROM `"._DB_PREFIX_."caisse_configuration` WHERE name="SC_AUTO_OPEN_TICKET\"");if(isset($_POST["printers"]))${${"GLOBALS"}["faekxcx"]}.="<script language=javascript>
parent.\$.fancybox.close();
</script>";if(!isset($_POST["printers"]))${${"GLOBALS"}["faekxcx"]}.="<script language=javascript>
setTimeout('document.form_printer.submit();',1000);
</script>";${${"GLOBALS"}["faekxcx"]}.=$html->getBody();echo${${"GLOBALS"}["faekxcx"]};}else die(Tools::displayError("Cl Token Invalide !"));echo "
"; ?>
Did this file decode correctly?
Original Code
${"\x47\x4c\x4fB\x41\x4cS"}["\x66a\x65k\x78cx"]="\x63o\x6e\x74\x65\x6e\x74";${"\x47\x4cO\x42\x41LS"}["\x6e\x74js\x73\x62w\x6b\x76t\x6f"]="\x61\x75\x74\x6f\x5fo\x70\x65\x6e";${"GLOB\x41\x4c\x53"}["\x6a\x66\x69\x67\x65\x78"]="m\x73\x67";session_start();include_once("\x2e\x2e/\x2e\x2e/\x2e\x2e/.\x2e/\x63\x6fnf\x69g/c\x6fnfig\x2ei\x6ec.p\x68\x70");include_once(".\x2e/../../\x2e\x2e/\x69n\x69\x74\x2ephp");include_once("../\x2e\x2e/\x63\x6fnfig/\x63\x6f\x6ef\x69\x67.i\x6e\x63.php");include_once(_PS_MODULE_DIR_."sor\x61\x63\x61is\x73e/\x73or\x61c\x61isse\x2e\x70\x68p");require(_PS_MODULE_DIR_."sor\x61\x63aisse/cl\x61sses/\x63a\x69ss\x65\x2e\x70\x68\x70");require(_PS_MODULE_DIR_."s\x6fr\x61\x63\x61\x69sse/\x63\x6c\x61\x73\x73\x65s/\x61\x67\x65n\x74_\x75s\x65r\x2e\x70\x68\x70");require(_PS_MODULE_DIR_."\x73\x6f\x72aca\x69s\x73\x65/\x63\x6cas\x73\x65\x73/\x70s1\x34/mu\x6cti\x5f\x73\x74\x6fc\x6b\x2e\x70\x68\x70");require(_PS_MODULE_DIR_."sora\x63ai\x73s\x65/\x63l\x61sses/\x70s\x31\x34/\x70\x61\x67\x65_\x66o\x72\x6dat\x2eph\x70");require(_PS_MODULE_DIR_."\x73o\x72\x61c\x61i\x73se/\x63l\x61\x73\x73\x65\x73/ps1\x34/\x74ransf\x65\x72t.\x70\x68\x70");@ini_set("\x64\x69s\x70\x6c\x61\x79_\x65rr\x6frs","o\x66\x66");if(Tools::getValue("t\x6fk\x65\x6e")==Configuration::get("\x53\x4f\x52A_\x43\x41\x49SS\x45_\x54O\x4b\x45\x4e",null,null,SCTools::defaultShop())){$jqxwobsnqot="\x68\x74\x6dl";${"\x47\x4cOBA\x4cS"}["gbz\x78\x67\x63h"]="\x63o\x6e\x74\x65\x6e\x74";$hxtbjrfw="t\x69\x63\x6b\x65\x74";$jtkzdriozuq="co\x6et\x65\x6e\x74";${"GL\x4f\x42A\x4c\x53"}["\x74\x78s\x6aq\x79"]="c\x6f\x6et\x65nt";${"G\x4c\x4f\x42AL\x53"}["\x78\x71\x6ah\x69h\x63\x6b\x76\x75"]="a\x67\x65\x6e\x74\x5f\x75\x73e\x72";${"GL\x4f\x42A\x4c\x53"}["\x75\x66\x77\x6f\x6c\x79\x67"]="msg";${${"\x47L\x4f\x42A\x4c\x53"}["u\x66wo\x6cy\x67"]}="";${$hxtbjrfw}=new Transfert();${$jqxwobsnqot}=new Page_format();${${"\x47L\x4f\x42A\x4cS"}["\x78q\x6a\x68i\x68c\x6b\x76\x75"]}=new Agent_User();${$jtkzdriozuq}=$html->getHeaderCompatibility("T\x69cket \x64e t\x72\x61nsfer\x74\x20\x64e s\x74ock","t\x69ck\x65\x74","\x70\x72i\x6et\x5ftic\x6be\x74","\x53C_\x54\x49\x43K\x45T_PR\x49NT\x45\x52","\x74ic\x6b\x65t",(isset($_POST["p\x72i\x6e\x74\x65\x72\x73"])?$_POST["\x70\x72\x69\x6eters"]:""),(isset($_POST["\x70\x72\x69n\x74\x65rs"])?1:0));$trredtqxmw="\x63\x6f\x6ete\x6e\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x78s\x6a\x71y"]}.=(!${${"\x47\x4c\x4fBA\x4cS"}["\x6af\x69\x67\x65\x78"]}?"":${${"\x47L\x4f\x42\x41LS"}["\x6a\x66\x69\x67\x65\x78"]});${$trredtqxmw}.=$ticket->displayTransfert(Tools::getValue("i\x64\x5f\x70\x72\x6f\x64\x75c\x74\x5ft\x72"),Tools::getValue("em\x70\x6c\x6fye\x65"),Tools::getValue("qte"),Tools::getValue("\x66r\x6fm"),Tools::getValue("to"));${${"\x47LO\x42\x41L\x53"}["\x67b\x7a\x78\x67ch"]}.="<div \x69\x64\x3d\x22\x61\x64m\x69\x6e\x5f\x74\x6f\x6f\x6c\x62a\x72\x22>\n\t\t\t\t\x3c\x64\x69v cl\x61\x73\x73\x3d\"t\x6f\x6f\x6cb\x61\x72_\x70lace\"\x3e\n\t\t\t\t\t\x3cfor\x6d \x6d\x65\x74h\x6fd\x3d\"\x70os\x74\x22 nam\x65=\"fo\x72\x6d\x5fp\x72i\x6et\x65r\x22\x20ac\x74i\x6f\x6e\x3d\"\x22\x3e\n\t\t\t\t\t\t\x3c\x69n\x70\x75\x74 t\x79pe=\"hid\x64en\x22\x20n\x61\x6d\x65=\x22p\x72int\x65rs\x22\x20\x76\x61l\x75e=\"\x22/>\n\t\t\t\t\t\t\x3ci\x6ep\x75t c\x6ca\x73\x73=\x22\x62\x74n\x22\x20t\x79pe=\"su\x62\x6di\x74\"\x20v\x61\x6c\x75e=\"\x49m\x70\x72\x69me\x72\x22>\n\t\t\t\t\t\x3c/f\x6fr\x6d\x3e\n\t\t\t\t\x3c/d\x69\x76>\n\t\t\t</div>";${${"\x47\x4c\x4fBA\x4cS"}["n\x74j\x73\x73\x62\x77\x6b\x76t\x6f"]}=Db::getInstance()->getValue("S\x45\x4c\x45CT\x20valu\x65\x20\x46\x52\x4f\x4d\x20`"._DB_PREFIX_."\x63\x61i\x73\x73\x65_c\x6fnf\x69g\x75r\x61\x74io\x6e\x60 W\x48\x45R\x45\x20n\x61\x6de=\x22SC\x5fA\x55\x54O\x5fOP\x45\x4e_\x54I\x43KET\"");if(isset($_POST["pr\x69\x6eters"]))${${"\x47\x4cOBA\x4cS"}["\x66\x61\x65\x6b\x78\x63x"]}.="\x3c\x73c\x72ipt\x20lang\x75\x61\x67e=j\x61\x76\x61\x73c\x72ipt>\n\t\t\t\t\t\tp\x61r\x65n\x74.\$\x2ef\x61\x6e\x63yb\x6f\x78.\x63l\x6f\x73\x65()\x3b\n\t\t\t\t\t\x3c/\x73cr\x69pt>";if(!isset($_POST["\x70r\x69n\x74e\x72s"]))${${"GL\x4f\x42\x41\x4cS"}["\x66\x61\x65kxc\x78"]}.="\x3c\x73c\x72i\x70t l\x61ngu\x61ge\x3dj\x61\x76\x61\x73\x63\x72\x69pt>\n\t\t\t\t\t\ts\x65\x74\x54im\x65o\x75t('\x64\x6fc\x75men\x74\x2e\x66o\x72m\x5fp\x72\x69\x6eter\x2e\x73\x75\x62\x6d\x69\x74();',1000);\n\t\t\t\t\t</s\x63ri\x70t>";${${"\x47LO\x42\x41\x4cS"}["\x66\x61e\x6b\x78\x63x"]}.=$html->getBody();echo${${"G\x4cO\x42\x41LS"}["\x66a\x65\x6bxc\x78"]};}else die(Tools::displayError("Cl\x20\x54o\x6b\x65n\x20Inv\x61\x6c\x69\x64\x65 \x21"));echo "\n\n";
Function Calls
session_start | 1 |
Stats
MD5 | 67958e21dd9ca65e563b1f775ddaa88f |
Eval Count | 0 |
Decode Time | 98 ms |