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\x42\x41\x4c\x53"}["\x78\x6d\x74\x68\x6ex"]="ti\x70o";${"G\x4c\x4f\x42AL..

Decoded Output download

<?php ${"GLOBALS"}["xmthnx"]="tipo";${"GLOBALS"}["ktmzfxivo"]="notins";${"GLOBALS"}["dnarkllmyy"]="row";${"GLOBALS"}["btsrkufptzv"]="SQLcli";${"GLOBALS"}["ydutmwob"]="cliente";${"GLOBALS"}["xoajuot"]="clientes";${"GLOBALS"}["pfsusxumpcr"]="eu";${"GLOBALS"}["rnchmdvp"]="SQLeu";${"GLOBALS"}["jfotuzjref"]="msg";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["msg"])){$poaorqscq="clientes";${"GLOBALS"}["fmhjeyvu"]="cliente";${"GLOBALS"}["kwlwfizp"]="eu";${"GLOBALS"}["tzshyyt"]="eu";${$poaorqscq}=sql_injector($_POST["clientes"]);${${"GLOBALS"}["jfotuzjref"]}=sql_injector($_POST["msg"]);${${"GLOBALS"}["rnchmdvp"]}="SELECT * FROM usuario where id_usuario='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["rnchmdvp"]}=$conn->prepare(${${"GLOBALS"}["rnchmdvp"]});$SQLeu->execute();${${"GLOBALS"}["tzshyyt"]}=$SQLeu->fetch();if(${${"GLOBALS"}["kwlwfizp"]}["tipo"]=="vpn"){echo myalertuser("error","Sem autorizao!","../../home.php");exit;}if(${${"GLOBALS"}["pfsusxumpcr"]}["subrevenda"]=="sim"){${"GLOBALS"}["exocmfmdys"]="clientes";${${"GLOBALS"}["exocmfmdys"]}=3;}${"GLOBALS"}["fncuykge"]="tipo";switch(${${"GLOBALS"}["xoajuot"]}){case 1:${${"GLOBALS"}["ydutmwob"]}="todos";break;case 2:${${"GLOBALS"}["ydutmwob"]}="revenda";break;case 3:${${"GLOBALS"}["ydutmwob"]}="vpn";break;default:${${"GLOBALS"}["ydutmwob"]}="erro";break;}${${"GLOBALS"}["fncuykge"]}="outros";if(${${"GLOBALS"}["fmhjeyvu"]}=="erro"){echo myalertuser("error","Erro no tipo de cliente!","../../home.php");exit;}if(${${"GLOBALS"}["ydutmwob"]}=="todos"){$ztdwzrkvogi="SQLcli";${$ztdwzrkvogi}="SELECT * FROM usuario where id_mestre='".$_SESSION["usuarioID"]."'";}else{${"GLOBALS"}["wgrvvzes"]="cliente";${${"GLOBALS"}["btsrkufptzv"]}="SELECT * FROM usuario where tipo='".${${"GLOBALS"}["wgrvvzes"]}."' and id_mestre='".$_SESSION["usuarioID"]."'";}${${"GLOBALS"}["btsrkufptzv"]}=$conn->prepare(${${"GLOBALS"}["btsrkufptzv"]});$SQLcli->execute();if($SQLcli->rowCount()>0){while(${${"GLOBALS"}["dnarkllmyy"]}=$SQLcli->fetch()){$fpixzfox="msg";${"GLOBALS"}["hrgiie"]="notins";$zlkeox="row";$saifeij="notins";${${"GLOBALS"}["jfotuzjref"]}=${${"GLOBALS"}["jfotuzjref"]};${${"GLOBALS"}["ktmzfxivo"]}="INSERT INTO notificacoes (usuario_id,data,tipo,linkfatura,mensagem) values ('".${$zlkeox}["id_usuario"]."','".date("Y-m-d H:i:s")."','".${${"GLOBALS"}["xmthnx"]}."','Admin','".${$fpixzfox}."')";${${"GLOBALS"}["hrgiie"]}=$conn->prepare(${$saifeij});$notins->execute();}}echo myalertuser("success","Notificado com sucesso!","../../home.php");}else{echo"teste";} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x6d\x74\x68\x6ex"]="ti\x70o";${"G\x4c\x4f\x42AL\x53"}["k\x74\x6d\x7a\x66\x78\x69\x76o"]="\x6e\x6ftin\x73";${"G\x4cO\x42\x41L\x53"}["\x64\x6e\x61\x72\x6b\x6c\x6c\x6dy\x79"]="r\x6f\x77";${"\x47\x4c\x4f\x42A\x4cS"}["b\x74\x73rk\x75\x66\x70\x74\x7a\x76"]="S\x51\x4c\x63\x6c\x69";${"G\x4c\x4f\x42\x41\x4c\x53"}["y\x64\x75\x74\x6dw\x6fb"]="\x63\x6c\x69\x65nt\x65";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x6f\x61\x6au\x6f\x74"]="c\x6ci\x65n\x74\x65\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70f\x73\x75\x73\x78\x75\x6d\x70\x63\x72"]="\x65\x75";${"\x47\x4cOBALS"}["rn\x63hm\x64\x76\x70"]="\x53Q\x4ce\x75";${"\x47LOBA\x4c\x53"}["\x6a\x66ot\x75\x7ajref"]="\x6ds\x67";require_once("\x2e./.\x2e/p\x61\x67\x65\x73/s\x79s\x74e\x6d/s\x65\x67ur\x61\x6ec\x61.\x70\x68\x70");require_once(".\x2e/.\x2e/\x70\x61\x67e\x73/\x73yst\x65\x6d/c\x6f\x6ef\x69g\x2ep\x68p");require_once("../\x2e./\x70a\x67es/s\x79ste\x6d/f\x75\x6ecoe\x73\x2e\x70\x68\x70");require_once("\x2e./../p\x61ges/\x73\x79\x73t\x65\x6d/c\x6c\x61\x73\x73\x65\x2essh\x2e\x70hp");require_once("\x2e\x2e/../\x70ag\x65\x73/sy\x73\x74e\x6d/f\x75nc\x6fe\x73\x2esys\x74em\x2ep\x68p");protegePagina("u\x73er");if(isset($_POST["\x6ds\x67"])){$poaorqscq="\x63\x6c\x69\x65\x6e\x74e\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x66m\x68j\x65\x79v\x75"]="\x63\x6c\x69\x65\x6et\x65";${"G\x4c\x4f\x42AL\x53"}["\x6b\x77\x6cw\x66\x69\x7a\x70"]="\x65u";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x7a\x73\x68\x79\x79\x74"]="\x65u";${$poaorqscq}=sql_injector($_POST["\x63\x6cie\x6ete\x73"]);${${"\x47LO\x42\x41\x4c\x53"}["j\x66\x6ft\x75\x7a\x6a\x72\x65\x66"]}=sql_injector($_POST["\x6ds\x67"]);${${"GL\x4f\x42\x41\x4c\x53"}["\x72\x6e\x63h\x6dd\x76p"]}="SEL\x45C\x54 * FR\x4f\x4d usu\x61\x72i\x6f\x20wh\x65\x72e \x69\x64_\x75\x73\x75ario=\x27".$_SESSION["\x75s\x75\x61\x72\x69oI\x44"]."'";${${"G\x4c\x4fB\x41\x4cS"}["\x72\x6ech\x6d\x64\x76\x70"]}=$conn->prepare(${${"G\x4cO\x42\x41\x4c\x53"}["rn\x63\x68\x6ddv\x70"]});$SQLeu->execute();${${"GL\x4f\x42A\x4c\x53"}["\x74\x7as\x68y\x79t"]}=$SQLeu->fetch();if(${${"GL\x4f\x42\x41\x4c\x53"}["\x6b\x77lw\x66iz\x70"]}["\x74ip\x6f"]=="\x76\x70\x6e"){echo myalertuser("\x65rror","\x53e\x6d\x20\x61\x75t\x6friz\x61o\x21","\x2e\x2e/.\x2e/\x68o\x6d\x65.ph\x70");exit;}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["pf\x73\x75s\x78\x75\x6d\x70cr"]}["\x73ubreve\x6eda"]=="s\x69m"){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x78\x6f\x63\x6dfmdy\x73"]="\x63\x6ci\x65\x6e\x74es";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x78\x6f\x63m\x66m\x64\x79s"]}=3;}${"G\x4c\x4f\x42A\x4c\x53"}["\x66\x6ec\x75\x79k\x67e"]="\x74ipo";switch(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x6f\x61\x6au\x6f\x74"]}){case 1:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ydu\x74\x6dw\x6f\x62"]}="t\x6fdos";break;case 2:${${"\x47L\x4fB\x41\x4c\x53"}["\x79d\x75\x74\x6d\x77\x6f\x62"]}="\x72even\x64\x61";break;case 3:${${"\x47L\x4f\x42A\x4c\x53"}["\x79dut\x6d\x77\x6f\x62"]}="\x76pn";break;default:${${"G\x4cO\x42AL\x53"}["y\x64\x75\x74\x6d\x77o\x62"]}="erro";break;}${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66ncuy\x6b\x67\x65"]}="\x6f\x75tro\x73";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x6dh\x6ae\x79\x76u"]}=="\x65rr\x6f"){echo myalertuser("e\x72ro\x72","\x45\x72\x72\x6f\x20no \x74ip\x6f\x20\x64e\x20c\x6c\x69\x65nt\x65!","\x2e./\x2e\x2e/\x68\x6f\x6de\x2ephp");exit;}if(${${"\x47LOB\x41\x4c\x53"}["yd\x75t\x6d\x77\x6fb"]}=="\x74odo\x73"){$ztdwzrkvogi="SQ\x4ccl\x69";${$ztdwzrkvogi}="S\x45L\x45C\x54 * FR\x4fM\x20\x75suar\x69o\x20wher\x65\x20i\x64\x5f\x6d\x65\x73\x74\x72\x65\x3d'".$_SESSION["\x75suarioID"]."\x27";}else{${"GLOB\x41L\x53"}["w\x67\x72\x76\x76\x7ae\x73"]="cl\x69e\x6e\x74e";${${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x74s\x72k\x75f\x70\x74\x7av"]}="SEL\x45\x43T *\x20\x46ROM \x75\x73uar\x69\x6f\x20\x77h\x65r\x65 \x74\x69p\x6f\x3d\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x67\x72v\x76\x7a\x65s"]}."' and\x20id\x5fm\x65\x73\x74\x72\x65\x3d'".$_SESSION["\x75\x73\x75\x61r\x69\x6fID"]."'";}${${"G\x4c\x4f\x42A\x4c\x53"}["b\x74\x73\x72\x6bufp\x74z\x76"]}=$conn->prepare(${${"\x47\x4cOBA\x4c\x53"}["bt\x73\x72ku\x66ptzv"]});$SQLcli->execute();if($SQLcli->rowCount()>0){while(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x6e\x61\x72\x6b\x6clm\x79\x79"]}=$SQLcli->fetch()){$fpixzfox="\x6d\x73g";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x72\x67ii\x65"]="not\x69ns";$zlkeox="\x72\x6fw";$saifeij="\x6eo\x74i\x6e\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6af\x6f\x74\x75z\x6a\x72e\x66"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x66\x6f\x74uz\x6a\x72\x65\x66"]};${${"\x47\x4c\x4f\x42\x41L\x53"}["kt\x6dz\x66\x78i\x76\x6f"]}="\x49N\x53\x45RT \x49\x4eT\x4f\x20n\x6ftif\x69\x63\x61coes\x20(\x75sua\x72\x69\x6f\x5f\x69d,\x64a\x74a,\x74i\x70o,link\x66\x61tu\x72a,men\x73ag\x65\x6d)\x20v\x61l\x75\x65\x73 (\x27".${$zlkeox}["i\x64_u\x73\x75a\x72\x69\x6f"]."\x27,\x27".date("\x59-m-\x64 H:\x69:\x73")."\x27,'".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x6d\x74h\x6e\x78"]}."\x27,\x27A\x64\x6di\x6e',\x27".${$fpixzfox}."\x27)";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x72\x67iie"]}=$conn->prepare(${$saifeij});$notins->execute();}}echo myalertuser("s\x75\x63c\x65s\x73","N\x6ftif\x69c\x61d\x6f\x20\x63om \x73\x75\x63esso!","\x2e./\x2e\x2e/h\x6f\x6de\x2e\x70\x68\x70");}else{echo"\x74\x65s\x74\x65";}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'xmthnx', 'value': 'tipo'}, {'key': 'ktmzfxivo', 'value': 'notins'}, {'key': 'dnarkllmyy', 'value': 'row'}, {'key': 'btsrkufptzv', 'value': 'SQLcli'}, {'key': 'ydutmwob', 'value': 'cliente'}, {'key': 'xoajuot', 'value': 'clientes'}, {'key': 'pfsusxumpcr', 'value': 'eu'}, {'key': 'rnchmdvp', 'value': 'SQLeu'}, {'key': 'jfotuzjref', 'value': 'msg'}]

Stats

MD5 c888333fc3d3175335b71b70b40e838f
Eval Count 0
Decode Time 92 ms