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\x4cOBA\x4c\x53"}["yi\x6fq\x77\x63"]="\x76\x61\x6co\x72\x72ev";${"\x47L\x4f\x42\..
Decoded Output download
<?php ${"GLOBALS"}["yioqwc"]="valorrev";${"GLOBALS"}["ocjsclqlh"]="SQLupdate";${"GLOBALS"}["lwpwhsfoyap"]="email";${"GLOBALS"}["kwywqqqqec"]="senha";${"GLOBALS"}["ficxejgjv"]="user";${"GLOBALS"}["sthbbawnuu"]="SQLusuario";${"GLOBALS"}["ddtjumbtsnk"]="diretorio";${"GLOBALS"}["czrkpjhkf"]="blockrev";${"GLOBALS"}["rqrzmltf"]="nome";${"GLOBALS"}["jfnhbun"]="usuario";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["id_usuario"])){$lmntiygnnfy="subrevenda";${"GLOBALS"}["qbgobyrzqn"]="diretorio";$ottfkia="valorrev";${"GLOBALS"}["oescfiwtxgu"]="senha";${$lmntiygnnfy}=sql_injector($_POST["subrevenda"]);${"GLOBALS"}["wenvzbslrtih"]="usuario";$bpytdvyjm="blockrev";${$ottfkia}=$_POST["valorrev"];${"GLOBALS"}["jvjegmj"]="SQLusuario";$hdplde="usuario";$xcmfyrtwnymy="email";${"GLOBALS"}["tdqckrtifux"]="celular";${${"GLOBALS"}["jfnhbun"]}=sql_injector($_POST["id_usuario"]);${${"GLOBALS"}["rqrzmltf"]}=sql_injector($_POST["nome"]);${${"GLOBALS"}["oescfiwtxgu"]}=sql_injector($_POST["senha"]);$qlebry="celular";$sbscoswrybj="diretorio";${$xcmfyrtwnymy}=$_POST["email"];${"GLOBALS"}["rpopdoesggy"]="nome";${$qlebry}=$_POST["celular"];${"GLOBALS"}["tfmspptdr"]="subrevenda";${$bpytdvyjm}=$_POST["blockrev"];${$sbscoswrybj}=$_POST["diretorio"];if(${${"GLOBALS"}["tfmspptdr"]}==sim){if(${${"GLOBALS"}["czrkpjhkf"]}>=1){echo myalertuser("warning","Essa revenda possui revendedore(s)!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}}${${"GLOBALS"}["jvjegmj"]}="select * from usuario where id_usuario = '".${${"GLOBALS"}["wenvzbslrtih"]}."' ";${${"GLOBALS"}["sthbbawnuu"]}=$conn->prepare(${${"GLOBALS"}["sthbbawnuu"]});$SQLusuario->execute();$mafgflafxi="email";if($SQLusuario->rowCount()==0){echo myalertuser("error","Usurio no encontrado!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${"GLOBALS"}["tbcfwqhkfso"]="subrevenda";${${"GLOBALS"}["ficxejgjv"]}=$SQLusuario->fetch();if(${${"GLOBALS"}["ficxejgjv"]}["id_mestre"]<>$_SESSION["usuarioID"]){${"GLOBALS"}["ummempjw"]="diretorio";echo myalertuser("error","Erro, sem permisso!",${${"GLOBALS"}["ummempjw"]});exit;}if(strlen(${${"GLOBALS"}["rpopdoesggy"]})<5){echo myalertuser("warning","Informe mais de 5 caracteres!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${"GLOBALS"}["lixtsyxi"]="SQLupdate";if(strlen(${${"GLOBALS"}["kwywqqqqec"]})<5){$lpxzxxvqzr="diretorio";echo myalertuser("warning","Informe mais de 5 caracteres na senha!",${$lpxzxxvqzr});exit;}if(filter_var(${${"GLOBALS"}["lwpwhsfoyap"]},FILTER_VALIDATE_EMAIL)){$giygoslb="email";$ynjupfjj="email";${$giygoslb}=${$ynjupfjj};}else{echo myalertuser("error","Email invlido!",${${"GLOBALS"}["ddtjumbtsnk"]});exit;}${${"GLOBALS"}["ocjsclqlh"]}="update usuario set subrevenda='".${${"GLOBALS"}["tbcfwqhkfso"]}."', valorrevenda='".${${"GLOBALS"}["yioqwc"]}."', nome='".${${"GLOBALS"}["rqrzmltf"]}."', senha='".${${"GLOBALS"}["kwywqqqqec"]}."', email='".${$mafgflafxi}."', celular='".${${"GLOBALS"}["tdqckrtifux"]}."', permitir_demo='".$_POST["acesso"]."' where id_usuario = '".${$hdplde}."'";${${"GLOBALS"}["ocjsclqlh"]}=$conn->prepare(${${"GLOBALS"}["lixtsyxi"]});$SQLupdate->execute();echo myalertuser("success","Dados alterados com sucesso!",${${"GLOBALS"}["qbgobyrzqn"]});exit;}
?>
Did this file decode correctly?
Original Code
<?php ${"G\x4cOBA\x4c\x53"}["yi\x6fq\x77\x63"]="\x76\x61\x6co\x72\x72ev";${"\x47L\x4f\x42\x41\x4cS"}["\x6f\x63\x6a\x73c\x6c\x71\x6ch"]="S\x51\x4c\x75\x70d\x61\x74\x65";${"\x47\x4cO\x42\x41LS"}["\x6c\x77\x70\x77\x68\x73\x66oy\x61\x70"]="\x65\x6dai\x6c";${"\x47L\x4fB\x41\x4cS"}["\x6b\x77\x79w\x71\x71q\x71\x65c"]="s\x65n\x68\x61";${"G\x4cO\x42\x41\x4c\x53"}["\x66\x69\x63\x78e\x6a\x67j\x76"]="\x75\x73\x65\x72";${"\x47\x4cO\x42A\x4c\x53"}["\x73\x74\x68bb\x61\x77\x6e\x75\x75"]="SQ\x4c\x75\x73\x75a\x72\x69\x6f";${"\x47\x4cO\x42\x41\x4c\x53"}["\x64dtj\x75m\x62t\x73\x6e\x6b"]="d\x69\x72\x65\x74\x6f\x72\x69o";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x7a\x72\x6b\x70j\x68\x6bf"]="\x62\x6c\x6f\x63k\x72\x65v";${"\x47\x4c\x4f\x42AL\x53"}["\x72\x71\x72\x7a\x6d\x6c\x74f"]="\x6e\x6f\x6de";${"\x47L\x4f\x42\x41\x4cS"}["\x6a\x66nhbu\x6e"]="\x75\x73ua\x72\x69o";require_once(".\x2e/\x2e./p\x61g\x65s/\x73\x79s\x74e\x6d/seguranc\x61\x2ep\x68p");require_once("../../\x70\x61g\x65s/\x73\x79\x73\x74em/\x63on\x66\x69\x67.\x70hp");require_once("../\x2e\x2e/p\x61\x67es/sy\x73te\x6d/\x66\x75nc\x6fes.p\x68\x70");require_once("\x2e\x2e/\x2e\x2e/\x70a\x67\x65s/\x73\x79s\x74e\x6d/\x63\x6cas\x73\x65.ssh.\x70hp");require_once(".\x2e/.\x2e/p\x61g\x65s/s\x79ste\x6d/\x66\x75\x6e\x63oes\x2e\x73yst\x65\x6d.\x70\x68p");protegePagina("u\x73\x65r");if(isset($_POST["\x69\x64_\x75suar\x69o"])){$lmntiygnnfy="\x73\x75br\x65\x76\x65\x6ed\x61";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62\x67ob\x79r\x7a\x71\x6e"]="\x64\x69\x72e\x74\x6f\x72\x69\x6f";$ottfkia="\x76a\x6c\x6fr\x72ev";${"\x47L\x4f\x42\x41L\x53"}["\x6f\x65\x73c\x66iwtx\x67\x75"]="\x73e\x6eh\x61";${$lmntiygnnfy}=sql_injector($_POST["sub\x72\x65\x76e\x6e\x64\x61"]);${"\x47L\x4f\x42\x41LS"}["\x77e\x6e\x76\x7a\x62\x73\x6c\x72\x74\x69\x68"]="\x75\x73\x75\x61\x72io";$bpytdvyjm="\x62\x6c\x6f\x63\x6b\x72ev";${$ottfkia}=$_POST["\x76\x61lo\x72r\x65v"];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6avjeg\x6d\x6a"]="\x53\x51\x4cus\x75\x61ri\x6f";$hdplde="\x75s\x75\x61\x72\x69o";$xcmfyrtwnymy="\x65\x6d\x61\x69l";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64\x71\x63\x6b\x72\x74\x69\x66\x75x"]="c\x65l\x75\x6c\x61\x72";${${"G\x4c\x4f\x42\x41\x4cS"}["j\x66\x6e\x68\x62\x75n"]}=sql_injector($_POST["\x69\x64_us\x75\x61\x72\x69\x6f"]);${${"\x47\x4c\x4f\x42\x41LS"}["rq\x72\x7am\x6ct\x66"]}=sql_injector($_POST["n\x6fm\x65"]);${${"\x47LO\x42\x41\x4cS"}["oes\x63\x66\x69\x77\x74\x78\x67\x75"]}=sql_injector($_POST["s\x65\x6eh\x61"]);$qlebry="\x63\x65\x6c\x75\x6c\x61\x72";$sbscoswrybj="d\x69re\x74\x6fr\x69\x6f";${$xcmfyrtwnymy}=$_POST["\x65\x6dai\x6c"];${"\x47\x4cOB\x41\x4c\x53"}["\x72\x70o\x70\x64oesg\x67\x79"]="\x6e\x6fm\x65";${$qlebry}=$_POST["c\x65l\x75\x6car"];${"\x47LOB\x41LS"}["\x74\x66\x6dspp\x74\x64\x72"]="\x73u\x62\x72\x65\x76\x65\x6ed\x61";${$bpytdvyjm}=$_POST["\x62\x6coc\x6br\x65v"];${$sbscoswrybj}=$_POST["\x64\x69r\x65tor\x69o"];if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x74\x66\x6dspp\x74d\x72"]}==sim){if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x63\x7a\x72\x6b\x70j\x68\x6b\x66"]}>=1){echo myalertuser("\x77\x61rnin\x67","\x45ss\x61 r\x65\x76\x65nd\x61 p\x6f\x73\x73u\x69 re\x76en\x64ed\x6f\x72e(s)!",${${"\x47\x4c\x4fB\x41\x4c\x53"}["dd\x74\x6a\x75\x6d\x62t\x73\x6e\x6b"]});exit;}}${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x76\x6a\x65\x67\x6d\x6a"]}="\x73\x65lec\x74 *\x20f\x72\x6f\x6d\x20u\x73ua\x72\x69o\x20\x77\x68e\x72\x65\x20\x69\x64_\x75suari\x6f\x20=\x20\x27".${${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x65\x6evz\x62s\x6c\x72\x74\x69\x68"]}."' \x20";${${"GL\x4f\x42\x41\x4c\x53"}["sth\x62ba\x77\x6e\x75\x75"]}=$conn->prepare(${${"G\x4c\x4fB\x41\x4c\x53"}["\x73\x74\x68\x62\x62\x61w\x6eu\x75"]});$SQLusuario->execute();$mafgflafxi="\x65\x6da\x69l";if($SQLusuario->rowCount()==0){echo myalertuser("\x65\x72r\x6f\x72","\x55\x73urio no \x65\x6ec\x6fn\x74r\x61do!",${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x64\x74\x6a\x75m\x62\x74s\x6e\x6b"]});exit;}${"G\x4c\x4f\x42\x41\x4c\x53"}["t\x62\x63fw\x71\x68kfs\x6f"]="\x73u\x62\x72\x65v\x65\x6e\x64\x61";${${"\x47\x4c\x4f\x42A\x4cS"}["\x66\x69\x63\x78ej\x67\x6a\x76"]}=$SQLusuario->fetch();if(${${"G\x4c\x4fBA\x4cS"}["\x66\x69c\x78e\x6agj\x76"]}["\x69d_\x6d\x65stre"]<>$_SESSION["\x75s\x75\x61\x72i\x6f\x49D"]){${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x6d\x6d\x65\x6dp\x6aw"]="d\x69re\x74ori\x6f";echo myalertuser("error","E\x72r\x6f, se\x6d\x20per\x6d\x69\x73s\x6f\x21",${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x6dm\x65m\x70j\x77"]});exit;}if(strlen(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x70op\x64\x6f\x65\x73\x67g\x79"]})<5){echo myalertuser("\x77a\x72ni\x6eg","\x49n\x66\x6f\x72\x6d\x65 \x6d\x61i\x73\x20d\x65 \x35\x20ca\x72act\x65\x72e\x73\x21",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x64t\x6au\x6d\x62\x74s\x6ek"]});exit;}${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x69x\x74s\x79x\x69"]="\x53\x51\x4c\x75\x70da\x74\x65";if(strlen(${${"G\x4cO\x42\x41\x4cS"}["\x6bw\x79\x77\x71\x71\x71\x71\x65c"]})<5){$lpxzxxvqzr="\x64i\x72\x65\x74o\x72i\x6f";echo myalertuser("\x77\x61\x72\x6e\x69ng","Inf\x6f\x72\x6d\x65\x20ma\x69\x73\x20d\x65\x205 c\x61r\x61\x63t\x65\x72\x65s\x20\x6ea\x20\x73enha\x21",${$lpxzxxvqzr});exit;}if(filter_var(${${"\x47\x4cO\x42\x41L\x53"}["\x6cw\x70\x77hs\x66\x6f\x79\x61p"]},FILTER_VALIDATE_EMAIL)){$giygoslb="e\x6d\x61\x69\x6c";$ynjupfjj="\x65\x6d\x61\x69\x6c";${$giygoslb}=${$ynjupfjj};}else{echo myalertuser("e\x72ror","\x45\x6dail in\x76\x6ci\x64\x6f!",${${"G\x4c\x4f\x42A\x4cS"}["\x64dtju\x6db\x74\x73\x6e\x6b"]});exit;}${${"\x47L\x4f\x42\x41\x4c\x53"}["o\x63j\x73cl\x71\x6ch"]}="\x75pd\x61te\x20\x75\x73\x75ari\x6f\x20set \x73u\x62\x72ev\x65nda=\x27".${${"GL\x4fB\x41\x4c\x53"}["t\x62c\x66w\x71\x68k\x66\x73\x6f"]}."\x27, v\x61\x6co\x72re\x76\x65n\x64a\x3d\x27".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79i\x6fq\x77\x63"]}."\x27, nom\x65=\x27".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72q\x72z\x6dl\x74\x66"]}."\x27, s\x65\x6e\x68a\x3d'".${${"G\x4c\x4f\x42\x41\x4c\x53"}["kw\x79\x77\x71q\x71\x71e\x63"]}."\x27, \x65ma\x69\x6c\x3d'".${$mafgflafxi}."\x27,\x20\x63e\x6cul\x61r\x3d\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x64\x71\x63kr\x74\x69\x66ux"]}."\x27,\x20p\x65\x72\x6d\x69t\x69r_\x64\x65m\x6f='".$_POST["a\x63es\x73\x6f"]."'\x20\x77he\x72\x65\x20id\x5f\x75\x73u\x61\x72io \x3d\x20'".${$hdplde}."\x27";${${"\x47\x4cOB\x41L\x53"}["\x6f\x63j\x73\x63\x6c\x71\x6c\x68"]}=$conn->prepare(${${"GLO\x42\x41L\x53"}["l\x69\x78\x74\x73\x79\x78\x69"]});$SQLupdate->execute();echo myalertuser("succes\x73","D\x61\x64\x6f\x73 a\x6cter\x61\x64o\x73\x20\x63\x6fm suc\x65ss\x6f\x21",${${"\x47\x4cO\x42A\x4c\x53"}["q\x62\x67\x6f\x62\x79\x72\x7a\x71\x6e"]});exit;}
?>
Function Calls
None |
Stats
MD5 | 0d2868a4a33285b310ade9630b49020f |
Eval Count | 0 |
Decode Time | 71 ms |