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\x4f\x42A\x4c\x53"}["\x76\x74\x79\x68c\x61\x71\x79\x6e\x64\x6d\x70"]="n\x6f\..

Decoded Output download

<?php ${"GLOBALS"}["vtyhcaqyndmp"]="notins";${"GLOBALS"}["xrxqsxjlbuz"]="row";${"GLOBALS"}["dxoraojyju"]="SQLcli";${"GLOBALS"}["ukgfbgjb"]="cliente";${"GLOBALS"}["ehkmesvn"]="SQLrev";${"GLOBALS"}["azcbqtfnw"]="msg";${"GLOBALS"}["zvcsitv"]="tipo";${"GLOBALS"}["boxvbrcvfg"]="clientes";require_once("../../../pages/system/seguranca.php");require_once("../../../pages/system/config.php");require_once("../../../pages/system/funcoes.system.php");protegePagina("donoadmin");if(isset($_POST["clientes"])){$yhblxkwdu="cliente";$lbvrelmcpadf="tipo";$jkzhdlwarfp="cliente";$rrpqtkp="tipo";${${"GLOBALS"}["boxvbrcvfg"]}=sql_injector($_POST["clientes"]);$tgoqmcf="cliente";$oqaachdsfjl="tipo";${"GLOBALS"}["tnlvhmtb"]="cliente";$ubzlxm="SQLrev";${${"GLOBALS"}["zvcsitv"]}=sql_injector($_POST["tipo"]);${${"GLOBALS"}["azcbqtfnw"]}=sql_injector($_POST["msg"]);${${"GLOBALS"}["ehkmesvn"]}="SELECT * FROM usuario where id_usuario='".${$tgoqmcf}."'";${$ubzlxm}=$conn->prepare(${${"GLOBALS"}["ehkmesvn"]});$bbsnwhrclnye="tipo";$SQLrev->execute();switch(${${"GLOBALS"}["boxvbrcvfg"]}){case 1:${$jkzhdlwarfp}="todos";break;case 2:${${"GLOBALS"}["tnlvhmtb"]}="revenda";break;case 3:${${"GLOBALS"}["ukgfbgjb"]}="vpn";break;default:${$yhblxkwdu}="erro";break;}switch(${${"GLOBALS"}["zvcsitv"]}){case 1:${$bbsnwhrclnye}="fatura";break;case 2:${$lbvrelmcpadf}="outros";break;default:${$rrpqtkp}="erro";break;}if(${$oqaachdsfjl}=="erro"){echo"<script type=\"text/javascript">";echo"alert(\"Erro no tipo escolha outro!\");";echo"window.location=\"../../home.php?page=notificacoes/notificar\";";echo"</script>";exit;}if(${${"GLOBALS"}["ukgfbgjb"]}=="erro"){echo"<script type=\"text/javascript\">";echo"alert("Erro no tipo de cliente!");";echo"window.location="../../home.php?page=notificacoes/notificar\";";echo"</script>";exit;}if(${${"GLOBALS"}["ukgfbgjb"]}=="todos"){${${"GLOBALS"}["dxoraojyju"]}="SELECT * FROM usuario";}else{$vjmcoxvz="SQLcli";${$vjmcoxvz}="SELECT * FROM usuario where tipo='".${${"GLOBALS"}["ukgfbgjb"]}."'";}${${"GLOBALS"}["dxoraojyju"]}=$conn->prepare(${${"GLOBALS"}["dxoraojyju"]});$SQLcli->execute();if($SQLcli->rowCount()>0){${"GLOBALS"}["nusykdfpkjp"]="row";while(${${"GLOBALS"}["nusykdfpkjp"]}=$SQLcli->fetch()){$xmhvvagxil="msg";${"GLOBALS"}["mdlgxcale"]="usuarion";${"GLOBALS"}["ccpvneetnk"]="notins";${${"GLOBALS"}["mdlgxcale"]}=${${"GLOBALS"}["xrxqsxjlbuz"]}["id_usuario"];${"GLOBALS"}["qivsksxcif"]="usuarion";${${"GLOBALS"}["azcbqtfnw"]}=${${"GLOBALS"}["azcbqtfnw"]};${${"GLOBALS"}["vtyhcaqyndmp"]}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${${"GLOBALS"}["qivsksxcif"]}."','".date("Y-m-d H:i:s")."','".${${"GLOBALS"}["zvcsitv"]}."','Admin','".${$xmhvvagxil}."')";${${"GLOBALS"}["vtyhcaqyndmp"]}=$conn->prepare(${${"GLOBALS"}["ccpvneetnk"]});$notins->execute();}}echo myalertuser("success","Notificado !","../../home.php?page=notificacoes/notificar");} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42A\x4c\x53"}["\x76\x74\x79\x68c\x61\x71\x79\x6e\x64\x6d\x70"]="n\x6f\x74\x69ns";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x72\x78\x71\x73xj\x6c\x62\x75\x7a"]="r\x6fw";${"\x47\x4cO\x42\x41LS"}["dx\x6frao\x6a\x79\x6a\x75"]="\x53Q\x4c\x63li";${"G\x4cO\x42\x41LS"}["\x75\x6b\x67\x66bgj\x62"]="c\x6c\x69\x65\x6et\x65";${"G\x4cO\x42\x41L\x53"}["\x65\x68\x6bm\x65\x73\x76n"]="\x53\x51\x4c\x72e\x76";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x7a\x63\x62\x71\x74\x66\x6ew"]="m\x73g";${"G\x4cO\x42A\x4c\x53"}["z\x76\x63\x73i\x74\x76"]="\x74\x69\x70\x6f";${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x6fx\x76\x62\x72cv\x66g"]="\x63\x6ci\x65\x6e\x74\x65\x73";require_once("\x2e\x2e/.\x2e/.\x2e/p\x61\x67es/\x73\x79s\x74\x65\x6d/segu\x72a\x6e\x63a.p\x68\x70");require_once("../\x2e\x2e/\x2e\x2e/\x70ag\x65s/\x73\x79ste\x6d/co\x6efi\x67.p\x68p");require_once("../.\x2e/\x2e./p\x61ge\x73/\x73\x79\x73\x74e\x6d/\x66u\x6ecoe\x73\x2es\x79\x73\x74\x65\x6d.\x70\x68\x70");protegePagina("don\x6fadmin");if(isset($_POST["cli\x65n\x74e\x73"])){$yhblxkwdu="\x63\x6c\x69e\x6e\x74e";$lbvrelmcpadf="t\x69\x70\x6f";$jkzhdlwarfp="c\x6c\x69e\x6e\x74\x65";$rrpqtkp="\x74ip\x6f";${${"G\x4cOB\x41\x4c\x53"}["\x62\x6f\x78\x76b\x72\x63\x76\x66\x67"]}=sql_injector($_POST["c\x6c\x69\x65\x6e\x74\x65\x73"]);$tgoqmcf="\x63li\x65\x6e\x74\x65";$oqaachdsfjl="\x74\x69\x70\x6f";${"\x47L\x4f\x42\x41L\x53"}["\x74\x6e\x6c\x76\x68m\x74b"]="\x63l\x69\x65n\x74\x65";$ubzlxm="SQ\x4c\x72e\x76";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x76\x63s\x69\x74v"]}=sql_injector($_POST["\x74\x69\x70o"]);${${"\x47L\x4f\x42AL\x53"}["\x61\x7a\x63bqt\x66\x6ew"]}=sql_injector($_POST["msg"]);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x68\x6b\x6d\x65s\x76\x6e"]}="S\x45\x4c\x45C\x54 * \x46\x52OM usuar\x69\x6f\x20\x77\x68\x65re i\x64_u\x73\x75\x61rio=\x27".${$tgoqmcf}."\x27";${$ubzlxm}=$conn->prepare(${${"\x47\x4cO\x42\x41\x4c\x53"}["e\x68\x6b\x6d\x65svn"]});$bbsnwhrclnye="\x74\x69\x70\x6f";$SQLrev->execute();switch(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62o\x78\x76\x62\x72\x63\x76\x66g"]}){case 1:${$jkzhdlwarfp}="t\x6fd\x6f\x73";break;case 2:${${"\x47\x4c\x4f\x42A\x4cS"}["\x74nlv\x68m\x74b"]}="\x72\x65venda";break;case 3:${${"\x47\x4c\x4f\x42A\x4cS"}["\x75kg\x66b\x67jb"]}="\x76p\x6e";break;default:${$yhblxkwdu}="e\x72\x72o";break;}switch(${${"\x47\x4c\x4fB\x41L\x53"}["z\x76c\x73\x69t\x76"]}){case 1:${$bbsnwhrclnye}="\x66at\x75\x72a";break;case 2:${$lbvrelmcpadf}="\x6fu\x74r\x6fs";break;default:${$rrpqtkp}="er\x72\x6f";break;}if(${$oqaachdsfjl}=="erro"){echo"\x3c\x73c\x72\x69p\x74 \x74y\x70\x65\x3d\"\x74\x65xt/j\x61\x76\x61\x73c\x72\x69p\x74\x22>";echo"\x61\x6ce\x72t(\"Erro no \x74ip\x6f\x20e\x73\x63olh\x61 o\x75t\x72o!\");";echo"w\x69nd\x6fw.loc\x61\x74\x69on=\"../.\x2e/home\x2ep\x68\x70?p\x61\x67\x65=n\x6f\x74ific\x61\x63\x6fes/\x6eoti\x66\x69car\";";echo"</s\x63\x72i\x70t>";exit;}if(${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x6b\x67\x66bgj\x62"]}=="er\x72o"){echo"<s\x63\x72\x69pt\x20\x74\x79\x70e=\"te\x78t/\x6aa\x76a\x73\x63\x72\x69\x70\x74\">";echo"a\x6ce\x72t(\x22E\x72\x72\x6f no\x20t\x69po\x20de c\x6ci\x65n\x74e!\x22)\x3b";echo"wi\x6e\x64ow.l\x6f\x63a\x74\x69on\x3d\x22../\x2e\x2e/h\x6fme.\x70\x68p?p\x61g\x65=\x6e\x6ft\x69f\x69\x63\x61c\x6fe\x73/not\x69fica\x72\";";echo"\x3c/\x73c\x72i\x70\x74>";exit;}if(${${"\x47L\x4f\x42\x41\x4cS"}["\x75\x6b\x67f\x62gjb"]}=="\x74\x6fd\x6f\x73"){${${"\x47L\x4fB\x41L\x53"}["\x64\x78\x6f\x72\x61\x6f\x6ay\x6au"]}="\x53EL\x45C\x54\x20*\x20\x46R\x4f\x4d\x20\x75\x73\x75a\x72io";}else{$vjmcoxvz="\x53\x51\x4ccli";${$vjmcoxvz}="S\x45LEC\x54\x20*\x20\x46\x52OM \x75sua\x72\x69o\x20\x77\x68\x65\x72\x65 \x74\x69p\x6f\x3d'".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6bg\x66\x62\x67\x6ab"]}."\x27";}${${"\x47\x4cO\x42\x41\x4cS"}["\x64\x78\x6f\x72\x61\x6f\x6a\x79j\x75"]}=$conn->prepare(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64xo\x72\x61\x6f\x6a\x79\x6a\x75"]});$SQLcli->execute();if($SQLcli->rowCount()>0){${"G\x4c\x4f\x42\x41L\x53"}["n\x75\x73ykd\x66\x70kj\x70"]="\x72o\x77";while(${${"GL\x4f\x42\x41\x4c\x53"}["\x6e\x75s\x79\x6bdfp\x6bj\x70"]}=$SQLcli->fetch()){$xmhvvagxil="\x6d\x73g";${"\x47L\x4f\x42A\x4c\x53"}["m\x64lgxcale"]="usu\x61r\x69o\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["c\x63\x70v\x6ee\x65\x74\x6e\x6b"]="\x6e\x6f\x74\x69ns";${${"\x47LO\x42A\x4c\x53"}["md\x6c\x67\x78c\x61\x6c\x65"]}=${${"\x47\x4cO\x42A\x4cS"}["x\x72x\x71\x73x\x6al\x62\x75z"]}["\x69d\x5f\x75sua\x72\x69o"];${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71i\x76\x73\x6b\x73\x78\x63\x69\x66"]="u\x73\x75\x61\x72\x69\x6fn";${${"\x47\x4cO\x42A\x4c\x53"}["\x61zcb\x71\x74f\x6ew"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x61\x7a\x63\x62\x71t\x66\x6ew"]};${${"\x47\x4c\x4f\x42\x41LS"}["\x76\x74\x79\x68\x63a\x71\x79\x6edm\x70"]}="INS\x45\x52\x54\x20INTO\x20\x6eo\x74i\x66i\x63\x61c\x6f\x65s\x20(usu\x61\x72io\x5fid,\x64a\x74\x61,t\x69p\x6f,\x6c\x69nk\x66a\x74\x75\x72\x61,me\x6es\x61\x67e\x6d) \x76\x61lu\x65\x73\x20(\x27".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71i\x76sksxci\x66"]}."','".date("Y-m-d \x48:\x69:s")."',\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["zvc\x73it\x76"]}."',\x27\x41dm\x69n',\x27".${$xmhvvagxil}."\x27)";${${"\x47LOBA\x4c\x53"}["v\x74\x79\x68\x63\x61\x71\x79n\x64\x6d\x70"]}=$conn->prepare(${${"\x47L\x4fB\x41\x4c\x53"}["c\x63pvne\x65tnk"]});$notins->execute();}}echo myalertuser("\x73u\x63ce\x73s","\x4e\x6ft\x69\x66icado\x20!",".\x2e/.\x2e/\x68o\x6d\x65.p\x68\x70?\x70a\x67\x65\x3d\x6eo\x74if\x69\x63\x61c\x6f\x65s/no\x74i\x66icar");}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'vtyhcaqyndmp', 'value': 'notins'}, {'key': 'xrxqsxjlbuz', 'value': 'row'}, {'key': 'dxoraojyju', 'value': 'SQLcli'}, {'key': 'ukgfbgjb', 'value': 'cliente'}, {'key': 'ehkmesvn', 'value': 'SQLrev'}, {'key': 'azcbqtfnw', 'value': 'msg'}, {'key': 'zvcsitv', 'value': 'tipo'}, {'key': 'boxvbrcvfg', 'value': 'clientes'}]

Stats

MD5 2b96f7295addba9cef1add6487b2bdd1
Eval Count 0
Decode Time 60 ms