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\x4fBA\x4cS"}["\x79\x72\x72\x68\x6af\x62\x69\x6b\x74"]="\x6e\x6fti\x6e\x7..
Decoded Output download
<?php ${"GLOBALS"}["yrrhjfbikt"]="notins";${"GLOBALS"}["hrebtgcbi"]="updatechamado";${"GLOBALS"}["hsmmqlx"]="msg";${"GLOBALS"}["igdahkq"]="verificausuario";${"GLOBALS"}["dyfncvlxe"]="chama";${"GLOBALS"}["sljbvzxlkoj"]="diretorio";${"GLOBALS"}["rnwxcffon"]="buscachamado";require_once("../../../pages/system/seguranca.php");require_once("../../../pages/system/config.php");require_once("../../../pages/system/funcoes.system.php");protegePagina("donoadmin");if(isset($_POST["chamado"])){${"GLOBALS"}["tropcwjdd"]="chamado";${"GLOBALS"}["iyljmf"]="chama";$rmmmllgyod="msg";$ntwmxia="chamado";$kjjthbxf="chama";$lxcuykysx="diretorio";${${"GLOBALS"}["tropcwjdd"]}=$_POST["chamado"];$zywwkqf="notins";${"GLOBALS"}["scffsgpfkrb"]="updatechamado";$xsrodmnmglkb="buscachamado";$ytfnbqwzjrry="verificausuario";${"GLOBALS"}["wtrkvsz"]="buscachamado";${$rmmmllgyod}=sql_injector($_POST["msg"]);${$lxcuykysx}=$_POST["diretorio"];${"GLOBALS"}["wfxdwkqib"]="diretorio";${$xsrodmnmglkb}="SELECT * FROM chamados where id='".${$ntwmxia}."'";${${"GLOBALS"}["rnwxcffon"]}=$conn->prepare(${${"GLOBALS"}["wtrkvsz"]});${"GLOBALS"}["mxxwyoz"]="verificausuario";$buscachamado->execute();if($buscachamado->rowCount()==0){echo myalertuser("error","Nao encontrado !",${${"GLOBALS"}["sljbvzxlkoj"]});exit;}${"GLOBALS"}["ibkeeurzkqwj"]="msg";${${"GLOBALS"}["dyfncvlxe"]}=$buscachamado->fetch();${"GLOBALS"}["pgcfswleut"]="chama";if(${${"GLOBALS"}["dyfncvlxe"]}["status"]=="encerrado"){${"GLOBALS"}["hohbqicmck"]="diretorio";echo myalertuser("warning","Ja resolvido !",${${"GLOBALS"}["hohbqicmck"]});exit;}${${"GLOBALS"}["igdahkq"]}="SELECT * FROM usuario where id_usuario= '".${$kjjthbxf}["usuario_id"]."'";${$ytfnbqwzjrry}=$conn->prepare(${${"GLOBALS"}["mxxwyoz"]});$verificausuario->execute();$snipwmhyav="msg";if($buscachamado->rowCount()==0){${"GLOBALS"}["hqigaojyqyv"]="diretorio";echo myalertuser("error","Nao encontrado !",${${"GLOBALS"}["hqigaojyqyv"]});exit;}${"GLOBALS"}["qlkthbhje"]="updatechamado";${${"GLOBALS"}["scffsgpfkrb"]}="UPDATE chamados set status='resposta', resposta='".${${"GLOBALS"}["hsmmqlx"]}."', data='".date("Y-m-d H:i:s")."' where id= '".${${"GLOBALS"}["iyljmf"]}["id"]."'";${${"GLOBALS"}["qlkthbhje"]}=$conn->prepare(${${"GLOBALS"}["hrebtgcbi"]});$updatechamado->execute();${$snipwmhyav}="O Seu Chamado de <b><small>N".${${"GLOBALS"}["dyfncvlxe"]}["id"]."</small></b> Foi Respondido pelo Administrador";${${"GLOBALS"}["yrrhjfbikt"]}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${${"GLOBALS"}["pgcfswleut"]}["usuario_id"]."','".date("Y-m-d H:i:s")."','chamados','Admin','".${${"GLOBALS"}["ibkeeurzkqwj"]}."')";${${"GLOBALS"}["yrrhjfbikt"]}=$conn->prepare(${$zywwkqf});$notins->execute();echo myalertuser("success","Respondido com sucesso !",${${"GLOBALS"}["wfxdwkqib"]});}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4c\x4fBA\x4cS"}["\x79\x72\x72\x68\x6af\x62\x69\x6b\x74"]="\x6e\x6fti\x6e\x73";${"GLOB\x41\x4cS"}["\x68re\x62\x74g\x63\x62\x69"]="\x75p\x64\x61tec\x68a\x6d\x61do";${"\x47\x4cO\x42\x41\x4cS"}["hsm\x6d\x71l\x78"]="\x6ds\x67";${"G\x4cOB\x41\x4cS"}["\x69\x67\x64\x61\x68kq"]="\x76e\x72i\x66ic\x61u\x73\x75\x61r\x69o";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x79f\x6ecvl\x78\x65"]="\x63\x68\x61\x6d\x61";${"GL\x4fBALS"}["\x73\x6c\x6a\x62\x76z\x78\x6ck\x6f\x6a"]="d\x69\x72e\x74o\x72io";${"\x47\x4c\x4f\x42\x41L\x53"}["rn\x77\x78\x63\x66\x66\x6fn"]="\x62\x75s\x63\x61\x63\x68\x61\x6da\x64\x6f";require_once("\x2e./\x2e./../\x70\x61ges/sy\x73\x74\x65m/\x73egu\x72\x61\x6eca.p\x68p");require_once("\x2e\x2e/\x2e\x2e/.\x2e/p\x61\x67es/system/c\x6fn\x66ig.\x70\x68p");require_once("\x2e./.\x2e/\x2e./\x70ag\x65\x73/sy\x73\x74em/fu\x6ec\x6fe\x73.sy\x73\x74em.\x70h\x70");protegePagina("\x64\x6f\x6eo\x61\x64\x6d\x69n");if(isset($_POST["\x63\x68a\x6dad\x6f"])){${"G\x4c\x4fB\x41L\x53"}["t\x72\x6f\x70\x63\x77\x6a\x64\x64"]="\x63\x68a\x6d\x61\x64\x6f";${"GLO\x42A\x4c\x53"}["i\x79lj\x6d\x66"]="\x63\x68\x61\x6d\x61";$rmmmllgyod="\x6d\x73g";$ntwmxia="\x63h\x61\x6d\x61d\x6f";$kjjthbxf="\x63h\x61\x6da";$lxcuykysx="\x64\x69\x72\x65\x74or\x69\x6f";${${"\x47\x4c\x4fB\x41LS"}["tr\x6fp\x63\x77jd\x64"]}=$_POST["c\x68a\x6da\x64o"];$zywwkqf="\x6e\x6f\x74in\x73";${"\x47\x4cO\x42\x41L\x53"}["\x73\x63\x66\x66sg\x70f\x6brb"]="up\x64\x61\x74ec\x68\x61\x6d\x61\x64\x6f";$xsrodmnmglkb="\x62\x75\x73\x63\x61\x63ham\x61\x64\x6f";$ytfnbqwzjrry="\x76\x65\x72\x69\x66\x69\x63\x61\x75\x73u\x61ri\x6f";${"G\x4cO\x42A\x4c\x53"}["\x77\x74r\x6bv\x73\x7a"]="b\x75\x73c\x61\x63h\x61m\x61\x64o";${$rmmmllgyod}=sql_injector($_POST["\x6dsg"]);${$lxcuykysx}=$_POST["\x64\x69\x72e\x74\x6f\x72io"];${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x66xd\x77\x6bq\x69\x62"]="d\x69\x72e\x74\x6f\x72\x69\x6f";${$xsrodmnmglkb}="\x53\x45\x4c\x45CT\x20*\x20FROM c\x68\x61m\x61\x64\x6fs \x77her\x65\x20id\x3d\x27".${$ntwmxia}."\x27";${${"G\x4c\x4f\x42AL\x53"}["\x72\x6e\x77x\x63\x66\x66o\x6e"]}=$conn->prepare(${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x74rk\x76sz"]});${"\x47\x4c\x4f\x42\x41\x4cS"}["m\x78\x78wyoz"]="\x76\x65\x72\x69\x66\x69\x63\x61u\x73\x75a\x72io";$buscachamado->execute();if($buscachamado->rowCount()==0){echo myalertuser("\x65\x72\x72\x6fr","\x4ea\x6f \x65ncont\x72\x61\x64\x6f \x21",${${"\x47\x4c\x4fBAL\x53"}["sl\x6a\x62v\x7a\x78\x6ckoj"]});exit;}${"\x47\x4c\x4fB\x41\x4cS"}["ib\x6be\x65\x75\x72zkqwj"]="m\x73\x67";${${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x79\x66\x6e\x63\x76\x6cxe"]}=$buscachamado->fetch();${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x67c\x66\x73\x77\x6c\x65u\x74"]="\x63h\x61\x6d\x61";if(${${"\x47\x4c\x4fBAL\x53"}["\x64\x79\x66\x6e\x63\x76\x6c\x78e"]}["st\x61tu\x73"]=="\x65nc\x65\x72\x72\x61\x64\x6f"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6f\x68\x62\x71ic\x6d\x63k"]="di\x72\x65t\x6f\x72\x69o";echo myalertuser("w\x61r\x6e\x69ng","Ja r\x65\x73\x6f\x6cv\x69do !",${${"\x47\x4cO\x42\x41LS"}["h\x6f\x68\x62\x71i\x63\x6d\x63\x6b"]});exit;}${${"\x47\x4cO\x42A\x4c\x53"}["\x69\x67\x64\x61h\x6b\x71"]}="SEL\x45\x43T *\x20F\x52O\x4d\x20us\x75a\x72\x69\x6f\x20wh\x65\x72\x65\x20i\x64_u\x73\x75a\x72i\x6f\x3d\x20'".${$kjjthbxf}["u\x73u\x61rio_id"]."\x27";${$ytfnbqwzjrry}=$conn->prepare(${${"\x47L\x4fB\x41\x4c\x53"}["m\x78\x78\x77yo\x7a"]});$verificausuario->execute();$snipwmhyav="\x6d\x73g";if($buscachamado->rowCount()==0){${"G\x4c\x4f\x42ALS"}["h\x71i\x67\x61\x6f\x6a\x79q\x79\x76"]="\x64\x69\x72\x65\x74orio";echo myalertuser("\x65r\x72or","Nao \x65n\x63o\x6e\x74\x72a\x64o !",${${"\x47L\x4fB\x41LS"}["\x68qig\x61ojyq\x79\x76"]});exit;}${"\x47\x4c\x4fBAL\x53"}["\x71l\x6b\x74\x68\x62h\x6ae"]="\x75\x70d\x61te\x63h\x61\x6d\x61d\x6f";${${"\x47\x4c\x4fBA\x4cS"}["\x73\x63\x66\x66\x73g\x70\x66\x6b\x72\x62"]}="\x55\x50\x44\x41\x54\x45\x20\x63\x68a\x6d\x61dos set\x20st\x61\x74u\x73=\x27\x72e\x73p\x6fs\x74\x61',\x20\x72esp\x6fs\x74a\x3d\x27".${${"G\x4c\x4f\x42A\x4c\x53"}["\x68\x73\x6d\x6d\x71\x6cx"]}."',\x20data='".date("Y-m-\x64\x20\x48:i:\x73")."\x27 \x77h\x65re\x20\x69\x64\x3d \x27".${${"G\x4c\x4f\x42A\x4cS"}["\x69\x79\x6c\x6am\x66"]}["id"]."'";${${"G\x4cOB\x41LS"}["\x71\x6c\x6b\x74hb\x68j\x65"]}=$conn->prepare(${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x72ebt\x67\x63\x62i"]});$updatechamado->execute();${$snipwmhyav}="\x4f S\x65u\x20C\x68\x61\x6d\x61do\x20\x64\x65 <b>\x3c\x73mall>N".${${"\x47LOBA\x4c\x53"}["\x64y\x66\x6ec\x76l\x78e"]}["\x69d"]."\x3c/small></\x62> \x46\x6f\x69 R\x65sp\x6f\x6e\x64i\x64\x6f\x20pelo\x20A\x64m\x69\x6eis\x74\x72\x61dor";${${"\x47\x4cO\x42ALS"}["y\x72rh\x6af\x62i\x6b\x74"]}="IN\x53E\x52T IN\x54\x4f\x20\x6e\x6ft\x69fi\x63\x61\x63o\x65s (usua\x72i\x6f\x5fid,\x64a\x74a,\x74\x69\x70o,li\x6e\x6b\x66atura,me\x6e\x73\x61gem) \x76\x61\x6c\x75e\x73 ('".${${"G\x4cO\x42\x41\x4c\x53"}["\x70\x67cf\x73\x77l\x65\x75\x74"]}["usuari\x6f\x5f\x69d"]."\x27,'".date("\x59-m-\x64 H:\x69:\x73")."\x27,\x27\x63ha\x6da\x64os\x27,'A\x64mi\x6e\x27,\x27".${${"\x47\x4c\x4fB\x41L\x53"}["i\x62\x6b\x65\x65\x75rzk\x71w\x6a"]}."')";${${"\x47LO\x42\x41\x4c\x53"}["y\x72\x72h\x6af\x62\x69\x6bt"]}=$conn->prepare(${$zywwkqf});$notins->execute();echo myalertuser("\x73u\x63ce\x73s","Respo\x6ed\x69\x64o\x20\x63\x6f\x6d \x73u\x63e\x73s\x6f\x20!",${${"G\x4c\x4f\x42\x41\x4cS"}["w\x66xd\x77k\x71\x69\x62"]});}
?>
Function Calls
None |
Stats
MD5 | cf20b8769e18e85f5d98d512f97595d2 |
Eval Count | 0 |
Decode Time | 59 ms |