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\x4cO\x42\x41LS"}["\x68w\x64b\x70\x6e\x6et\x64q"]="\x6e\x6f\x74i\x6es";${"\x4..

Decoded Output download

<?php ${"GLOBALS"}["hwdbpnntdq"]="notins";${"GLOBALS"}["ypfopnvgq"]="updatechamado";${"GLOBALS"}["izkszgce"]="verificausuario";${"GLOBALS"}["xepgyvmrfyt"]="chama";${"GLOBALS"}["kcejrkx"]="buscachamado";${"GLOBALS"}["rlwvcmonb"]="diretorio";${"GLOBALS"}["wmvwxybrfdb"]="msg";${"GLOBALS"}["chricgbk"]="chamado";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"}["xpcolresn"]="verificausuario";${${"GLOBALS"}["chricgbk"]}=$_POST["chamado"];${"GLOBALS"}["qfpekgibglk"]="chama";${"GLOBALS"}["ongxtxpff"]="buscachamado";${"GLOBALS"}["reiyukck"]="buscachamado";${${"GLOBALS"}["wmvwxybrfdb"]}=sql_injector($_POST["msg"]);${${"GLOBALS"}["rlwvcmonb"]}=$_POST["diretorio"];${${"GLOBALS"}["ongxtxpff"]}="SELECT * FROM chamados where id='".${${"GLOBALS"}["chricgbk"]}."'";${${"GLOBALS"}["kcejrkx"]}=$conn->prepare(${${"GLOBALS"}["reiyukck"]});$buscachamado->execute();if($buscachamado->rowCount()==0){${"GLOBALS"}["udoaahuuknq"]="diretorio";echo myalertuser("error","Nao encontrado !",${${"GLOBALS"}["udoaahuuknq"]});exit;}${"GLOBALS"}["bvuxedmallr"]="notins";$uabemoou="msg";${${"GLOBALS"}["xepgyvmrfyt"]}=$buscachamado->fetch();if(${${"GLOBALS"}["xepgyvmrfyt"]}["status"]=="encerrado"){${"GLOBALS"}["pybfhjltbr"]="diretorio";echo myalertuser("warnming","Resolvido !",${${"GLOBALS"}["pybfhjltbr"]});exit;}if(${${"GLOBALS"}["wmvwxybrfdb"]}<>""){$hfngeqwtg="msg";${${"GLOBALS"}["wmvwxybrfdb"]}=${$hfngeqwtg};}else{${"GLOBALS"}["uhzqzjubdu"]="chama";${"GLOBALS"}["wcfkqiz"]="msg";${${"GLOBALS"}["wcfkqiz"]}=${${"GLOBALS"}["uhzqzjubdu"]}["resposta"];}${${"GLOBALS"}["izkszgce"]}="SELECT * FROM usuario where id_usuario= '".${${"GLOBALS"}["xepgyvmrfyt"]}["usuario_id"]."'";${${"GLOBALS"}["izkszgce"]}=$conn->prepare(${${"GLOBALS"}["xpcolresn"]});$ocpfqtgxcdc="chama";$verificausuario->execute();if($buscachamado->rowCount()==0){echo myalertuser("error","Nao encontrado !",${${"GLOBALS"}["rlwvcmonb"]});exit;}$iubffb="diretorio";$ogsjvacuhls="chama";${${"GLOBALS"}["ypfopnvgq"]}="UPDATE chamados set status='encerrado', resposta='".${$uabemoou}."', data='".date("Y-m-d H:i:s")."' where id= '".${$ogsjvacuhls}["id"]."'";${${"GLOBALS"}["ypfopnvgq"]}=$conn->prepare(${${"GLOBALS"}["ypfopnvgq"]});$updatechamado->execute();${${"GLOBALS"}["wmvwxybrfdb"]}="O Seu Chamado de <b><small>N".${$ocpfqtgxcdc}["id"]."</small></b> Foi Encerrado pelo Administrador";${${"GLOBALS"}["bvuxedmallr"]}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${${"GLOBALS"}["qfpekgibglk"]}["usuario_id"]."','".date("Y-m-d H:i:s")."','chamados','Admin','".${${"GLOBALS"}["wmvwxybrfdb"]}."')";${${"GLOBALS"}["hwdbpnntdq"]}=$conn->prepare(${${"GLOBALS"}["hwdbpnntdq"]});$notins->execute();echo myalertuser("success","Encerrado com sucesso !",${$iubffb});} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42\x41LS"}["\x68w\x64b\x70\x6e\x6et\x64q"]="\x6e\x6f\x74i\x6es";${"\x47\x4c\x4f\x42A\x4c\x53"}["yp\x66\x6f\x70\x6e\x76\x67\x71"]="\x75\x70d\x61t\x65\x63\x68\x61\x6d\x61d\x6f";${"\x47\x4cOBA\x4cS"}["\x69z\x6bsz\x67\x63e"]="\x76\x65rific\x61\x75\x73\x75a\x72\x69\x6f";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78e\x70\x67\x79\x76m\x72\x66y\x74"]="c\x68a\x6da";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x63\x65\x6a\x72\x6b\x78"]="\x62\x75\x73\x63a\x63\x68\x61\x6d\x61\x64\x6f";${"\x47LO\x42A\x4c\x53"}["\x72\x6c\x77\x76\x63\x6d\x6f\x6e\x62"]="\x64i\x72\x65t\x6f\x72\x69\x6f";${"\x47L\x4f\x42A\x4c\x53"}["\x77\x6d\x76wx\x79\x62\x72\x66\x64b"]="m\x73g";${"\x47\x4c\x4fB\x41L\x53"}["\x63\x68\x72\x69\x63g\x62k"]="\x63\x68am\x61\x64o";require_once("\x2e./../.\x2e/\x70\x61g\x65\x73/\x73y\x73\x74\x65\x6d/\x73\x65\x67uran\x63\x61\x2ep\x68\x70");require_once("../.\x2e/\x2e./\x70a\x67\x65s/\x73y\x73\x74\x65m/\x63o\x6ef\x69\x67.\x70h\x70");require_once("\x2e\x2e/.\x2e/../\x70a\x67\x65s/sy\x73\x74\x65m/f\x75\x6ec\x6fe\x73\x2esy\x73\x74\x65m\x2e\x70\x68\x70");protegePagina("donoa\x64\x6din");if(isset($_POST["\x63hamad\x6f"])){${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x70\x63\x6f\x6c\x72\x65\x73n"]="v\x65\x72\x69\x66ic\x61\x75s\x75\x61\x72\x69\x6f";${${"G\x4cOBA\x4cS"}["\x63hric\x67b\x6b"]}=$_POST["c\x68\x61\x6d\x61d\x6f"];${"\x47L\x4f\x42\x41\x4c\x53"}["q\x66p\x65\x6b\x67\x69\x62g\x6ck"]="\x63\x68\x61m\x61";${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x6e\x67\x78t\x78p\x66\x66"]="\x62\x75sc\x61\x63\x68\x61m\x61\x64\x6f";${"\x47L\x4f\x42A\x4c\x53"}["\x72e\x69\x79u\x6bc\x6b"]="\x62\x75scach\x61\x6d\x61do";${${"G\x4c\x4f\x42\x41LS"}["w\x6d\x76w\x78\x79b\x72\x66\x64\x62"]}=sql_injector($_POST["\x6dsg"]);${${"\x47L\x4fB\x41\x4cS"}["r\x6c\x77v\x63\x6d\x6f\x6eb"]}=$_POST["di\x72e\x74\x6fr\x69\x6f"];${${"\x47\x4c\x4f\x42\x41\x4cS"}["o\x6e\x67\x78\x74\x78\x70f\x66"]}="\x53\x45L\x45C\x54 * F\x52\x4fM \x63\x68a\x6da\x64\x6f\x73\x20w\x68\x65re \x69\x64\x3d\x27".${${"G\x4c\x4f\x42AL\x53"}["\x63\x68ric\x67\x62k"]}."\x27";${${"\x47L\x4f\x42\x41L\x53"}["\x6b\x63\x65j\x72\x6b\x78"]}=$conn->prepare(${${"\x47\x4c\x4f\x42\x41\x4cS"}["r\x65\x69yu\x6b\x63\x6b"]});$buscachamado->execute();if($buscachamado->rowCount()==0){${"\x47\x4c\x4f\x42AL\x53"}["udo\x61\x61\x68uuk\x6e\x71"]="\x64\x69\x72\x65\x74or\x69\x6f";echo myalertuser("erro\x72","\x4eao\x20e\x6e\x63on\x74\x72\x61\x64\x6f\x20!",${${"\x47L\x4fBA\x4cS"}["\x75\x64\x6f\x61\x61h\x75\x75k\x6eq"]});exit;}${"\x47\x4c\x4fB\x41LS"}["\x62v\x75x\x65\x64\x6da\x6c\x6cr"]="\x6e\x6f\x74\x69\x6e\x73";$uabemoou="\x6d\x73\x67";${${"\x47\x4cO\x42\x41\x4c\x53"}["x\x65p\x67\x79vm\x72\x66\x79t"]}=$buscachamado->fetch();if(${${"\x47LO\x42AL\x53"}["\x78e\x70gy\x76\x6d\x72fy\x74"]}["\x73\x74a\x74\x75s"]=="e\x6e\x63errado"){${"GLO\x42\x41L\x53"}["py\x62\x66h\x6a\x6c\x74\x62\x72"]="\x64\x69ret\x6f\x72\x69\x6f";echo myalertuser("\x77\x61\x72\x6emi\x6eg","\x52esol\x76i\x64\x6f\x20!",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x70\x79\x62\x66h\x6a\x6c\x74\x62\x72"]});exit;}if(${${"\x47LO\x42\x41\x4cS"}["w\x6d\x76\x77\x78yb\x72\x66d\x62"]}<>""){$hfngeqwtg="m\x73\x67";${${"\x47L\x4fBAL\x53"}["w\x6d\x76w\x78\x79\x62\x72\x66d\x62"]}=${$hfngeqwtg};}else{${"GLOBA\x4cS"}["\x75h\x7a\x71zj\x75\x62d\x75"]="\x63h\x61\x6d\x61";${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x63\x66k\x71\x69\x7a"]="\x6d\x73\x67";${${"\x47\x4c\x4fB\x41\x4cS"}["w\x63\x66k\x71\x69z"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75h\x7aqz\x6a\x75\x62\x64u"]}["\x72e\x73po\x73ta"];}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x69z\x6b\x73zg\x63\x65"]}="SEL\x45CT\x20* \x46ROM \x75s\x75a\x72io\x20w\x68e\x72\x65\x20\x69\x64_\x75s\x75a\x72io=\x20\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x65\x70\x67\x79v\x6d\x72f\x79\x74"]}["usua\x72io_\x69d"]."\x27";${${"\x47L\x4fB\x41\x4cS"}["\x69\x7ak\x73\x7a\x67c\x65"]}=$conn->prepare(${${"GL\x4f\x42\x41\x4cS"}["\x78\x70\x63o\x6c\x72\x65\x73\x6e"]});$ocpfqtgxcdc="\x63h\x61\x6d\x61";$verificausuario->execute();if($buscachamado->rowCount()==0){echo myalertuser("\x65\x72\x72o\x72","Nao \x65nco\x6e\x74rado !",${${"\x47\x4cOB\x41L\x53"}["rlwv\x63m\x6fn\x62"]});exit;}$iubffb="\x64ir\x65\x74\x6f\x72\x69\x6f";$ogsjvacuhls="\x63h\x61\x6d\x61";${${"\x47L\x4f\x42AL\x53"}["y\x70fop\x6ev\x67q"]}="UP\x44\x41T\x45\x20ch\x61mados \x73\x65\x74 s\x74\x61\x74us=\x27\x65\x6e\x63\x65\x72\x72\x61\x64o\x27, r\x65\x73\x70o\x73ta='".${$uabemoou}."',\x20d\x61\x74a\x3d\x27".date("Y-m-d \x48:i:\x73")."' wh\x65re \x69d= \x27".${$ogsjvacuhls}["\x69d"]."\x27";${${"\x47L\x4f\x42A\x4c\x53"}["\x79\x70f\x6fp\x6ev\x67\x71"]}=$conn->prepare(${${"\x47LO\x42\x41LS"}["\x79pfo\x70\x6e\x76\x67q"]});$updatechamado->execute();${${"G\x4cO\x42\x41\x4c\x53"}["w\x6d\x76\x77x\x79\x62\x72\x66\x64\x62"]}="\x4f\x20Seu Ch\x61mado \x64e\x20<b\x3e<sma\x6c\x6c>N".${$ocpfqtgxcdc}["id"]."</\x73m\x61\x6c\x6c\x3e\x3c/\x62\x3e\x20Fo\x69 \x45\x6e\x63\x65r\x72a\x64\x6f\x20p\x65lo \x41\x64m\x69\x6e\x69st\x72\x61\x64o\x72";${${"\x47\x4c\x4f\x42ALS"}["\x62vux\x65\x64m\x61\x6c\x6cr"]}="IN\x53E\x52T I\x4eT\x4f \x6e\x6ft\x69\x66ica\x63\x6fe\x73\x20(\x75\x73\x75a\x72\x69\x6f_\x69\x64,\x64a\x74a,tip\x6f,li\x6ekfat\x75\x72\x61,m\x65ns\x61gem) \x76alues ('".${${"\x47LO\x42\x41\x4c\x53"}["\x71\x66p\x65\x6bg\x69\x62g\x6ck"]}["\x75su\x61\x72\x69\x6f\x5f\x69\x64"]."\x27,\x27".date("\x59-\x6d-\x64\x20\x48:i:\x73")."\x27,\x27\x63\x68\x61ma\x64\x6f\x73',\x27Adm\x69\x6e','".${${"G\x4c\x4fBA\x4cS"}["\x77\x6d\x76\x77\x78\x79\x62\x72\x66\x64\x62"]}."')";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68w\x64b\x70n\x6et\x64\x71"]}=$conn->prepare(${${"\x47\x4c\x4fB\x41LS"}["\x68\x77\x64bp\x6e\x6e\x74dq"]});$notins->execute();echo myalertuser("s\x75cc\x65ss","\x45n\x63e\x72r\x61do\x20\x63o\x6d \x73\x75\x63\x65\x73\x73\x6f\x20\x21",${$iubffb});}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'hwdbpnntdq', 'value': 'notins'}, {'key': 'ypfopnvgq', 'value': 'updatechamado'}, {'key': 'izkszgce', 'value': 'verificausuario'}, {'key': 'xepgyvmrfyt', 'value': 'chama'}, {'key': 'kcejrkx', 'value': 'buscachamado'}, {'key': 'rlwvcmonb', 'value': 'diretorio'}, {'key': 'wmvwxybrfdb', 'value': 'msg'}, {'key': 'chricgbk', 'value': 'chamado'}]

Stats

MD5 238a8a52f093149ec444c360c331e763
Eval Count 0
Decode Time 55 ms