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 ${"GL\x4f\x42\x41\x4cS"}["b\x6f\x66\x75q\x78k\x66j\x75"]="\x61\x64\x64\x6e\x6ft\x69c..

Decoded Output download

<?php ${"GLOBALS"}["bofuqxkfju"]="addnoticias";${"GLOBALS"}["udtquuxzre"]="titulo";${"GLOBALS"}["iugobsl"]="buscnoticias";${"GLOBALS"}["kumlgixgkrs"]="msg";${"GLOBALS"}["jvkqlihg"]="procnoticias";${"GLOBALS"}["xwddalmql"]="subtitulo";${"GLOBALS"}["xjtnkmcephr"]="accessKEY";require_once("../../../pages/system/seguranca.php");require_once("../../../pages/system/config.php");require_once("../../../pages/system/classe.ssh.php");${"GLOBALS"}["ujcoxtoyr"]="ipdominio";require_once("../../../pages/system/funcoes.system.php");protegePagina("donoadmin");if($_POST["segmax"]!==${${"GLOBALS"}["xjtnkmcephr"]}){expulsaVisitante();exit;}if($_POST["ipmax"]!==${${"GLOBALS"}["ujcoxtoyr"]}){expulsaVisitante();exit;}if(isset($_POST["adicionanoticia"])&&isset($_POST["owner"])){$cdsucqugu="msg";$tfufvcmnnvm="titulo";${$tfufvcmnnvm}=sql_injector2($_POST["titu"]);$kunvcywbxhm="titulo";${${"GLOBALS"}["xwddalmql"]}=sql_injector2($_POST["subtitu"]);${$cdsucqugu}=sql_injector2($_POST["msg"]);${"GLOBALS"}["whxbpmjnvq"]="buscnoticias";${${"GLOBALS"}["jvkqlihg"]}="select * FROM noticias where status='ativo'";${${"GLOBALS"}["jvkqlihg"]}=$conn->prepare(${${"GLOBALS"}["jvkqlihg"]});$procnoticias->execute();if($procnoticias->rowCount()>0){echo myalertuser("error","Existe uma notificao ativa!","../../home.php?page=apis/gerenciar");exit;}if(${$kunvcywbxhm}==""){echo myalertuser("warning","Ttulo em branco!","../../home.php?page=apis/gerenciar");exit;}if(${${"GLOBALS"}["xwddalmql"]}==""){echo myalertuser("warning","Subttulo em branco!","../../home.php?page=apis/gerenciar");exit;}if(${${"GLOBALS"}["kumlgixgkrs"]}==""){echo myalertuser("warning","Mensagem em branco!","../../home.php?page=apis/gerenciar");exit;}${${"GLOBALS"}["iugobsl"]}="select * FROM noticias";${${"GLOBALS"}["whxbpmjnvq"]}=$conn->prepare(${${"GLOBALS"}["iugobsl"]});$buscnoticias->execute();if($buscnoticias->rowCount()>0){${"GLOBALS"}["vgwpqkeje"]="subtitulo";$eqbuwskwdi="addnoticias";${"GLOBALS"}["wonzmuwnafb"]="msg";${"GLOBALS"}["emzrngeuc"]="addnoticias";${${"GLOBALS"}["emzrngeuc"]}="update noticias set status='ativo', titulo='".${${"GLOBALS"}["udtquuxzre"]}."', subtitulo='".${${"GLOBALS"}["vgwpqkeje"]}."', msg='".${${"GLOBALS"}["wonzmuwnafb"]}."', data='".date("Y-m-d H:i:s")."' where status='desativado' LIMIT 1";${${"GLOBALS"}["bofuqxkfju"]}=$conn->prepare(${$eqbuwskwdi});$addnoticias->execute();echo myalertuser("success","Notificado com sucesso!","../../home.php?page=apis/gerenciar");}else{$tsjccyo="titulo";$slkofn="addnoticias";$tqtpgwa="msg";$hbwycijbcm="subtitulo";${$slkofn}="insert into noticias (status,titulo,subtitulo,msg,data) values ('ativo','".${$tsjccyo}."','".${$hbwycijbcm}."','".${$tqtpgwa}."','".date("Y-m-d H:i:s")."')";$mzrmwncqyvg="addnoticias";${$mzrmwncqyvg}=$conn->prepare(${${"GLOBALS"}["bofuqxkfju"]});$addnoticias->execute();echo myalertuser("success","Notificado com sucesso!","../../home.php?page=apis/gerenciar");}} 
?>

Did this file decode correctly?

Original Code

