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"}["\x79\x70\x66\x6d\x61\x77\x68\x70v\x73x"]="\x53Q\x4c\x45\x7..

Decoded Output download

<?php ${"GLOBALS"}["ypfmawhpvsx"]="SQLExcluiAcesso";${"GLOBALS"}["gvrbylusmbl"]="server";${"GLOBALS"}["meyeiukor"]="msg";${"GLOBALS"}["ishzmjmuh"]="SQLserver";${"GLOBALS"}["fgmbgrj"]="acesso3";${"GLOBALS"}["ozsnrydq"]="SQLUpdateSSH3";${"GLOBALS"}["itrijcvnul"]="SQLreset";${"GLOBALS"}["pmoxgytgovx"]="acesso";${"GLOBALS"}["dfstdkuuy"]="SQLAcesso";${"GLOBALS"}["bbvxdiurown"]="subrevendedor";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["servidor"])){${"GLOBALS"}["dsqzkxsy"]="servidor";$qllxvuqk="servidor";${$qllxvuqk}=sql_injector($_POST["servidor"]);${${"GLOBALS"}["bbvxdiurown"]}=sql_injector($_POST["cliente"]);${${"GLOBALS"}["dfstdkuuy"]}="select * from acesso_servidor where id_acesso_servidor = '".${${"GLOBALS"}["dsqzkxsy"]}."' and id_mestre='".$_SESSION["usuarioID"]."'";$xkgfifnwnte="SQLAcesso";${$xkgfifnwnte}=$conn->prepare(${${"GLOBALS"}["dfstdkuuy"]});$SQLAcesso->execute();if($SQLAcesso->rowCount()==0){echo myalertuser("success","Servidor no encontrado!","../../home.php?page=subrevenda/alocados");exit;}else{$dhuunvrxai="usuario";${"GLOBALS"}["ruowoav"]="SQLserver";${${"GLOBALS"}["pmoxgytgovx"]}=$SQLAcesso->fetch();$utmvjpvpxzt="acesso";${"GLOBALS"}["tpgwhktgqn"]="acesso";${"GLOBALS"}["nzmarwgvhum"]="acesso";${"GLOBALS"}["njnuyldlysf"]="SQLreset";${"GLOBALS"}["dotgyiyrt"]="server";${"GLOBALS"}["whjfydlie"]="SQLreset";${${"GLOBALS"}["whjfydlie"]}="select * from usuario where id_mestre='".${${"GLOBALS"}["pmoxgytgovx"]}["id_usuario"]."'";$aokxzwann="acesso";${${"GLOBALS"}["itrijcvnul"]}=$conn->prepare(${${"GLOBALS"}["njnuyldlysf"]});$ciilbtl="notins";$SQLreset->execute();${"GLOBALS"}["vkatydjpbg"]="SQLserver";if($SQLreset->rowCount()>0){${"GLOBALS"}["pejnbsg"]="acesso3";while(${${"GLOBALS"}["pejnbsg"]}=$SQLreset->fetch()){${"GLOBALS"}["nnxivmficc"]="SQLUpdateSSH3";${"GLOBALS"}["omfzumypsits"]="acesso";${"GLOBALS"}["ltppfyc"]="SQLUpdateSSH3";${${"GLOBALS"}["ozsnrydq"]}="update conta_ssh set status='3', apagar='3', id_usuario='0' where id_servidor='".${${"GLOBALS"}["omfzumypsits"]}["id_servidor"]."' and id_usuario='".${${"GLOBALS"}["fgmbgrj"]}["id_usuario"]."'";${${"GLOBALS"}["ltppfyc"]}=$conn->prepare(${${"GLOBALS"}["nnxivmficc"]});$SQLUpdateSSH3->execute();}}${${"GLOBALS"}["vkatydjpbg"]}="select * from servidor WHERE id_servidor = '".${$aokxzwann}["id_servidor"]."'";${${"GLOBALS"}["ishzmjmuh"]}=$conn->prepare(${${"GLOBALS"}["ruowoav"]});$cgftjuf="acesso";$SQLserver->execute();$pvykxdux="notins";${${"GLOBALS"}["dotgyiyrt"]}=$SQLserver->fetch();$gwcpdefk="notins";${${"GLOBALS"}["meyeiukor"]}="O Revendedor <b>".${$dhuunvrxai}["nome"]."</b> deletou seu(s) acesso(s) ao servidor <small><b>".${${"GLOBALS"}["gvrbylusmbl"]}["nome"]."</b></small>!";${$pvykxdux}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${$utmvjpvpxzt}["id_usuario"]."','".date("Y-m-d H:i:s")."','revenda','Admin','".${${"GLOBALS"}["meyeiukor"]}."')";${$gwcpdefk}=$conn->prepare(${$ciilbtl});$notins->execute();${${"GLOBALS"}["ypfmawhpvsx"]}="delete from acesso_servidor WHERE id_acesso_servidor = '".${$cgftjuf}["id_acesso_servidor"]."' and id_usuario='".${${"GLOBALS"}["nzmarwgvhum"]}["id_usuario"]."'";${"GLOBALS"}["heqynylzxdes"]="SQLExcluiAcesso";${${"GLOBALS"}["heqynylzxdes"]}=$conn->prepare(${${"GLOBALS"}["ypfmawhpvsx"]});$SQLExcluiAcesso->execute();echo myalertuser("success","Deletado com sucesso!","../../home.php?page=usuario/perfil&id_usuario=".${${"GLOBALS"}["tpgwhktgqn"]}["id_usuario"]."");}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cOB\x41L\x53"}["\x79\x70\x66\x6d\x61\x77\x68\x70v\x73x"]="\x53Q\x4c\x45\x78\x63\x6c\x75iA\x63e\x73\x73o";${"\x47\x4cO\x42A\x4c\x53"}["\x67\x76\x72\x62\x79l\x75\x73\x6d\x62\x6c"]="se\x72ve\x72";${"G\x4c\x4f\x42AL\x53"}["m\x65\x79e\x69u\x6b\x6f\x72"]="\x6d\x73g";${"\x47\x4cO\x42\x41L\x53"}["\x69\x73\x68z\x6d\x6a\x6d\x75\x68"]="\x53\x51\x4c\x73\x65\x72\x76\x65\x72";${"GLOBA\x4c\x53"}["\x66\x67mb\x67\x72\x6a"]="\x61\x63ess\x6f\x33";${"\x47L\x4f\x42AL\x53"}["\x6f\x7a\x73\x6er\x79\x64q"]="S\x51L\x55\x70\x64\x61teSS\x48\x33";${"\x47\x4cO\x42A\x4cS"}["i\x74\x72ij\x63\x76n\x75\x6c"]="SQ\x4c\x72\x65s\x65t";${"\x47\x4cO\x42\x41\x4cS"}["\x70m\x6f\x78g\x79\x74\x67\x6fv\x78"]="\x61\x63e\x73so";${"\x47\x4c\x4fBA\x4c\x53"}["\x64\x66\x73t\x64\x6bu\x75\x79"]="SQ\x4c\x41\x63\x65s\x73\x6f";${"\x47\x4cO\x42\x41\x4cS"}["b\x62v\x78d\x69\x75r\x6f\x77n"]="su\x62\x72e\x76e\x6e\x64\x65\x64or";require_once(".\x2e/\x2e./\x70\x61\x67\x65s/sys\x74\x65\x6d/\x73e\x67\x75r\x61\x6e\x63a.\x70h\x70");require_once("../.\x2e/p\x61\x67\x65s/\x73\x79\x73tem/\x63onfig\x2e\x70hp");require_once("\x2e./.\x2e/pages/\x73ys\x74e\x6d/f\x75n\x63\x6f\x65\x73\x2ep\x68\x70");require_once("\x2e./../\x70\x61\x67\x65s/\x73\x79\x73\x74e\x6d/c\x6casse.\x73\x73h.ph\x70");require_once("../\x2e\x2e/\x70\x61ges/\x73ys\x74\x65m/\x66u\x6ec\x6fe\x73.\x73\x79\x73t\x65m.ph\x70");protegePagina("\x75\x73e\x72");if(isset($_POST["s\x65rvi\x64o\x72"])){${"G\x4c\x4f\x42\x41L\x53"}["d\x73\x71\x7ak\x78s\x79"]="\x73erv\x69\x64\x6f\x72";$qllxvuqk="\x73\x65\x72\x76\x69\x64\x6f\x72";${$qllxvuqk}=sql_injector($_POST["s\x65\x72\x76\x69\x64or"]);${${"G\x4c\x4f\x42A\x4cS"}["bb\x76x\x64iu\x72o\x77n"]}=sql_injector($_POST["\x63li\x65nt\x65"]);${${"\x47LO\x42A\x4c\x53"}["\x64\x66s\x74\x64\x6b\x75u\x79"]}="\x73e\x6cec\x74\x20* from a\x63\x65s\x73\x6f_s\x65rv\x69dor \x77\x68\x65re i\x64_a\x63\x65\x73so\x5f\x73e\x72\x76i\x64\x6f\x72 =\x20'".${${"\x47\x4cO\x42\x41\x4cS"}["\x64s\x71\x7a\x6bx\x73\x79"]}."\x27 a\x6e\x64 \x69\x64\x5fmest\x72e='".$_SESSION["us\x75\x61ri\x6f\x49\x44"]."'";$xkgfifnwnte="\x53QL\x41c\x65\x73so";${$xkgfifnwnte}=$conn->prepare(${${"\x47\x4c\x4fB\x41\x4cS"}["dfs\x74\x64\x6b\x75\x75\x79"]});$SQLAcesso->execute();if($SQLAcesso->rowCount()==0){echo myalertuser("s\x75cc\x65s\x73","\x53\x65r\x76\x69d\x6f\x72\x20no\x20e\x6e\x63o\x6et\x72\x61\x64\x6f\x21","\x2e./.\x2e/h\x6f\x6de.\x70hp?\x70ag\x65\x3ds\x75br\x65\x76\x65\x6e\x64a/a\x6co\x63\x61\x64\x6fs");exit;}else{$dhuunvrxai="\x75\x73u\x61\x72\x69\x6f";${"\x47\x4cO\x42\x41\x4cS"}["r\x75o\x77\x6fav"]="\x53\x51L\x73e\x72\x76\x65\x72";${${"GL\x4f\x42\x41L\x53"}["pm\x6f\x78\x67yt\x67ov\x78"]}=$SQLAcesso->fetch();$utmvjpvpxzt="\x61\x63\x65\x73so";${"\x47LOB\x41\x4c\x53"}["\x74\x70\x67\x77h\x6b\x74\x67\x71n"]="a\x63e\x73\x73o";${"\x47\x4cO\x42\x41L\x53"}["\x6e\x7a\x6dar\x77\x67vh\x75\x6d"]="\x61\x63\x65s\x73o";${"\x47\x4cOB\x41LS"}["\x6ejnu\x79\x6cd\x6c\x79s\x66"]="SQ\x4cr\x65\x73\x65\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x6f\x74\x67\x79\x69\x79\x72\x74"]="\x73e\x72\x76\x65\x72";${"\x47\x4c\x4f\x42\x41LS"}["\x77h\x6a\x66\x79\x64\x6c\x69\x65"]="S\x51\x4cre\x73e\x74";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77h\x6a\x66\x79\x64\x6ci\x65"]}="sel\x65\x63t * \x66\x72\x6f\x6d\x20u\x73u\x61rio \x77\x68ere\x20i\x64\x5f\x6destre\x3d'".${${"\x47L\x4f\x42\x41L\x53"}["\x70m\x6f\x78g\x79\x74gov\x78"]}["id_us\x75ar\x69\x6f"]."'";$aokxzwann="\x61c\x65\x73\x73o";${${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x74rij\x63v\x6e\x75\x6c"]}=$conn->prepare(${${"\x47\x4c\x4fB\x41L\x53"}["\x6ej\x6e\x75y\x6c\x64ly\x73\x66"]});$ciilbtl="\x6e\x6f\x74i\x6es";$SQLreset->execute();${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76k\x61\x74y\x64\x6apb\x67"]="S\x51Ls\x65r\x76e\x72";if($SQLreset->rowCount()>0){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70\x65\x6anbs\x67"]="a\x63\x65\x73\x73o\x33";while(${${"\x47LOB\x41\x4c\x53"}["p\x65j\x6eb\x73\x67"]}=$SQLreset->fetch()){${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x6e\x78\x69\x76\x6dficc"]="\x53\x51\x4cU\x70d\x61\x74\x65SSH3";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6d\x66\x7a\x75\x6d\x79p\x73\x69\x74\x73"]="\x61\x63\x65\x73so";${"\x47\x4cO\x42\x41LS"}["\x6ct\x70\x70f\x79\x63"]="S\x51\x4c\x55pd\x61\x74\x65\x53S\x48\x33";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x7asn\x72ydq"]}="upda\x74\x65\x20\x63on\x74a\x5fs\x73\x68 se\x74 statu\x73='3\x27, apa\x67\x61\x72='3', \x69\x64\x5f\x75su\x61\x72\x69o=\x270\x27\x20whe\x72e\x20i\x64\x5f\x73e\x72\x76i\x64\x6f\x72='".${${"\x47\x4cOB\x41\x4cS"}["\x6fm\x66z\x75mypsit\x73"]}["id\x5fse\x72\x76idor"]."'\x20\x61\x6e\x64 \x69d\x5f\x75\x73uar\x69\x6f\x3d\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x67\x6db\x67r\x6a"]}["i\x64_\x75s\x75a\x72\x69\x6f"]."'";${${"G\x4c\x4f\x42\x41\x4cS"}["\x6c\x74\x70\x70\x66\x79\x63"]}=$conn->prepare(${${"\x47\x4cO\x42A\x4c\x53"}["n\x6ex\x69v\x6d\x66i\x63c"]});$SQLUpdateSSH3->execute();}}${${"G\x4c\x4f\x42ALS"}["v\x6ba\x74\x79\x64j\x70\x62\x67"]}="\x73\x65\x6c\x65\x63t\x20* fr\x6f\x6d \x73\x65\x72vi\x64o\x72\x20W\x48ER\x45 \x69d_\x73ervidor\x20= \x27".${$aokxzwann}["id\x5fse\x72vid\x6f\x72"]."'";${${"G\x4cOBA\x4c\x53"}["is\x68\x7a\x6d\x6a\x6d\x75h"]}=$conn->prepare(${${"GLO\x42\x41\x4c\x53"}["r\x75\x6f\x77\x6f\x61\x76"]});$cgftjuf="a\x63\x65s\x73\x6f";$SQLserver->execute();$pvykxdux="\x6e\x6f\x74i\x6e\x73";${${"\x47\x4cOB\x41\x4c\x53"}["\x64\x6f\x74\x67y\x69\x79\x72\x74"]}=$SQLserver->fetch();$gwcpdefk="\x6e\x6ft\x69\x6e\x73";${${"GLOB\x41\x4c\x53"}["m\x65\x79\x65i\x75\x6b\x6f\x72"]}="\x4f Re\x76e\x6ed\x65dor\x20\x3c\x62>".${$dhuunvrxai}["\x6eom\x65"]."</\x62\x3e \x64e\x6ce\x74\x6fu\x20\x73\x65u(s) ac\x65\x73\x73o(\x73)\x20a\x6f\x20s\x65\x72v\x69d\x6fr <sm\x61ll\x3e<b>".${${"G\x4c\x4f\x42A\x4cS"}["\x67\x76\x72\x62\x79l\x75\x73\x6d\x62\x6c"]}["\x6e\x6fm\x65"]."</b></s\x6d\x61\x6c\x6c>!";${$pvykxdux}="I\x4eSE\x52\x54\x20\x49\x4eTO\x20\x6eo\x74\x69fic\x61co\x65s\x20(u\x73\x75\x61r\x69o_\x69\x64,\x64a\x74a,\x74ipo,lin\x6b\x66atura,\x6d\x65nsa\x67em)\x20v\x61lu\x65\x73\x20(\x27".${$utmvjpvpxzt}["id\x5f\x75\x73ua\x72\x69o"]."\x27,\x27".date("Y-\x6d-d\x20\x48:i:\x73")."',\x27\x72\x65vend\x61',\x27Adm\x69\x6e\x27,\x27".${${"\x47\x4c\x4fBALS"}["\x6de\x79\x65i\x75\x6b\x6f\x72"]}."\x27)";${$gwcpdefk}=$conn->prepare(${$ciilbtl});$notins->execute();${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x70\x66\x6da\x77\x68\x70v\x73\x78"]}="delete\x20\x66r\x6fm \x61\x63\x65sso_\x73e\x72v\x69\x64\x6fr\x20\x57\x48\x45\x52\x45\x20id_ac\x65\x73\x73o\x5fs\x65rv\x69d\x6f\x72 =\x20'".${$cgftjuf}["i\x64_a\x63\x65\x73\x73o\x5fse\x72\x76id\x6fr"]."' a\x6ed\x20id_usu\x61\x72\x69\x6f=\x27".${${"\x47\x4c\x4fBA\x4c\x53"}["n\x7a\x6da\x72w\x67v\x68\x75\x6d"]}["\x69\x64_usu\x61\x72\x69o"]."'";${"G\x4c\x4f\x42\x41L\x53"}["h\x65q\x79ny\x6c\x7axd\x65\x73"]="SQ\x4cEx\x63l\x75i\x41ce\x73\x73\x6f";${${"GL\x4f\x42\x41L\x53"}["\x68\x65\x71\x79nylzxdes"]}=$conn->prepare(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x70\x66\x6d\x61\x77\x68p\x76\x73\x78"]});$SQLExcluiAcesso->execute();echo myalertuser("\x73ucc\x65s\x73","\x44\x65l\x65\x74ad\x6f c\x6f\x6d\x20su\x63\x65\x73\x73o\x21","../../\x68ome\x2ep\x68\x70?p\x61g\x65\x3d\x75sua\x72\x69o/\x70\x65r\x66\x69l&id_\x75su\x61r\x69o\x3d".${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x70gw\x68ktgq\x6e"]}["\x69\x64_u\x73u\x61rio"]."");}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'ypfmawhpvsx', 'value': 'SQLExcluiAcesso'}, {'key': 'gvrbylusmbl', 'value': 'server'}, {'key': 'meyeiukor', 'value': 'msg'}, {'key': 'ishzmjmuh', 'value': 'SQLserver'}, {'key': 'fgmbgrj', 'value': 'acesso3'}, {'key': 'ozsnrydq', 'value': 'SQLUpdateSSH3'}, {'key': 'itrijcvnul', 'value': 'SQLreset'}, {'key': 'pmoxgytgovx', 'value': 'acesso'}, {'key': 'dfstdkuuy', 'value': 'SQLAcesso'}, {'key': 'bbvxdiurown', 'value': 'subrevendedor'}]

Stats

MD5 0c3ef61a298cc6e0ad94adf6a806276d
Eval Count 0
Decode Time 68 ms