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 ${"\x47L\x4fB\x41\x4cS"}["\x65\x75\x6cf\x69\x66\x67\x6d\x66\x72"]="u\x70da\x74e\x63h..

Decoded Output download

<?php ${"GLOBALS"}["eulfifgmfr"]="updatechamado";${"GLOBALS"}["xtdcpxr"]="chama";${"GLOBALS"}["syhvjqaaut"]="buscachamado";${"GLOBALS"}["irmyxqivx"]="diretorio";${"GLOBALS"}["trpksdtnt"]="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"])){$gdppsegsqpb="buscachamado";${${"GLOBALS"}["trpksdtnt"]}=$_POST["chamado"];${"GLOBALS"}["milcyqrut"]="chamado";${${"GLOBALS"}["irmyxqivx"]}=$_POST["diretorio"];${${"GLOBALS"}["syhvjqaaut"]}="SELECT * FROM chamados where id='".${${"GLOBALS"}["milcyqrut"]}."'";$wppbohvntc="updatechamado";${${"GLOBALS"}["syhvjqaaut"]}=$conn->prepare(${$gdppsegsqpb});$buscachamado->execute();$balexfpgj="chama";if($buscachamado->rowCount()==0){echo myalertuser("error","Nao encontrado !",${${"GLOBALS"}["irmyxqivx"]});exit;}$dymjgeturqcp="chama";${$balexfpgj}=$buscachamado->fetch();if(${$dymjgeturqcp}["status"]<>"encerrado"){echo myalertuser("warning","Encerre-o prmeiro !",${${"GLOBALS"}["irmyxqivx"]});exit;}${$wppbohvntc}="DELETE FROM chamados where id='".${${"GLOBALS"}["xtdcpxr"]}["id"]."'";${${"GLOBALS"}["eulfifgmfr"]}=$conn->prepare(${${"GLOBALS"}["eulfifgmfr"]});$updatechamado->execute();echo myalertuser("success","Deletado com sucesso !",${${"GLOBALS"}["irmyxqivx"]});} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4fB\x41\x4cS"}["\x65\x75\x6cf\x69\x66\x67\x6d\x66\x72"]="u\x70da\x74e\x63ham\x61\x64\x6f";${"\x47\x4cOB\x41L\x53"}["\x78td\x63\x70\x78\x72"]="\x63\x68\x61\x6d\x61";${"\x47\x4c\x4fBALS"}["\x73\x79h\x76\x6aq\x61a\x75\x74"]="\x62\x75s\x63\x61\x63\x68am\x61\x64\x6f";${"\x47\x4c\x4fB\x41L\x53"}["\x69r\x6d\x79x\x71\x69\x76x"]="d\x69\x72\x65\x74\x6fri\x6f";${"\x47\x4c\x4f\x42\x41LS"}["\x74\x72\x70ksd\x74n\x74"]="\x63\x68\x61m\x61\x64o";require_once("\x2e\x2e/.\x2e/../\x70a\x67\x65\x73/s\x79s\x74\x65\x6d/\x73\x65\x67u\x72a\x6ec\x61.\x70hp");require_once("../.\x2e/\x2e./\x70\x61ge\x73/sy\x73\x74\x65\x6d/c\x6f\x6e\x66\x69\x67\x2ep\x68p");require_once("\x2e./../../p\x61g\x65s/\x73yst\x65\x6d/\x66unco\x65s.\x73\x79s\x74em.php");protegePagina("do\x6e\x6fadmi\x6e");if(isset($_POST["\x63h\x61m\x61d\x6f"])){$gdppsegsqpb="b\x75\x73\x63\x61\x63hamad\x6f";${${"G\x4cO\x42\x41\x4cS"}["\x74rpk\x73\x64\x74n\x74"]}=$_POST["c\x68a\x6da\x64\x6f"];${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6di\x6cc\x79q\x72u\x74"]="c\x68ama\x64\x6f";${${"\x47L\x4f\x42\x41LS"}["\x69r\x6d\x79x\x71\x69vx"]}=$_POST["d\x69reto\x72\x69\x6f"];${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73yh\x76\x6aq\x61\x61\x75\x74"]}="SEL\x45\x43\x54\x20* \x46RO\x4d\x20ch\x61ma\x64\x6fs\x20w\x68e\x72e id=\x27".${${"\x47L\x4f\x42\x41L\x53"}["\x6d\x69\x6c\x63\x79\x71r\x75\x74"]}."\x27";$wppbohvntc="\x75p\x64\x61\x74\x65ch\x61\x6da\x64o";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x79\x68\x76\x6a\x71aau\x74"]}=$conn->prepare(${$gdppsegsqpb});$buscachamado->execute();$balexfpgj="\x63\x68\x61\x6d\x61";if($buscachamado->rowCount()==0){echo myalertuser("erro\x72","\x4eao\x20en\x63o\x6e\x74ra\x64\x6f !",${${"\x47\x4cOB\x41\x4c\x53"}["\x69\x72myx\x71\x69\x76\x78"]});exit;}$dymjgeturqcp="c\x68ama";${$balexfpgj}=$buscachamado->fetch();if(${$dymjgeturqcp}["s\x74\x61\x74u\x73"]<>"en\x63e\x72rad\x6f"){echo myalertuser("w\x61\x72nin\x67","E\x6e\x63\x65rre-\x6f \x70r\x6de\x69\x72\x6f !",${${"\x47L\x4fBALS"}["\x69\x72m\x79x\x71\x69vx"]});exit;}${$wppbohvntc}="DE\x4c\x45TE FRO\x4d c\x68\x61mados w\x68e\x72e\x20\x69\x64='".${${"\x47\x4c\x4f\x42AL\x53"}["\x78\x74d\x63p\x78r"]}["\x69\x64"]."\x27";${${"\x47\x4c\x4fBA\x4c\x53"}["eu\x6c\x66if\x67\x6dfr"]}=$conn->prepare(${${"\x47LO\x42\x41\x4c\x53"}["\x65\x75\x6c\x66if\x67\x6d\x66\x72"]});$updatechamado->execute();echo myalertuser("\x73\x75\x63cess","\x44\x65\x6c\x65\x74ad\x6f\x20com\x20s\x75ce\x73so\x20\x21",${${"\x47\x4cO\x42AL\x53"}["\x69\x72\x6d\x79\x78\x71\x69\x76\x78"]});}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'eulfifgmfr', 'value': 'updatechamado'}, {'key': 'xtdcpxr', 'value': 'chama'}, {'key': 'syhvjqaaut', 'value': 'buscachamado'}, {'key': 'irmyxqivx', 'value': 'diretorio'}, {'key': 'trpksdtnt', 'value': 'chamado'}]

Stats

MD5 b9f2e4e66b6fb1a70b6a1c78098f253d
Eval Count 0
Decode Time 47 ms