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\x4c\x4f\x42\x41\x4cS"}["\x6bzr\x77\x79c\x6a"]="msg";${"\x47\x4c\x4f\x42\x41\..

Decoded Output download

<?php ${"GLOBALS"}["kzrwycj"]="msg";${"GLOBALS"}["latqnokg"]="usuarion";${"GLOBALS"}["kcpxnuymdl"]="revenda";${"GLOBALS"}["qrbqtfa"]="SQLrev";${"GLOBALS"}["amrwwlbw"]="tipo";${"GLOBALS"}["pujkegx"]="revendedor";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");protegePagina("user");if(isset($_POST["iduser"])){$daijuzgq="msg";${${"GLOBALS"}["pujkegx"]}=sql_injector($_POST["iduser"]);${"GLOBALS"}["bjeeqako"]="SQLrev";$svtxdypr="usuarion";${${"GLOBALS"}["amrwwlbw"]}=sql_injector($_POST["tipo"]);$futvoer="notins";${"GLOBALS"}["nmzlhmlqnzc"]="tipo";${$daijuzgq}=sql_injector($_POST["msg"]);$menfliwt="tipo";${${"GLOBALS"}["qrbqtfa"]}="SELECT * FROM usuario where id_usuario='".${${"GLOBALS"}["pujkegx"]}."' and subrevenda='nao' and id_mestre='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["qrbqtfa"]}=$conn->prepare(${${"GLOBALS"}["bjeeqako"]});$SQLrev->execute();if($SQLrev->rowCount()<=0){echo"<script type=\"text/javascript\">";echo"alert("Usuario VPN No encontrado!");";echo"window.location=\"../../home.php?page=usuario/listar";";echo"</script>";exit;}${"GLOBALS"}["shljvf"]="tipo";${${"GLOBALS"}["kcpxnuymdl"]}=$SQLrev->fetch();${"GLOBALS"}["nfyjtplobdsg"]="msg";switch(${${"GLOBALS"}["shljvf"]}){case 1:${${"GLOBALS"}["amrwwlbw"]}="usuario";break;case 2:${$menfliwt}="outros";break;default:${${"GLOBALS"}["nmzlhmlqnzc"]}="erro";break;}${"GLOBALS"}["akiguepssre"]="notins";if(${${"GLOBALS"}["amrwwlbw"]}=="erro"){echo"<script type="text/javascript\">";echo"alert("Erro no tipo escolha outro!");";echo"window.location=\"../../home.php?page=usuario/listar\";";echo"</script>";exit;}${${"GLOBALS"}["latqnokg"]}=${${"GLOBALS"}["kcpxnuymdl"]}["id_usuario"];${"GLOBALS"}["lrtdnxqs"]="notins";${${"GLOBALS"}["nfyjtplobdsg"]}=${${"GLOBALS"}["kzrwycj"]};${$futvoer}="INSERT INTO notificacoes (usuario_id,data,tipo,mensagem) values ('".${$svtxdypr}."','".date("Y-m-d H:i:s")."','".${${"GLOBALS"}["amrwwlbw"]}."','".${${"GLOBALS"}["kzrwycj"]}."')";${${"GLOBALS"}["lrtdnxqs"]}=$conn->prepare(${${"GLOBALS"}["akiguepssre"]});$notins->execute();echo"<script type="text/javascript">";echo"alert("Usurio Reportado com Sucesso!\");";echo"window.location=\"../../home.php?page=usuario/listar";";echo"</script>";} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6bzr\x77\x79c\x6a"]="msg";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x61t\x71\x6e\x6f\x6bg"]="us\x75ari\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x63px\x6e\x75\x79mdl"]="\x72\x65\x76\x65\x6ed\x61";${"\x47L\x4f\x42\x41L\x53"}["q\x72\x62qt\x66\x61"]="\x53Q\x4c\x72\x65\x76";${"\x47LO\x42A\x4cS"}["a\x6d\x72\x77w\x6c\x62w"]="t\x69\x70\x6f";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x75\x6a\x6be\x67\x78"]="\x72\x65ve\x6e\x64\x65\x64\x6f\x72";require_once("\x2e./../\x70ag\x65s/s\x79ste\x6d/se\x67\x75\x72\x61\x6ec\x61.php");require_once("../\x2e./\x70a\x67e\x73/\x73\x79\x73t\x65m/\x63\x6f\x6e\x66ig\x2e\x70hp");require_once("\x2e./../pag\x65s/\x73y\x73tem/\x66\x75\x6ec\x6f\x65\x73.p\x68p");require_once(".\x2e/\x2e\x2e/\x70a\x67\x65\x73/\x73\x79\x73\x74e\x6d/\x63l\x61s\x73e\x2e\x73\x73\x68\x2e\x70\x68p");protegePagina("\x75\x73e\x72");if(isset($_POST["\x69\x64\x75s\x65r"])){$daijuzgq="\x6ds\x67";${${"G\x4c\x4f\x42\x41L\x53"}["\x70\x75\x6ak\x65\x67\x78"]}=sql_injector($_POST["idus\x65\x72"]);${"\x47\x4cO\x42\x41\x4c\x53"}["b\x6ae\x65q\x61\x6b\x6f"]="\x53QLr\x65\x76";$svtxdypr="\x75\x73u\x61\x72i\x6fn";${${"\x47LO\x42\x41\x4c\x53"}["\x61\x6d\x72\x77\x77l\x62w"]}=sql_injector($_POST["t\x69po"]);$futvoer="\x6eo\x74i\x6es";${"GL\x4f\x42\x41\x4cS"}["\x6e\x6dz\x6ch\x6d\x6cq\x6e\x7a\x63"]="\x74i\x70o";${$daijuzgq}=sql_injector($_POST["m\x73\x67"]);$menfliwt="\x74\x69\x70\x6f";${${"G\x4c\x4f\x42ALS"}["q\x72\x62\x71\x74\x66a"]}="\x53\x45LEC\x54 *\x20\x46\x52\x4f\x4d\x20\x75su\x61\x72\x69o \x77h\x65r\x65 \x69d_\x75s\x75\x61ri\x6f='".${${"GL\x4fB\x41\x4c\x53"}["\x70uj\x6b\x65\x67\x78"]}."'\x20\x61\x6e\x64\x20su\x62\x72ev\x65\x6ed\x61\x3d'\x6eao\x27 and\x20\x69\x64_\x6dest\x72\x65\x3d'".$_SESSION["us\x75\x61rio\x49D"]."'";${${"G\x4c\x4f\x42A\x4cS"}["\x71\x72\x62q\x74\x66\x61"]}=$conn->prepare(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x6a\x65\x65\x71ako"]});$SQLrev->execute();if($SQLrev->rowCount()<=0){echo"\x3cscr\x69\x70t \x74y\x70\x65\x3d\"\x74\x65xt/jav\x61\x73\x63ri\x70\x74\">";echo"\x61\x6c\x65r\x74(\x22U\x73\x75a\x72io\x20\x56\x50\x4e\x20\x4eo\x20\x65\x6e\x63on\x74r\x61d\x6f!\x22);";echo"w\x69ndow\x2el\x6f\x63\x61tio\x6e\x3d\"../.\x2e/\x68ome\x2e\x70h\x70?p\x61g\x65\x3dus\x75\x61ri\x6f/li\x73\x74\x61\x72\x22\x3b";echo"</\x73\x63\x72ip\x74>";exit;}${"G\x4cOB\x41LS"}["sh\x6cjv\x66"]="\x74\x69\x70o";${${"\x47\x4c\x4fB\x41L\x53"}["\x6bc\x70x\x6eu\x79md\x6c"]}=$SQLrev->fetch();${"\x47L\x4fB\x41L\x53"}["n\x66y\x6a\x74pl\x6fbds\x67"]="\x6ds\x67";switch(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73\x68lj\x76\x66"]}){case 1:${${"\x47\x4c\x4f\x42\x41L\x53"}["\x61mr\x77\x77l\x62\x77"]}="\x75\x73\x75\x61\x72\x69o";break;case 2:${$menfliwt}="ou\x74ro\x73";break;default:${${"\x47\x4c\x4fB\x41L\x53"}["\x6emz\x6c\x68\x6dlq\x6e\x7a\x63"]}="e\x72r\x6f";break;}${"\x47\x4c\x4f\x42A\x4cS"}["\x61\x6b\x69\x67uep\x73\x73\x72\x65"]="\x6e\x6ftin\x73";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["amr\x77w\x6c\x62\x77"]}=="\x65rr\x6f"){echo"\x3c\x73\x63\x72ip\x74 typ\x65\x3d\x22\x74e\x78t/\x6a\x61\x76as\x63\x72\x69\x70t\">";echo"alert(\x22\x45r\x72o\x20\x6eo\x20\x74i\x70o\x20e\x73\x63\x6flha\x20o\x75tr\x6f\x21\x22)\x3b";echo"win\x64\x6f\x77\x2el\x6fcati\x6f\x6e\x3d\".\x2e/\x2e./home\x2eph\x70?\x70\x61ge=\x75s\x75ar\x69o/l\x69\x73\x74ar\"\x3b";echo"\x3c/\x73\x63r\x69p\x74>";exit;}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x61\x74\x71\x6eo\x6b\x67"]}=${${"\x47LO\x42\x41\x4cS"}["\x6bc\x70\x78n\x75\x79\x6d\x64\x6c"]}["\x69d\x5f\x75\x73\x75a\x72io"];${"G\x4c\x4f\x42\x41L\x53"}["\x6c\x72t\x64\x6e\x78\x71\x73"]="\x6e\x6f\x74\x69\x6e\x73";${${"\x47\x4c\x4fBA\x4c\x53"}["\x6ef\x79\x6a\x74p\x6c\x6fbd\x73\x67"]}=${${"GL\x4fB\x41\x4c\x53"}["\x6b\x7ar\x77y\x63j"]};${$futvoer}="I\x4eS\x45RT\x20\x49NT\x4f\x20\x6eo\x74i\x66\x69c\x61\x63\x6fes (\x75\x73\x75\x61rio\x5f\x69d,d\x61\x74a,\x74\x69\x70o,mensag\x65m) \x76\x61\x6c\x75\x65s (\x27".${$svtxdypr}."\x27,'".date("Y-m-d H:\x69:\x73")."',\x27".${${"G\x4cO\x42AL\x53"}["\x61mrw\x77\x6cb\x77"]}."\x27,\x27".${${"\x47LOB\x41\x4c\x53"}["\x6b\x7arwyc\x6a"]}."')";${${"\x47\x4c\x4fBAL\x53"}["\x6c\x72\x74\x64\x6ex\x71\x73"]}=$conn->prepare(${${"G\x4cO\x42A\x4c\x53"}["\x61\x6b\x69\x67\x75\x65ps\x73\x72e"]});$notins->execute();echo"\x3csc\x72ip\x74\x20\x74y\x70e\x3d\x22\x74\x65xt/\x6aav\x61\x73c\x72i\x70\x74\x22\x3e";echo"\x61ler\x74(\x22U\x73ur\x69\x6f R\x65por\x74\x61\x64o\x20\x63\x6f\x6d\x20S\x75\x63\x65\x73\x73\x6f!\");";echo"\x77\x69n\x64ow.\x6co\x63a\x74i\x6f\x6e=\".\x2e/\x2e\x2e/h\x6fm\x65.p\x68p?\x70age=\x75sua\x72i\x6f/\x6c\x69\x73\x74a\x72\x22\x3b";echo"</scri\x70t>";}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'kzrwycj', 'value': 'msg'}, {'key': 'latqnokg', 'value': 'usuarion'}, {'key': 'kcpxnuymdl', 'value': 'revenda'}, {'key': 'qrbqtfa', 'value': 'SQLrev'}, {'key': 'amrwwlbw', 'value': 'tipo'}, {'key': 'pujkegx', 'value': 'revendedor'}]

Stats

MD5 d8b82ecbfd38607f9771073126dfe7a6
Eval Count 0
Decode Time 78 ms