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\x4cOB\x41L\x53"}["\x71\x64\x6er\x6e\x6a\x68l\x74"]="n\x6f\x74\x69\x6e\x73";$..

Decoded Output download

<?php ${"GLOBALS"}["qdnrnjhlt"]="notins";${"GLOBALS"}["kburxkn"]="SQLSucesso";${"GLOBALS"}["owmrmh"]="buscaserver3";${"GLOBALS"}["yxrhraexqb"]="revendedor";${"GLOBALS"}["ucmtkjwmuin"]="served";${"GLOBALS"}["ecbcdxfotlf"]="buscaserver2";${"GLOBALS"}["jvjcww"]="servidor";${"GLOBALS"}["bivcqlidt"]="ele";${"GLOBALS"}["jnesis"]="buscaeu";${"GLOBALS"}["tcsnudsocvd"]="limite";require_once("../../../pages/system/seguranca.php");require_once("../../../pages/system/config.php");require_once("../../../pages/system/classe.ssh.php");require_once("../../../pages/system/funcoes.system.php");protegePagina("donoadmin");if(isset($_POST["servidor"])){$yhdkidjugbfq="msg";$qrfjfrvs="buscaserver2";${"GLOBALS"}["ngppmln"]="servidor";${"GLOBALS"}["yxupyvxlrs"]="revendedor";${"GLOBALS"}["lmwpouvj"]="revendedor";${${"GLOBALS"}["ngppmln"]}=sql_injector($_POST["servidor"]);$jdbugsvecu="buscaeu";$dmmweeucrf="buscaserver3";$icyaonapdgbh="servidor";${"GLOBALS"}["wtbnhxfhplpy"]="buscaserver3";${"GLOBALS"}["xlxjff"]="SQLSucesso";${${"GLOBALS"}["yxupyvxlrs"]}=sql_injector($_POST["revendedor"]);${${"GLOBALS"}["tcsnudsocvd"]}=sql_injector($_POST["limite"]);if(!is_numeric(${${"GLOBALS"}["tcsnudsocvd"]})){echo myalertuser("warning","Digite um nmero!","../../home.php?page=usuario/addservidor");exit;}${$jdbugsvecu}="SELECT * FROM usuario where id_usuario= '".${${"GLOBALS"}["lmwpouvj"]}."'";${${"GLOBALS"}["jnesis"]}=$conn->prepare(${${"GLOBALS"}["jnesis"]});$buscaeu->execute();if($buscaeu->rowCount()==0){echo myalertuser("error","Revenda no encontrada !","../../home.php?page=usuario/addservidor");exit;}$lcnansa="buscaserver2";$umgheuskrh="revendedor";${${"GLOBALS"}["bivcqlidt"]}=$buscaeu->fetch();if(${${"GLOBALS"}["bivcqlidt"]}["subrevenda"]=="sim"){echo myalertuser("error","Sem permisso de edio em subrevenda!","../../home.php?page=usuario/addservidor");exit;}$dkciolknoen="notins";${"GLOBALS"}["jokezukfgz"]="revendedor";$wrjspjxliiw="SQLSucesso";${$qrfjfrvs}="SELECT * FROM servidor where id_servidor='".${${"GLOBALS"}["jvjcww"]}."'";${${"GLOBALS"}["ecbcdxfotlf"]}=$conn->prepare(${$lcnansa});$buscaserver2->execute();if($buscaserver2->rowCount()==0){echo myalertuser("error","Servidor no encontrado!","../../home.php?page=usuario/addservidor");exit;}${"GLOBALS"}["aypaux"]="limite";${${"GLOBALS"}["ucmtkjwmuin"]}=$buscaserver2->fetch();${$dmmweeucrf}="SELECT * FROM acesso_servidor where id_servidor='".${$icyaonapdgbh}."' and id_usuario='".${${"GLOBALS"}["yxrhraexqb"]}."'";${${"GLOBALS"}["owmrmh"]}=$conn->prepare(${${"GLOBALS"}["wtbnhxfhplpy"]});$buscaserver3->execute();if($buscaserver3->rowCount()>0){echo myalertuser("warning","Ele j possui esse servidor, Voc pode adicionar um outro servidor para Ele!","../../home.php?page=usuario/addservidor");exit;}${${"GLOBALS"}["kburxkn"]}="insert into acesso_servidor (id_servidor,id_usuario,qtd) values ('".${${"GLOBALS"}["jvjcww"]}."','".${${"GLOBALS"}["jokezukfgz"]}."','".${${"GLOBALS"}["tcsnudsocvd"]}."')";${$wrjspjxliiw}=$conn->prepare(${${"GLOBALS"}["xlxjff"]});${"GLOBALS"}["ctwunymqlcuu"]="msg";$SQLSucesso->execute();${${"GLOBALS"}["ctwunymqlcuu"]}="O Admin Adicionou um Servidor a sua conta <b>".${${"GLOBALS"}["ucmtkjwmuin"]}["nome"]."</b> Limite: ".${${"GLOBALS"}["aypaux"]}."";${$dkciolknoen}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${$umgheuskrh}."','".date("Y-m-d H:i:s")."','revenda','Admin','".${$yhdkidjugbfq}."')";${${"GLOBALS"}["qdnrnjhlt"]}=$conn->prepare(${${"GLOBALS"}["qdnrnjhlt"]});$notins->execute();echo myalertuser("success","Adicionado com sucesso !","../../home.php?page=usuario/addservidor");} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cOB\x41L\x53"}["\x71\x64\x6er\x6e\x6a\x68l\x74"]="n\x6f\x74\x69\x6e\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6bb\x75rx\x6b\x6e"]="\x53Q\x4c\x53\x75\x63\x65\x73\x73o";${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x77\x6d\x72mh"]="bu\x73\x63\x61s\x65rve\x723";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79x\x72hr\x61e\x78\x71\x62"]="\x72\x65\x76e\x6e\x64edo\x72";${"GLO\x42\x41LS"}["\x75\x63mt\x6b\x6awmu\x69\x6e"]="s\x65\x72\x76e\x64";${"\x47\x4cOB\x41\x4c\x53"}["\x65\x63\x62c\x64\x78\x66\x6ft\x6cf"]="b\x75\x73\x63\x61s\x65r\x76\x65r\x32";${"\x47\x4c\x4fB\x41\x4c\x53"}["jv\x6a\x63w\x77"]="s\x65rv\x69\x64o\x72";${"\x47\x4c\x4fBA\x4cS"}["\x62\x69\x76\x63\x71lidt"]="ele";${"\x47\x4c\x4f\x42A\x4c\x53"}["j\x6e\x65\x73\x69s"]="\x62\x75\x73\x63a\x65\x75";${"\x47\x4cOB\x41\x4cS"}["tc\x73\x6eu\x64s\x6f\x63\x76d"]="\x6c\x69\x6d\x69\x74\x65";require_once("\x2e\x2e/\x2e./\x2e./pages/\x73yst\x65m/\x73\x65gur\x61nc\x61.\x70hp");require_once(".\x2e/../\x2e\x2e/page\x73/s\x79\x73\x74\x65\x6d/c\x6fn\x66i\x67.\x70hp");require_once(".\x2e/../\x2e./\x70\x61g\x65s/\x73ys\x74\x65\x6d/c\x6c\x61\x73se\x2e\x73\x73\x68\x2e\x70\x68p");require_once("\x2e./\x2e./.\x2e/p\x61\x67\x65\x73/\x73yst\x65\x6d/\x66\x75nc\x6fes\x2esy\x73\x74\x65m\x2ephp");protegePagina("\x64o\x6e\x6fad\x6din");if(isset($_POST["\x73e\x72vid\x6f\x72"])){$yhdkidjugbfq="\x6d\x73\x67";$qrfjfrvs="b\x75\x73\x63\x61s\x65r\x76e\x72\x32";${"G\x4c\x4fB\x41\x4cS"}["n\x67\x70\x70m\x6c\x6e"]="\x73e\x72\x76\x69do\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x78\x75\x70\x79v\x78\x6crs"]="r\x65\x76e\x6ede\x64\x6f\x72";${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x6d\x77p\x6f\x75\x76\x6a"]="\x72\x65\x76\x65\x6ed\x65\x64\x6f\x72";${${"\x47\x4c\x4f\x42\x41LS"}["n\x67p\x70m\x6c\x6e"]}=sql_injector($_POST["serv\x69dor"]);$jdbugsvecu="bu\x73\x63ae\x75";$dmmweeucrf="\x62\x75\x73\x63a\x73\x65rve\x72\x33";$icyaonapdgbh="\x73\x65\x72\x76\x69\x64\x6fr";${"\x47\x4c\x4f\x42AL\x53"}["\x77\x74\x62\x6e\x68\x78\x66\x68\x70\x6c\x70y"]="\x62\x75\x73\x63\x61\x73erv\x65r3";${"G\x4c\x4f\x42A\x4cS"}["\x78\x6c\x78j\x66\x66"]="\x53\x51\x4c\x53\x75\x63\x65s\x73\x6f";${${"\x47LO\x42\x41\x4c\x53"}["\x79\x78u\x70\x79\x76xl\x72\x73"]}=sql_injector($_POST["re\x76\x65\x6ede\x64\x6fr"]);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x63\x73\x6e\x75\x64\x73o\x63\x76\x64"]}=sql_injector($_POST["l\x69\x6d\x69\x74e"]);if(!is_numeric(${${"\x47L\x4f\x42\x41\x4cS"}["\x74\x63s\x6e\x75ds\x6f\x63\x76\x64"]})){echo myalertuser("w\x61r\x6e\x69ng","Digi\x74e u\x6d \x6emero\x21",".\x2e/../ho\x6de\x2e\x70hp?page=\x75\x73uar\x69o/addse\x72\x76ido\x72");exit;}${$jdbugsvecu}="\x53E\x4c\x45\x43T * FRO\x4d us\x75a\x72io\x20\x77he\x72\x65 \x69\x64\x5fu\x73\x75a\x72io\x3d\x20'".${${"\x47LO\x42A\x4c\x53"}["\x6c\x6d\x77\x70\x6fu\x76j"]}."'";${${"\x47LO\x42AL\x53"}["jne\x73\x69s"]}=$conn->prepare(${${"G\x4c\x4f\x42\x41\x4cS"}["jn\x65\x73\x69s"]});$buscaeu->execute();if($buscaeu->rowCount()==0){echo myalertuser("e\x72\x72\x6f\x72","\x52\x65ve\x6ed\x61 \x6e\x6f\x20encon\x74\x72a\x64\x61\x20!","../../home.p\x68p?\x70a\x67e\x3d\x75\x73\x75ario/a\x64\x64s\x65r\x76idor");exit;}$lcnansa="\x62u\x73\x63\x61se\x72v\x65r\x32";$umgheuskrh="\x72e\x76e\x6e\x64e\x64o\x72";${${"\x47\x4c\x4fBA\x4cS"}["\x62ivcql\x69\x64t"]}=$buscaeu->fetch();if(${${"GLO\x42\x41\x4c\x53"}["b\x69\x76\x63\x71li\x64\x74"]}["\x73ubreve\x6eda"]=="sim"){echo myalertuser("e\x72\x72\x6fr","\x53\x65\x6d\x20pe\x72misso \x64\x65\x20\x65\x64\x69\x6f e\x6d\x20su\x62re\x76enda!","\x2e\x2e/\x2e./\x68om\x65\x2e\x70hp?\x70\x61\x67\x65=u\x73ua\x72i\x6f/\x61\x64\x64ser\x76\x69d\x6fr");exit;}$dkciolknoen="\x6e\x6ft\x69\x6e\x73";${"\x47\x4c\x4fBAL\x53"}["\x6a\x6f\x6b\x65z\x75k\x66g\x7a"]="\x72\x65\x76\x65\x6e\x64edor";$wrjspjxliiw="\x53\x51L\x53u\x63e\x73\x73\x6f";${$qrfjfrvs}="SELE\x43\x54\x20* FR\x4f\x4d \x73\x65\x72v\x69d\x6f\x72 \x77h\x65r\x65 i\x64\x5f\x73\x65\x72\x76id\x6fr\x3d\x27".${${"\x47\x4c\x4fBA\x4cS"}["j\x76\x6ac\x77\x77"]}."'";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x63\x62\x63dx\x66\x6f\x74\x6cf"]}=$conn->prepare(${$lcnansa});$buscaserver2->execute();if($buscaserver2->rowCount()==0){echo myalertuser("er\x72or","\x53e\x72\x76\x69d\x6f\x72 no \x65n\x63\x6fn\x74r\x61\x64\x6f\x21",".\x2e/\x2e./hom\x65.\x70hp?pa\x67\x65=\x75s\x75\x61r\x69o/\x61dds\x65r\x76\x69d\x6fr");exit;}${"G\x4cO\x42\x41\x4c\x53"}["a\x79\x70a\x75x"]="li\x6d\x69\x74e";${${"\x47\x4cO\x42\x41\x4cS"}["\x75cmt\x6b\x6a\x77\x6d\x75\x69\x6e"]}=$buscaserver2->fetch();${$dmmweeucrf}="\x53\x45LE\x43\x54\x20*\x20F\x52O\x4d\x20a\x63es\x73\x6f_s\x65\x72v\x69d\x6f\x72\x20w\x68\x65\x72\x65 \x69d_\x73\x65rvi\x64or=\x27".${$icyaonapdgbh}."\x27\x20an\x64 \x69\x64_\x75\x73\x75\x61r\x69\x6f\x3d\x27".${${"\x47\x4c\x4f\x42AL\x53"}["\x79\x78\x72\x68r\x61e\x78\x71\x62"]}."'";${${"\x47L\x4fB\x41L\x53"}["\x6f\x77\x6d\x72mh"]}=$conn->prepare(${${"G\x4cO\x42\x41\x4c\x53"}["w\x74bnh\x78\x66h\x70lp\x79"]});$buscaserver3->execute();if($buscaserver3->rowCount()>0){echo myalertuser("\x77arning","\x45\x6ce\x20\x6a po\x73\x73\x75\x69 esse \x73\x65rv\x69d\x6fr, V\x6fc\x20po\x64\x65 \x61d\x69ci\x6f\x6ear u\x6d \x6f\x75t\x72o\x20s\x65rv\x69\x64or p\x61ra \x45l\x65!","../../h\x6f\x6de\x2e\x70\x68p?\x70a\x67\x65=\x75su\x61\x72i\x6f/\x61d\x64s\x65rvi\x64\x6fr");exit;}${${"G\x4cO\x42\x41\x4c\x53"}["\x6b\x62\x75r\x78\x6bn"]}="in\x73e\x72\x74\x20\x69nt\x6f\x20\x61\x63\x65ss\x6f_s\x65\x72vido\x72\x20(\x69d_serv\x69\x64o\x72,id\x5fusu\x61\x72\x69o,\x71\x74d)\x20\x76\x61l\x75es (\x27".${${"GLOB\x41LS"}["\x6a\x76\x6ac\x77\x77"]}."',\x27".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ao\x6be\x7a\x75\x6b\x66gz"]}."','".${${"\x47\x4c\x4f\x42A\x4cS"}["tc\x73\x6e\x75\x64\x73ocv\x64"]}."\x27)";${$wrjspjxliiw}=$conn->prepare(${${"\x47\x4cO\x42\x41L\x53"}["\x78l\x78j\x66\x66"]});${"G\x4cOBA\x4cS"}["\x63\x74\x77uny\x6d\x71\x6c\x63\x75\x75"]="\x6d\x73\x67";$SQLSucesso->execute();${${"\x47L\x4fB\x41\x4c\x53"}["c\x74\x77\x75\x6e\x79\x6d\x71\x6cc\x75\x75"]}="O Ad\x6din\x20Adic\x69\x6f\x6e\x6f\x75\x20\x75m\x20Se\x72\x76idor\x20\x61\x20s\x75a\x20\x63onta \x3c\x62\x3e".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x63\x6d\x74\x6b\x6a\x77\x6d\x75i\x6e"]}["nome"]."</\x62\x3e\x20\x4c\x69\x6dit\x65: ".${${"G\x4c\x4fB\x41L\x53"}["\x61yp\x61ux"]}."";${$dkciolknoen}="\x49NS\x45\x52\x54 IN\x54\x4f\x20\x6e\x6ft\x69\x66\x69\x63ac\x6fe\x73 (\x75suar\x69o_\x69\x64,d\x61\x74a,ti\x70\x6f,\x6c\x69nkfat\x75r\x61,m\x65\x6e\x73age\x6d)\x20va\x6c\x75e\x73 (\x27".${$umgheuskrh}."','".date("Y-m-\x64 \x48:i:s")."\x27,'rev\x65nda','Adm\x69\x6e','".${$yhdkidjugbfq}."')";${${"\x47LOBA\x4c\x53"}["\x71\x64\x6e\x72\x6e\x6ah\x6c\x74"]}=$conn->prepare(${${"G\x4c\x4f\x42AL\x53"}["\x71dn\x72njh\x6c\x74"]});$notins->execute();echo myalertuser("s\x75cces\x73","\x41dic\x69\x6fn\x61do c\x6fm su\x63es\x73o !","../.\x2e/ho\x6de\x2ep\x68\x70?\x70\x61\x67e=\x75s\x75\x61\x72\x69\x6f/ad\x64s\x65r\x76\x69do\x72");}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'qdnrnjhlt', 'value': 'notins'}, {'key': 'kburxkn', 'value': 'SQLSucesso'}, {'key': 'owmrmh', 'value': 'buscaserver3'}, {'key': 'yxrhraexqb', 'value': 'revendedor'}, {'key': 'ucmtkjwmuin', 'value': 'served'}, {'key': 'ecbcdxfotlf', 'value': 'buscaserver2'}, {'key': 'jvjcww', 'value': 'servidor'}, {'key': 'bivcqlidt', 'value': 'ele'}, {'key': 'jnesis', 'value': 'buscaeu'}, {'key': 'tcsnudsocvd', 'value': 'limite'}]

Stats

MD5 bce6478863f6aab19c3df4b797550bfb
Eval Count 0
Decode Time 54 ms