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 ${"\x47LO\x42\x41LS"}["\x79x\x77\x63d\x71\x67djk\x6c"]="n\x6f\x74\x69\x6es";${"\x47\..

Decoded Output download

<?php ${"GLOBALS"}["yxwcdqgdjkl"]="notins";${"GLOBALS"}["scntrlcnwly"]="usuario";${"GLOBALS"}["ykogkoxw"]="msg";${"GLOBALS"}["dwfjpstvlenw"]="updatechamado";${"GLOBALS"}["scmnbo"]="chama";${"GLOBALS"}["rtvyadvs"]="buscachamado";${"GLOBALS"}["lhdmutjte"]="diretorio";${"GLOBALS"}["gxiushpckw"]="chamado";require_once("../../pages/system/seguranca.php");require_once("../../pages/system/config.php");require_once("../../pages/system/funcoes.php");require_once("../../pages/system/classe.ssh.php");require_once("../../pages/system/funcoes.system.php");protegePagina("user");if(isset($_POST["chamado"])){$gpmulrwhvnt="chama";${"GLOBALS"}["hcxnyrmxpzn"]="usuario";$ejlebwgdg="verificausuario";${${"GLOBALS"}["gxiushpckw"]}=$_POST["chamado"];$ddzvejhq="chama";$lydpdw="verificausuario";$pyjcmm="chamado";${${"GLOBALS"}["lhdmutjte"]}=$_POST["diretorio"];${"GLOBALS"}["rkoxjmlnvrs"]="buscachamado";$vcvmwk="updatechamado";${${"GLOBALS"}["rtvyadvs"]}="SELECT * FROM chamados where id='".${$pyjcmm}."' and usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["rtvyadvs"]}=$conn->prepare(${${"GLOBALS"}["rkoxjmlnvrs"]});$jjhcciyrezl="notins";$buscachamado->execute();if($buscachamado->rowCount()==0){echo"<script type=\"text/javascript">";$bcscqucgrp="diretorio";echo"alert("Chamado no encontrado!\");";echo"window.location=\"".${$bcscqucgrp}."";";echo"</script>";exit;}${$ddzvejhq}=$buscachamado->fetch();if(${${"GLOBALS"}["scmnbo"]}["status"]=="encerrado"){${"GLOBALS"}["lihwirdvco"]="diretorio";echo myalertuser("success","Encerrado com sucesso !",${${"GLOBALS"}["lihwirdvco"]});exit;}$lwlxbwef="diretorio";$ylxlurtxpnf="updatechamado";${$vcvmwk}="UPDATE chamados set status='encerrado', data='".date("Y-m-d H:i:s")."' where id= '".${$gpmulrwhvnt}["id"]."'";${${"GLOBALS"}["dwfjpstvlenw"]}=$conn->prepare(${$ylxlurtxpnf});$ggwlct="verificausuario";$updatechamado->execute();${$ejlebwgdg}="SELECT * FROM usuario where id_usuario= '".$_SESSION["usuarioID"]."'";${$ggwlct}=$conn->prepare(${$lydpdw});$fwegpdkbbf="notins";$verificausuario->execute();${${"GLOBALS"}["hcxnyrmxpzn"]}=$verificausuario->fetch();${${"GLOBALS"}["ykogkoxw"]}="O Usurio ".${${"GLOBALS"}["scntrlcnwly"]}["nome"]." Acabou de Encerrar o Chamado N".${${"GLOBALS"}["scmnbo"]}["id"]." de Suporte no precisa mais resolver!";${$jjhcciyrezl}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem,admin) values ('0','".date("Y-m-d H:i:s")."','chamados','Admin','".${${"GLOBALS"}["ykogkoxw"]}."','sim')";${${"GLOBALS"}["yxwcdqgdjkl"]}=$conn->prepare(${$fwegpdkbbf});$notins->execute();echo myalertuser("success","Encerrado com sucesso !",${$lwlxbwef});} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47LO\x42\x41LS"}["\x79x\x77\x63d\x71\x67djk\x6c"]="n\x6f\x74\x69\x6es";${"\x47\x4cOB\x41\x4cS"}["\x73\x63n\x74\x72\x6ccn\x77\x6c\x79"]="\x75\x73u\x61\x72\x69o";${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x6b\x6f\x67\x6b\x6f\x78\x77"]="m\x73g";${"\x47\x4cOBA\x4c\x53"}["\x64w\x66jp\x73\x74v\x6c\x65\x6ew"]="u\x70\x64\x61\x74e\x63\x68\x61mad\x6f";${"G\x4cO\x42ALS"}["s\x63\x6dnb\x6f"]="\x63\x68\x61\x6d\x61";${"GL\x4f\x42\x41\x4cS"}["\x72\x74v\x79\x61\x64\x76s"]="bus\x63\x61\x63\x68\x61\x6d\x61d\x6f";${"\x47LOB\x41\x4c\x53"}["\x6chdm\x75tj\x74e"]="d\x69\x72\x65\x74\x6f\x72\x69o";${"\x47LO\x42\x41L\x53"}["\x67\x78ius\x68\x70ck\x77"]="\x63ha\x6d\x61\x64\x6f";require_once("\x2e./.\x2e/p\x61\x67\x65s/\x73y\x73te\x6d/\x73e\x67u\x72\x61\x6eca\x2ephp");require_once("../../\x70\x61\x67e\x73/\x73\x79\x73\x74\x65\x6d/\x63on\x66i\x67\x2ep\x68\x70");require_once("\x2e\x2e/../p\x61\x67e\x73/syst\x65m/fun\x63\x6f\x65s\x2e\x70\x68p");require_once("\x2e./\x2e\x2e/pa\x67es/sy\x73tem/cla\x73se.ssh.ph\x70");require_once("../\x2e\x2e/pa\x67es/s\x79st\x65m/\x66\x75\x6ec\x6fes.syste\x6d\x2ephp");protegePagina("\x75s\x65r");if(isset($_POST["ch\x61ma\x64\x6f"])){$gpmulrwhvnt="\x63\x68\x61\x6d\x61";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x63x\x6e\x79\x72\x6dxp\x7a\x6e"]="\x75\x73u\x61\x72i\x6f";$ejlebwgdg="\x76\x65\x72\x69\x66\x69c\x61\x75\x73\x75a\x72\x69\x6f";${${"\x47L\x4fBA\x4c\x53"}["\x67x\x69\x75sh\x70\x63\x6bw"]}=$_POST["\x63\x68\x61m\x61\x64\x6f"];$ddzvejhq="\x63\x68am\x61";$lydpdw="v\x65ri\x66\x69caus\x75\x61ri\x6f";$pyjcmm="\x63h\x61m\x61do";${${"GLOB\x41\x4c\x53"}["\x6c\x68\x64\x6d\x75tjte"]}=$_POST["di\x72e\x74\x6fri\x6f"];${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x6b\x6f\x78\x6a\x6dln\x76\x72s"]="\x62us\x63\x61\x63ha\x6d\x61d\x6f";$vcvmwk="\x75\x70\x64a\x74\x65\x63\x68a\x6d\x61d\x6f";${${"GL\x4fB\x41L\x53"}["r\x74\x76y\x61\x64v\x73"]}="S\x45LE\x43T * F\x52\x4f\x4d c\x68\x61ma\x64\x6f\x73\x20\x77here\x20id='".${$pyjcmm}."\x27\x20\x61nd usua\x72io_\x69d=\x27".$_SESSION["us\x75a\x72io\x49D"]."\x27";${${"G\x4c\x4f\x42A\x4c\x53"}["r\x74\x76y\x61\x64\x76s"]}=$conn->prepare(${${"\x47L\x4fBA\x4c\x53"}["\x72kox\x6a\x6d\x6c\x6evr\x73"]});$jjhcciyrezl="\x6eo\x74\x69n\x73";$buscachamado->execute();if($buscachamado->rowCount()==0){echo"\x3c\x73c\x72ip\x74\x20t\x79\x70e=\"\x74ex\x74/\x6a\x61\x76a\x73c\x72\x69\x70\x74\x22>";$bcscqucgrp="\x64\x69\x72\x65\x74\x6fri\x6f";echo"al\x65\x72t(\x22Cha\x6d\x61do\x20no\x20e\x6ec\x6fntrado!\")\x3b";echo"w\x69ndow\x2e\x6cocat\x69o\x6e=\"".${$bcscqucgrp}."\x22;";echo"\x3c/\x73c\x72\x69pt>";exit;}${$ddzvejhq}=$buscachamado->fetch();if(${${"\x47L\x4fB\x41LS"}["\x73c\x6d\x6e\x62\x6f"]}["\x73\x74at\x75s"]=="\x65nc\x65\x72r\x61d\x6f"){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cih\x77\x69\x72\x64\x76\x63\x6f"]="\x64\x69\x72\x65\x74\x6f\x72\x69\x6f";echo myalertuser("\x73\x75c\x63e\x73s","E\x6e\x63e\x72\x72\x61d\x6f\x20\x63o\x6d\x20suces\x73\x6f\x20!",${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6cih\x77\x69\x72d\x76\x63o"]});exit;}$lwlxbwef="\x64\x69\x72\x65\x74o\x72io";$ylxlurtxpnf="up\x64a\x74e\x63\x68\x61\x6da\x64\x6f";${$vcvmwk}="\x55\x50\x44\x41\x54E\x20\x63\x68a\x6d\x61d\x6f\x73\x20\x73\x65\x74 status=\x27encerra\x64o\x27,\x20da\x74a\x3d'".date("Y-m-\x64\x20H:i:\x73")."' w\x68\x65\x72\x65\x20id=\x20'".${$gpmulrwhvnt}["\x69d"]."\x27";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64w\x66\x6a\x70st\x76l\x65\x6ew"]}=$conn->prepare(${$ylxlurtxpnf});$ggwlct="v\x65r\x69f\x69c\x61\x75\x73\x75\x61\x72\x69\x6f";$updatechamado->execute();${$ejlebwgdg}="\x53\x45LE\x43T * F\x52\x4fM \x75s\x75\x61ri\x6f\x20\x77h\x65\x72e id_usua\x72i\x6f=\x20'".$_SESSION["u\x73\x75\x61r\x69\x6f\x49\x44"]."'";${$ggwlct}=$conn->prepare(${$lydpdw});$fwegpdkbbf="n\x6f\x74i\x6e\x73";$verificausuario->execute();${${"G\x4c\x4fB\x41L\x53"}["h\x63\x78\x6ey\x72\x6d\x78\x70z\x6e"]}=$verificausuario->fetch();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x79\x6b\x6f\x67\x6b\x6fxw"]}="\x4f\x20U\x73u\x72i\x6f\x20".${${"\x47L\x4f\x42A\x4cS"}["\x73\x63\x6e\x74r\x6c\x63n\x77ly"]}["\x6eo\x6de"]." Ac\x61\x62o\x75\x20\x64\x65 E\x6e\x63er\x72\x61\x72 \x6f\x20Cha\x6d\x61d\x6f \x4e".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x63\x6dn\x62\x6f"]}["\x69\x64"]."\x20de\x20\x53\x75\x70\x6f\x72te no \x70\x72e\x63isa \x6d\x61is \x72es\x6fl\x76\x65r!";${$jjhcciyrezl}="IN\x53\x45RT\x20\x49\x4e\x54O \x6e\x6ft\x69\x66\x69\x63aco\x65\x73\x20(\x75s\x75\x61rio\x5fid,\x64at\x61,tip\x6f,\x6c\x69n\x6bf\x61\x74\x75\x72\x61,\x6den\x73a\x67\x65\x6d,\x61\x64min) v\x61l\x75\x65s\x20('0',\x27".date("Y-m-d H:\x69:\x73")."',\x27\x63\x68\x61ma\x64o\x73\x27,\x27A\x64\x6d\x69n',\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79k\x6f\x67\x6b\x6f\x78\x77"]}."',\x27s\x69m\x27)";${${"G\x4cO\x42\x41\x4c\x53"}["\x79x\x77\x63\x64\x71\x67dj\x6b\x6c"]}=$conn->prepare(${$fwegpdkbbf});$notins->execute();echo myalertuser("s\x75c\x63\x65\x73\x73","E\x6e\x63\x65rra\x64\x6f \x63o\x6d\x20s\x75\x63es\x73o\x20!",${$lwlxbwef});}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'yxwcdqgdjkl', 'value': 'notins'}, {'key': 'scntrlcnwly', 'value': 'usuario'}, {'key': 'ykogkoxw', 'value': 'msg'}, {'key': 'dwfjpstvlenw', 'value': 'updatechamado'}, {'key': 'scmnbo', 'value': 'chama'}, {'key': 'rtvyadvs', 'value': 'buscachamado'}, {'key': 'lhdmutjte', 'value': 'diretorio'}, {'key': 'gxiushpckw', 'value': 'chamado'}]

Stats

MD5 4206645fd348ae8959a363a59ef9b439
Eval Count 0
Decode Time 73 ms