<?php ${"GL\x4f\x42\x41\x4cS"}["b\x6f\x66\x75q\x78k\x66j\x75"]="\x61\x64\x64\x6e\x6ft\x69c\x69\x61\x73";${"\x47LO\x42\x41\x4c\x53"}["\x75d\x74\x71u\x75\x78\x7a\x72\x65"]="t\x69\x74\x75\x6co";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69u\x67\x6f\x62\x73\x6c"]="bu\x73cn\x6ftic\x69as";${"GL\x4fBAL\x53"}["\x6b\x75\x6d\x6c\x67\x69xg\x6b\x72\x73"]="\x6dsg";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x76k\x71\x6c\x69\x68g"]="\x70ro\x63\x6eo\x74\x69\x63i\x61\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["x\x77\x64da\x6c\x6d\x71l"]="\x73ub\x74it\x75lo";${"\x47L\x4f\x42A\x4c\x53"}["\x78\x6atn\x6b\x6d\x63\x65\x70\x68r"]="\x61cc\x65\x73\x73K\x45\x59";require_once(".\x2e/../\x2e./pag\x65\x73/sy\x73t\x65\x6d/\x73eguran\x63a.php");require_once("../.\x2e/../\x70ages/s\x79s\x74\x65\x6d/co\x6e\x66\x69\x67\x2e\x70\x68p");require_once("\x2e\x2e/../.\x2e/p\x61g\x65\x73/\x73\x79st\x65m/c\x6c\x61sse.\x73sh\x2eph\x70");${"\x47\x4c\x4f\x42\x41LS"}["\x75\x6aco\x78toy\x72"]="\x69pdom\x69\x6ei\x6f";require_once("../../../\x70a\x67\x65s/\x73y\x73\x74e\x6d/fu\x6ecoes\x2es\x79\x73te\x6d.ph\x70");protegePagina("\x64ono\x61\x64m\x69n");if($_POST["se\x67max"]!==${${"G\x4cOBAL\x53"}["\x78jt\x6e\x6b\x6d\x63e\x70hr"]}){expulsaVisitante();exit;}if($_POST["ipm\x61\x78"]!==${${"\x47\x4c\x4fBAL\x53"}["\x75\x6a\x63oxto\x79r"]}){expulsaVisitante();exit;}if(isset($_POST["\x61d\x69\x63\x69o\x6ea\x6eo\x74\x69ci\x61"])&&isset($_POST["\x6f\x77\x6eer"])){$cdsucqugu="ms\x67";$tfufvcmnnvm="\x74\x69\x74\x75\x6c\x6f";${$tfufvcmnnvm}=sql_injector2($_POST["\x74\x69tu"]);$kunvcywbxhm="\x74\x69t\x75\x6c\x6f";${${"\x47L\x4fB\x41\x4cS"}["\x78\x77\x64\x64a\x6c\x6dq\x6c"]}=sql_injector2($_POST["s\x75b\x74itu"]);${$cdsucqugu}=sql_injector2($_POST["\x6ds\x67"]);${"GL\x4f\x42\x41L\x53"}["\x77\x68x\x62\x70m\x6a\x6ev\x71"]="b\x75\x73\x63\x6e\x6f\x74\x69\x63\x69a\x73";${${"GL\x4f\x42AL\x53"}["\x6av\x6bql\x69\x68\x67"]}="s\x65\x6c\x65\x63\x74\x20* \x46ROM\x20\x6eo\x74icia\x73\x20\x77h\x65r\x65 s\x74\x61\x74us\x3d'ativ\x6f\x27";${${"\x47L\x4f\x42\x41L\x53"}["j\x76kq\x6c\x69\x68\x67"]}=$conn->prepare(${${"GLO\x42\x41\x4c\x53"}["\x6a\x76\x6b\x71\x6c\x69\x68g"]});$procnoticias->execute();if($procnoticias->rowCount()>0){echo myalertuser("\x65rror","\x45\x78\x69\x73\x74\x65 \x75m\x61\x20notif\x69\x63\x61o \x61ti\x76a!",".\x2e/.\x2e/h\x6fme.\x70hp?p\x61g\x65=a\x70is/g\x65\x72\x65n\x63\x69ar");exit;}if(${$kunvcywbxhm}==""){echo myalertuser("w\x61\x72\x6ei\x6eg","T\x74\x75lo \x65\x6d\x20bra\x6e\x63\x6f!","../\x2e./h\x6f\x6d\x65\x2e\x70h\x70?\x70\x61\x67e\x3dap\x69\x73/g\x65r\x65\x6eci\x61\x72");exit;}if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["x\x77\x64d\x61\x6cm\x71l"]}==""){echo myalertuser("w\x61\x72\x6eing","S\x75b\x74\x74u\x6co em\x20b\x72anc\x6f\x21","../../\x68o\x6d\x65.p\x68p?p\x61\x67\x65\x3d\x61p\x69\x73/\x67\x65r\x65n\x63i\x61r");exit;}if(${${"\x47L\x4f\x42\x41LS"}["k\x75\x6dlgi\x78\x67k\x72\x73"]}==""){echo myalertuser("wa\x72\x6ei\x6e\x67","Me\x6e\x73a\x67\x65m \x65m\x20\x62r\x61\x6e\x63\x6f\x21","../.\x2e/\x68\x6f\x6d\x65\x2eph\x70?p\x61g\x65=\x61\x70\x69\x73/\x67\x65\x72e\x6e\x63ia\x72");exit;}${${"\x47\x4c\x4f\x42AL\x53"}["\x69u\x67o\x62\x73\x6c"]}="sel\x65c\x74 *\x20FR\x4f\x4d \x6e\x6fti\x63i\x61\x73";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x68xb\x70m\x6an\x76q"]}=$conn->prepare(${${"\x47LO\x42\x41\x4c\x53"}["\x69\x75\x67\x6f\x62\x73\x6c"]});$buscnoticias->execute();if($buscnoticias->rowCount()>0){${"GLO\x42\x41L\x53"}["\x76\x67w\x70\x71k\x65\x6a\x65"]="\x73\x75bt\x69\x74u\x6c\x6f";$eqbuwskwdi="\x61\x64\x64n\x6f\x74ic\x69a\x73";${"G\x4cO\x42\x41L\x53"}["\x77\x6f\x6e\x7amu\x77\x6e\x61\x66\x62"]="\x6dsg";${"\x47L\x4f\x42\x41LS"}["\x65\x6d\x7a\x72n\x67e\x75\x63"]="\x61d\x64\x6e\x6f\x74\x69\x63\x69\x61\x73";${${"G\x4cO\x42ALS"}["e\x6dz\x72n\x67\x65u\x63"]}="\x75\x70da\x74e\x20no\x74\x69\x63\x69\x61s\x20se\x74\x20\x73\x74a\x74u\x73=\x27\x61ti\x76o', \x74\x69\x74\x75l\x6f='".${${"\x47\x4c\x4fB\x41\x4cS"}["u\x64\x74\x71\x75u\x78\x7a\x72\x65"]}."\x27,\x20s\x75btitul\x6f='".${${"GLO\x42\x41L\x53"}["\x76g\x77\x70\x71\x6b\x65\x6a\x65"]}."', \x6dsg\x3d'".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77o\x6e\x7a\x6d\x75w\x6ea\x66\x62"]}."\x27, data='".date("\x59-m-\x64\x20H:i:\x73")."\x27 \x77\x68e\x72\x65\x20\x73t\x61\x74\x75\x73=\x27\x64\x65\x73a\x74\x69\x76\x61\x64\x6f'\x20LIM\x49T\x20\x31";${${"GL\x4f\x42\x41L\x53"}["\x62of\x75\x71\x78k\x66\x6a\x75"]}=$conn->prepare(${$eqbuwskwdi});$addnoticias->execute();echo myalertuser("\x73\x75\x63c\x65\x73\x73","N\x6f\x74if\x69ca\x64\x6f\x20c\x6f\x6d\x20\x73\x75cess\x6f\x21",".\x2e/.\x2e/\x68o\x6d\x65.ph\x70?p\x61\x67e=a\x70\x69\x73/g\x65r\x65nci\x61r");}else{$tsjccyo="\x74\x69\x74\x75lo";$slkofn="addn\x6f\x74\x69\x63\x69\x61\x73";$tqtpgwa="\x6ds\x67";$hbwycijbcm="\x73\x75\x62\x74i\x74u\x6c\x6f";${$slkofn}="i\x6e\x73e\x72t\x20\x69\x6e\x74o\x20not\x69ci\x61\x73\x20(s\x74a\x74\x75\x73,tit\x75\x6co,\x73ub\x74\x69t\x75\x6co,\x6dsg,d\x61t\x61) val\x75\x65s (\x27\x61\x74iv\x6f',\x27".${$tsjccyo}."',\x27".${$hbwycijbcm}."\x27,\x27".${$tqtpgwa}."',\x27".date("\x59-m-d \x48:\x69:s")."\x27)";$mzrmwncqyvg="\x61\x64\x64not\x69\x63i\x61s";${$mzrmwncqyvg}=$conn->prepare(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x6ff\x75\x71\x78kfj\x75"]});$addnoticias->execute();echo myalertuser("succ\x65s\x73","N\x6fti\x66\x69c\x61\x64o\x20c\x6fm s\x75\x63\x65\x73s\x6f\x21","\x2e./../home.p\x68\x70?\x70\x61\x67\x65=\x61\x70\x69\x73/ge\x72\x65\x6e\x63ia\x72");}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'bofuqxkfju', 'value': 'addnoticias'}, {'key': 'udtquuxzre', 'value': 'titulo'}, {'key': 'iugobsl', 'value': 'buscnoticias'}, {'key': 'kumlgixgkrs', 'value': 'msg'}, {'key': 'jvkqlihg', 'value': 'procnoticias'}, {'key': 'xwddalmql', 'value': 'subtitulo'}, {'key': 'xjtnkmcephr', 'value': 'accessKEY'}]

Stats

MD5 96e4e5e28bf5fe2826f2c16f6e881f86
Eval Count 0
Decode Time 59 ms