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 ${"G\x4cOB\x41LS"}["mjz\x6a\x65\x64\x6e\x6bk\x72"]="\x6eot\x69n\x73";${"GL\x4f\x42\x..

Decoded Output download

<?php ${"GLOBALS"}["mjzjednkkr"]="notins";${"GLOBALS"}["rwdeavzre"]="tipo";${"GLOBALS"}["rehkwrup"]="revenda";${"GLOBALS"}["xxbknre"]="revendedor";${"GLOBALS"}["nuujlcpqcmw"]="SQLrev";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["idsubrev"])){$ylhusxobk="revendedor";$mqpzohmipxl="tipo";${"GLOBALS"}["wkfwvoe"]="msg";$iwpjhbehj="msg";${"GLOBALS"}["gemnqjdtwxk"]="SQLrev";${"GLOBALS"}["jukeofq"]="msg";$qirtyclnf="tipo";$ubcnlvptjlua="usuarion";${$ylhusxobk}=sql_injector($_POST["idsubrev"]);${$qirtyclnf}=sql_injector($_POST["tipo"]);${${"GLOBALS"}["wkfwvoe"]}=sql_injector($_POST["msg"]);${${"GLOBALS"}["nuujlcpqcmw"]}="SELECT * FROM usuario where id_usuario='".${${"GLOBALS"}["xxbknre"]}."' and subrevenda='sim' and id_mestre='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["gemnqjdtwxk"]}=$conn->prepare(${${"GLOBALS"}["nuujlcpqcmw"]});$SQLrev->execute();if($SQLrev->rowCount()<=0){echo myalertuser("error","Nao encontrado!","../../home.php?page=subrevenda/revendedores");exit;}${${"GLOBALS"}["rehkwrup"]}=$SQLrev->fetch();if(${${"GLOBALS"}["rehkwrup"]}["tipo"]<>"revenda"){echo myalertuser("error","Usurio invalido!","../../home.php?page=subrevenda/revendedores");exit;}$wnwdrbplhrrs="tipo";$sjyrmr="tipo";switch(${$sjyrmr}){case 1:${${"GLOBALS"}["rwdeavzre"]}="subrevenda";break;case 2:${${"GLOBALS"}["rwdeavzre"]}="outros";break;default:${$wnwdrbplhrrs}="erro";break;}$sgvbnfyz="usuarion";$kqescyk="notins";if(${$mqpzohmipxl}=="erro"){echo myalertuser("error","Selecione o tipo!","../../home.php?page=subrevenda/revendedores");exit;}$fnfzglfdqpw="msg";${$ubcnlvptjlua}=${${"GLOBALS"}["rehkwrup"]}["id_usuario"];${${"GLOBALS"}["jukeofq"]}=${$iwpjhbehj};${${"GLOBALS"}["mjzjednkkr"]}="INSERT INTO notificacoes (usuario_id,data,tipo,mensagem) values ('".${$sgvbnfyz}."','".date("Y-m-d H:i:s")."','".${${"GLOBALS"}["rwdeavzre"]}."','".${$fnfzglfdqpw}."')";${${"GLOBALS"}["mjzjednkkr"]}=$conn->prepare(${$kqescyk});$notins->execute();echo myalertuser("success","Notificado com sucesso !","../../home.php?page=subrevenda/revendedores");} 
?>

Did this file decode correctly?

Original Code

<?php ${"G\x4cOB\x41LS"}["mjz\x6a\x65\x64\x6e\x6bk\x72"]="\x6eot\x69n\x73";${"GL\x4f\x42\x41L\x53"}["r\x77dea\x76\x7ar\x65"]="t\x69p\x6f";${"G\x4cO\x42A\x4c\x53"}["\x72e\x68kw\x72\x75\x70"]="r\x65v\x65\x6e\x64a";${"G\x4c\x4f\x42\x41\x4cS"}["x\x78\x62kn\x72\x65"]="\x72\x65v\x65\x6ed\x65\x64or";${"\x47\x4c\x4fB\x41L\x53"}["\x6eu\x75\x6a\x6c\x63\x70\x71c\x6d\x77"]="SQL\x72\x65v";require_once(".\x2e/\x2e./p\x61ge\x73/\x73\x79st\x65\x6d/\x73\x65g\x75ra\x6eca\x2e\x70h\x70");require_once(".\x2e/\x2e\x2e/pages/\x73ys\x74em/co\x6ef\x69\x67.p\x68\x70");require_once("\x2e./.\x2e/\x70a\x67\x65s/\x73ystem/\x66\x75\x6e\x63oes\x2ep\x68\x70");require_once("\x2e./\x2e./p\x61ges/sy\x73\x74\x65\x6d/c\x6cas\x73\x65.\x73s\x68.\x70\x68\x70");require_once("\x2e./../p\x61\x67\x65\x73/\x73y\x73t\x65\x6d/fu\x6ecoe\x73.\x73\x79ste\x6d\x2eph\x70");protegePagina("\x75ser");if(isset($_POST["\x69\x64\x73\x75\x62r\x65v"])){$ylhusxobk="\x72\x65ve\x6e\x64\x65\x64or";$mqpzohmipxl="\x74\x69\x70o";${"\x47\x4cOB\x41L\x53"}["\x77\x6bfwv\x6f\x65"]="\x6d\x73\x67";$iwpjhbehj="m\x73\x67";${"G\x4c\x4f\x42\x41LS"}["\x67\x65\x6d\x6e\x71j\x64\x74\x77xk"]="S\x51\x4c\x72\x65\x76";${"G\x4c\x4f\x42A\x4cS"}["\x6a\x75\x6b\x65of\x71"]="\x6d\x73g";$qirtyclnf="\x74\x69\x70\x6f";$ubcnlvptjlua="u\x73\x75\x61r\x69\x6fn";${$ylhusxobk}=sql_injector($_POST["\x69d\x73\x75\x62r\x65v"]);${$qirtyclnf}=sql_injector($_POST["ti\x70\x6f"]);${${"\x47\x4cOB\x41\x4c\x53"}["\x77\x6bf\x77\x76\x6f\x65"]}=sql_injector($_POST["\x6d\x73g"]);${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6eu\x75\x6a\x6c\x63\x70\x71\x63mw"]}="SE\x4cE\x43T\x20* \x46\x52OM \x75\x73\x75ari\x6f \x77\x68\x65\x72\x65 i\x64_u\x73ua\x72\x69o\x3d'".${${"\x47\x4cO\x42A\x4c\x53"}["\x78\x78\x62\x6bnre"]}."'\x20a\x6e\x64\x20su\x62r\x65\x76e\x6e\x64a\x3d\x27\x73\x69m\x27\x20an\x64\x20\x69\x64_m\x65s\x74re=\x27".$_SESSION["usua\x72i\x6fID"]."\x27";${${"\x47\x4cOB\x41L\x53"}["\x67\x65\x6d\x6e\x71\x6a\x64\x74\x77\x78k"]}=$conn->prepare(${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x75\x75\x6al\x63\x70\x71\x63\x6d\x77"]});$SQLrev->execute();if($SQLrev->rowCount()<=0){echo myalertuser("\x65rr\x6fr","\x4e\x61o e\x6e\x63o\x6et\x72\x61\x64o!",".\x2e/\x2e\x2e/\x68\x6fme.php?\x70\x61ge\x3dsu\x62reven\x64a/re\x76\x65nd\x65dor\x65\x73");exit;}${${"GLO\x42A\x4c\x53"}["\x72\x65hk\x77\x72\x75p"]}=$SQLrev->fetch();if(${${"\x47LOBA\x4c\x53"}["\x72e\x68k\x77r\x75\x70"]}["t\x69\x70o"]<>"\x72even\x64\x61"){echo myalertuser("e\x72\x72\x6fr","U\x73\x75\x72i\x6f i\x6eva\x6ci\x64o!","\x2e./../h\x6fm\x65.ph\x70?p\x61g\x65=s\x75b\x72eve\x6e\x64\x61/rev\x65nde\x64o\x72e\x73");exit;}$wnwdrbplhrrs="\x74\x69\x70\x6f";$sjyrmr="\x74i\x70o";switch(${$sjyrmr}){case 1:${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72w\x64ea\x76\x7a\x72e"]}="su\x62rev\x65n\x64a";break;case 2:${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72w\x64\x65a\x76\x7a\x72e"]}="\x6futro\x73";break;default:${$wnwdrbplhrrs}="\x65rro";break;}$sgvbnfyz="u\x73u\x61\x72ion";$kqescyk="\x6eo\x74i\x6e\x73";if(${$mqpzohmipxl}=="\x65rro"){echo myalertuser("erro\x72","\x53elec\x69\x6fne o t\x69\x70\x6f\x21","\x2e./\x2e./\x68\x6fm\x65.php?\x70\x61\x67e=\x73\x75br\x65\x76\x65nda/re\x76e\x6ed\x65\x64or\x65\x73");exit;}$fnfzglfdqpw="m\x73g";${$ubcnlvptjlua}=${${"\x47\x4cO\x42A\x4c\x53"}["\x72\x65\x68\x6b\x77r\x75p"]}["id\x5f\x75\x73\x75\x61r\x69o"];${${"\x47\x4cO\x42\x41\x4cS"}["\x6auk\x65ofq"]}=${$iwpjhbehj};${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x6a\x7a\x6a\x65\x64\x6e\x6b\x6br"]}="I\x4e\x53\x45RT\x20\x49NT\x4f\x20\x6e\x6f\x74ificac\x6fe\x73\x20(\x75s\x75ar\x69o\x5f\x69\x64,\x64\x61\x74a,\x74\x69\x70o,\x6de\x6e\x73\x61\x67em) v\x61\x6c\x75e\x73 ('".${$sgvbnfyz}."',\x27".date("\x59-m-d H:\x69:\x73")."','".${${"G\x4c\x4f\x42A\x4cS"}["\x72\x77\x64\x65\x61v\x7a\x72\x65"]}."\x27,\x27".${$fnfzglfdqpw}."')";${${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x6az\x6a\x65dn\x6b\x6b\x72"]}=$conn->prepare(${$kqescyk});$notins->execute();echo myalertuser("\x73u\x63ce\x73s","No\x74ifi\x63\x61do\x20c\x6f\x6d\x20\x73\x75c\x65\x73so\x20!","\x2e./.\x2e/\x68\x6fme.\x70\x68p?\x70\x61\x67e\x3d\x73u\x62r\x65ven\x64\x61/\x72even\x64\x65d\x6fr\x65\x73");}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'mjzjednkkr', 'value': 'notins'}, {'key': 'rwdeavzre', 'value': 'tipo'}, {'key': 'rehkwrup', 'value': 'revenda'}, {'key': 'xxbknre', 'value': 'revendedor'}, {'key': 'nuujlcpqcmw', 'value': 'SQLrev'}]

Stats

MD5 9d6dcd5d154aacdf969f63f67cf5541a
Eval Count 0
Decode Time 61 ms