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 ${"\x47LO\x42\x41LS"}["sr\x65\x65cg\x77e\x77"]="S\x51LSe\x72v\x69\x64\x6f\x72";${"\x..
Decoded Output download
<?php ${"GLOBALS"}["sreecgwew"]="SQLServidor";${"GLOBALS"}["fneofwo"]="row";${"GLOBALS"}["hrxotqdzwlg"]="SQL";${"GLOBALS"}["gevsgckuxsf"]="SQL";${"GLOBALS"}["qvurnxibsexa"]="row_srv";${"GLOBALS"}["bsnwahlyl"]="SQLAcesso";if(basename($_SERVER["REQUEST_URI"])===basename(__FILE__)){exit("<h1>ERROR 404</h1>Entre em contato conosco e envie detalhes.");}${"GLOBALS"}["pyancvwoz"]="SQLAcesso";${"GLOBALS"}["dbvhkshwfqhw"]="SQLAcesso";protegePagina("donoadmin");${"GLOBALS"}["mxnmvigkdbr"]="SQL";echo "<!-- Input with Icons start -->
<div class=\"active\"><a class="d-flex align-items-center\" href="home.php"><i data-feather=\"home"></i><span class=\"menu-title text-truncate" data-i18n=\"Dashboards">DASHBOARD</span></a>
</div>
<section id=\"multiple-column-form">
<div class=\"row\">
<div class=\"col-12">
<div class=\"card">
<div class=\"card-header\">
<h4 class=\"card-title">Adicionar servidor a revenda</h4>
</div>
<div class=\"card-content">
<form action="pages/usuario/addservidor_exe.php" method="POST\" role="form\">
<div class=\"card-body\">
<div class=\"row">
<div class="demo-spacing-0 mb-2">
<div class="alert alert-info\" role=\"alert">
<div class="alert-body d-flex align-items-center\">
<i data-feather=\"info" class="me-50\"></i>
<span>Logo Abaixo voc pode adicionar um servidor para uma revenda com limite!</span>
</div>
</div>
</div>
<div class="col-md-6 col-12\">
<div class="mb-1">
<label class="form-label" for="basicSelect">Servidor</label>
<div class=\"input-group input-group-merge\">
<span class=\"input-group-text\"><i data-feather="server"></i></span>
<select class="form-select" name=\"servidor" id="servidor\">
";${${"GLOBALS"}["pyancvwoz"]}="select * from servidor";${${"GLOBALS"}["bsnwahlyl"]}=$conn->prepare(${${"GLOBALS"}["dbvhkshwfqhw"]});$SQLAcesso->execute();if(($SQLAcesso->rowCount())>0){${"GLOBALS"}["hgggbcgjcqg"]="row_srv";while(${${"GLOBALS"}["hgggbcgjcqg"]}=$SQLAcesso->fetch()){$mojxujvx="row_srv";${"GLOBALS"}["lrzmydq"]="row_srv";echo "<option value="";echo${$mojxujvx}["id_servidor"];echo ""> ";echo${${"GLOBALS"}["qvurnxibsexa"]}["nome"];echo " - ";echo${${"GLOBALS"}["lrzmydq"]}["ip_servidor"];echo "</option>
";}}else{echo "<option>Nenhum Servidor</option>
";}echo "</select>
</div>
</div>
</div>
<div class="col-md-6 col-12">
<div class="mb-2\">
<label class="form-label\" for="country-floating">Limite</label>
<div class=\"input-group input-group-merge">
<span class="input-group-text"><i data-feather='smartphone'></i></span>
<input type=\"number" min="5" max=\"500\" name=\"limite\" id="limite" placeholder=\"5\" value=\"5" class=\"form-control\" required>
</div>
</div>
</div>
<div class=\"col-12\">
<div class=\"mb-1">
<label class="form-label" for="basicSelect\">Revendedor</label>
<div class="input-group input-group-merge\">
<span class="input-group-text"><i data-feather="users\"></i></span>
<select class=\"form-select\" name="revendedor\" id="revendedor\">
";${${"GLOBALS"}["hrxotqdzwlg"]}="SELECT * FROM usuario where tipo='revenda' and subrevenda='nao' and id_mestre=0 ORDER BY id_usuario DESC";${${"GLOBALS"}["gevsgckuxsf"]}=$conn->prepare(${${"GLOBALS"}["mxnmvigkdbr"]});$SQL->execute();if(($SQL->rowCount())>0){while(${${"GLOBALS"}["fneofwo"]}=$SQL->fetch()){${"GLOBALS"}["pyfvstkytl"]="SQLServidor";${"GLOBALS"}["irbwpnhigd"]="row";${"GLOBALS"}["prbdxpqlcrd"]="acesso_server";${"GLOBALS"}["esxyxefl"]="SQLServidor";${${"GLOBALS"}["sreecgwew"]}="select * from acesso_servidor WHERE id_usuario = '".${${"GLOBALS"}["irbwpnhigd"]}["id_usuario"]."' ";${${"GLOBALS"}["pyfvstkytl"]}=$conn->prepare(${${"GLOBALS"}["esxyxefl"]});$SQLServidor->execute();$ikaimxmiig="row";${${"GLOBALS"}["prbdxpqlcrd"]}=$SQLServidor->rowCount();echo "<option value="";echo${$ikaimxmiig}["id_usuario"];echo "\">Nome: ";echo${${"GLOBALS"}["fneofwo"]}["nome"];echo " - Login: ";echo${${"GLOBALS"}["fneofwo"]}["login"];echo " </option>
";}}else{echo "<option>Nenhum Revendedor</option>
";}echo "</select><a href=\"?page=usuario/1-etapa" class="btn-sm btn-success\"><i data-feather='user-plus'></i></a>
</div>
</div>
</div>
<div class="col-12 text-center">
<button type="submit" class=\"btn btn-success me-1 waves-effect waves-float waves-light\">Adicionar</button>
<button type="reset\" class="btn btn-danger waves-effect\">Limpar</button>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Input with Icons end -->
";
?>
Did this file decode correctly?
Original Code
<?php ${"\x47LO\x42\x41LS"}["sr\x65\x65cg\x77e\x77"]="S\x51LSe\x72v\x69\x64\x6f\x72";${"\x47LO\x42\x41L\x53"}["fne\x6f\x66\x77\x6f"]="\x72\x6f\x77";${"\x47LOBALS"}["\x68\x72\x78o\x74\x71d\x7aw\x6c\x67"]="\x53\x51\x4c";${"\x47L\x4f\x42\x41\x4cS"}["ge\x76s\x67\x63\x6b\x75\x78\x73\x66"]="SQL";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71vu\x72\x6exib\x73\x65\x78a"]="r\x6f\x77_s\x72v";${"\x47L\x4f\x42AL\x53"}["\x62sn\x77ahl\x79\x6c"]="S\x51L\x41c\x65\x73so";if(basename($_SERVER["\x52E\x51\x55ES\x54_\x55R\x49"])===basename(__FILE__)){exit("<h\x31>\x45\x52R\x4f\x52\x20\x3404\x3c/h1\x3eE\x6etre\x20em\x20c\x6fnt\x61to con\x6fsc\x6f\x20e e\x6e\x76\x69e d\x65t\x61\x6c\x68\x65\x73\x2e");}${"\x47L\x4fB\x41\x4c\x53"}["p\x79a\x6e\x63\x76wo\x7a"]="\x53Q\x4cAc\x65\x73s\x6f";${"G\x4c\x4f\x42\x41\x4cS"}["d\x62\x76\x68\x6b\x73\x68\x77f\x71hw"]="\x53Q\x4c\x41\x63\x65\x73s\x6f";protegePagina("d\x6fn\x6fa\x64\x6d\x69n");${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x78\x6emv\x69gk\x64br"]="\x53Q\x4c";echo "\x3c\x21-- I\x6e\x70\x75\x74 \x77ith\x20Ic\x6fn\x73 sta\x72\x74\x20--\x3e\n<\x64iv \x63\x6c\x61s\x73\x3d\"\x61\x63\x74i\x76\x65\"><a\x20\x63\x6c\x61s\x73\x3d\x22d-\x66l\x65x\x20a\x6cign-\x69\x74e\x6ds-center\" \x68re\x66=\x22\x68\x6fme\x2ep\x68\x70\x22\x3e<\x69 d\x61\x74a-\x66\x65\x61t\x68er\x3d\"ho\x6de\x22\x3e</\x69\x3e\x3cspan\x20\x63\x6c\x61\x73\x73=\"menu-\x74\x69\x74l\x65\x20t\x65x\x74-t\x72unc\x61te\x22\x20\x64\x61\x74\x61-\x69\x31\x38\x6e\x3d\"D\x61\x73\x68\x62\x6fa\x72ds\x22>\x44A\x53HBO\x41RD</\x73\x70an\x3e\x3c/\x61\x3e\n</\x64\x69\x76\x3e\n\x3cse\x63\x74\x69o\x6e\x20i\x64=\"\x6d\x75\x6ct\x69\x70\x6c\x65-\x63ol\x75mn-f\x6f\x72m\x22>\n<\x64i\x76 c\x6c\x61s\x73\x3d\"\x72ow\">\n<div\x20cl\x61ss\x3d\"\x63ol-\x312\x22>\n<\x64i\x76\x20cl\x61\x73s=\"c\x61\x72\x64\x22>\n\x3cd\x69v \x63l\x61s\x73=\"\x63a\x72d-\x68ea\x64\x65\x72\"\x3e\n\x3ch4 \x63\x6ca\x73\x73=\"ca\x72\x64-ti\x74l\x65\x22\x3eAdic\x69\x6fn\x61r\x20\x73ervi\x64\x6f\x72 a \x72\x65\x76enda\x3c/\x684\x3e\n\x3c/div>\n\x3c\x64iv c\x6c\x61ss=\"c\x61rd-c\x6fnt\x65\x6e\x74\x22>\n\x3c\x66\x6f\x72\x6d\x20a\x63tio\x6e\x3d\x22\x70ag\x65\x73/us\x75a\x72i\x6f/adds\x65rv\x69dor_e\x78\x65\x2ephp\x22\x20\x6d\x65t\x68o\x64\x3d\x22PO\x53T\"\x20rol\x65\x3d\x22\x66\x6frm\"\x3e\n\x3c\x64iv c\x6cass=\"\x63a\x72d-bo\x64\x79\">\n<di\x76 \x63l\x61\x73\x73\x3d\"r\x6fw\x22>\n\x3c\x64\x69\x76\x20\x63l\x61s\x73=\x22\x64em\x6f-\x73\x70a\x63\x69ng-0\x20\x6db-\x32\x22\x3e\n\x3c\x64iv\x20cl\x61\x73\x73\x3d\x22\x61\x6c\x65rt \x61\x6ce\x72\x74-\x69\x6e\x66o\" r\x6f\x6ce\x3d\"aler\x74\x22>\n\x3c\x64\x69v\x20c\x6cas\x73\x3d\x22a\x6ce\x72\x74-bod\x79\x20d-f\x6c\x65x\x20\x61lign-\x69tems-\x63e\x6ete\x72\">\n<\x69 data-fe\x61th\x65r\x3d\"\x69nfo\x22\x20c\x6ca\x73s=\x22\x6d\x65-\x35\x30\">\x3c/\x69>\n\x3c\x73\x70an>\x4c\x6f\x67o\x20\x41\x62\x61ix\x6f voc \x70\x6f\x64e\x20a\x64\x69\x63\x69\x6f\x6e\x61\x72\x20\x75m \x73\x65r\x76i\x64\x6f\x72 \x70ara \x75\x6da\x20\x72ev\x65n\x64a \x63\x6fm \x6cimi\x74\x65!</\x73pa\x6e>\n</\x64i\x76>\n\x3c/di\x76>\n\x3c/div>\n<di\x76 \x63l\x61\x73s\x3d\x22\x63\x6fl-\x6dd-6 c\x6fl-\x31\x32\">\n<div c\x6ca\x73s\x3d\x22m\x62-1\x22>\n\x3clab\x65l\x20c\x6c\x61\x73s\x3d\x22\x66\x6f\x72m-la\x62el\x22 fo\x72=\x22ba\x73\x69cS\x65\x6cec\x74\x22>\x53\x65\x72v\x69d\x6f\x72</l\x61b\x65l>\n\x3c\x64\x69v \x63l\x61s\x73\x3d\"inp\x75t-grou\x70\x20i\x6epu\x74-\x67\x72\x6f\x75p-m\x65rg\x65\">\n\x3cs\x70a\x6e \x63\x6ca\x73\x73=\"i\x6ep\x75t-gro\x75\x70-\x74ext\"\x3e\x3ci \x64a\x74a-\x66\x65\x61th\x65\x72\x3d\x22s\x65r\x76\x65r\x22\x3e</\x69>\x3c/span>\n\x3cse\x6c\x65\x63\x74\x20\x63\x6ca\x73\x73\x3d\x22f\x6fr\x6d-\x73e\x6c\x65\x63t\x22 name\x3d\"serv\x69\x64or\x22 \x69\x64=\x22se\x72vid\x6fr\"\x3e\n";${${"\x47LO\x42\x41L\x53"}["\x70\x79a\x6ecv\x77\x6f\x7a"]}="\x73ele\x63\x74\x20* \x66\x72om\x20se\x72v\x69d\x6fr";${${"G\x4cO\x42\x41\x4cS"}["\x62\x73\x6e\x77a\x68\x6c\x79\x6c"]}=$conn->prepare(${${"\x47L\x4fBA\x4cS"}["\x64\x62\x76hk\x73\x68\x77\x66\x71\x68\x77"]});$SQLAcesso->execute();if(($SQLAcesso->rowCount())>0){${"G\x4c\x4f\x42A\x4c\x53"}["\x68gg\x67bcg\x6a\x63q\x67"]="\x72ow_\x73rv";while(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68g\x67g\x62\x63\x67\x6ac\x71g"]}=$SQLAcesso->fetch()){$mojxujvx="r\x6f\x77\x5f\x73r\x76";${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x72\x7a\x6d\x79\x64\x71"]="\x72ow_\x73rv";echo "\x3c\x6fpt\x69o\x6e\x20\x76al\x75e=\x22";echo${$mojxujvx}["\x69d_\x73\x65rv\x69d\x6f\x72"];echo "\x22>\x20";echo${${"\x47\x4c\x4fBA\x4c\x53"}["q\x76\x75r\x6e\x78\x69\x62\x73\x65\x78a"]}["n\x6f\x6de"];echo " -\x20";echo${${"\x47L\x4f\x42\x41L\x53"}["\x6crz\x6d\x79\x64q"]}["\x69\x70_s\x65r\x76id\x6fr"];echo "</\x6fp\x74i\x6f\x6e>\n";}}else{echo "\x3cop\x74i\x6fn\x3eN\x65nhum \x53\x65\x72vid\x6f\x72</\x6f\x70\x74ion>\n";}echo "\x3c/se\x6ce\x63\x74\x3e\n</\x64\x69v\x3e\n</\x64\x69v>\n\x3c/\x64i\x76\x3e\n<\x64i\x76 \x63l\x61s\x73\x3d\x22co\x6c-\x6dd-\x36 \x63ol-12\x22>\n\x3c\x64iv c\x6cas\x73\x3d\x22\x6db-2\">\n<la\x62el\x20class\x3d\x22f\x6f\x72m-\x6ca\x62\x65\x6c\"\x20\x66\x6fr\x3d\x22cou\x6e\x74\x72y-fl\x6f\x61\x74\x69\x6eg\x22>L\x69\x6di\x74e</labe\x6c>\n\x3cd\x69\x76\x20\x63la\x73s\x3d\"in\x70\x75t-\x67ro\x75\x70\x20\x69nput-g\x72o\x75\x70-\x6der\x67e\x22>\n<\x73\x70\x61\x6e \x63las\x73=\x22\x69\x6e\x70ut-\x67\x72oup-te\x78t\x22\x3e<\x69\x20\x64at\x61-f\x65\x61\x74\x68\x65\x72\x3d\x27sm\x61\x72\x74pho\x6e\x65\x27\x3e\x3c/\x69\x3e\x3c/\x73pan>\n<\x69np\x75\x74 \x74yp\x65\x3d\"\x6eu\x6db\x65\x72\x22 \x6d\x69n=\x225\x22\x20\x6d\x61\x78=\"\x3500\"\x20\x6eame\x3d\"\x6cimit\x65\"\x20\x69d=\x22li\x6d\x69\x74\x65\x22 p\x6cace\x68older\x3d\"\x35\" v\x61lu\x65=\"5\x22 c\x6cass=\"f\x6f\x72\x6d-c\x6fn\x74\x72o\x6c\"\x20re\x71ui\x72e\x64\x3e\n</\x64\x69\x76>\n</\x64\x69\x76\x3e\n</\x64iv>\n<\x64iv\x20c\x6cass=\"\x63o\x6c-1\x32\">\n\x3cd\x69v\x20\x63l\x61\x73\x73\x3d\"\x6d\x62-1\x22\x3e\n<l\x61bel\x20c\x6c\x61\x73s\x3d\x22fo\x72\x6d-\x6c\x61b\x65l\x22\x20\x66\x6fr\x3d\x22\x62a\x73ic\x53\x65\x6c\x65\x63\x74\"\x3eR\x65\x76endedo\x72\x3c/l\x61b\x65l>\n<di\x76\x20c\x6cass\x3d\x22i\x6eput-\x67\x72o\x75p\x20i\x6epu\x74-g\x72o\x75\x70-m\x65r\x67e\"\x3e\n\x3cs\x70\x61\x6e\x20cl\x61\x73s\x3d\x22in\x70\x75t-\x67r\x6fu\x70-t\x65\x78\x74\x22\x3e<\x69 da\x74a-fea\x74\x68\x65\x72=\x22us\x65\x72s\"\x3e</i></sp\x61\x6e\x3e\n\x3c\x73e\x6c\x65\x63t \x63l\x61\x73s=\"\x66\x6f\x72\x6d-\x73e\x6ce\x63\x74\" \x6ea\x6de=\x22r\x65ve\x6ed\x65d\x6fr\" i\x64\x3d\x22\x72\x65\x76\x65\x6eded\x6fr\"\x3e\n";${${"GL\x4f\x42\x41\x4c\x53"}["\x68\x72\x78o\x74\x71\x64\x7a\x77\x6c\x67"]}="S\x45\x4c\x45CT\x20* \x46ROM u\x73ua\x72i\x6f\x20w\x68\x65r\x65 t\x69po=\x27\x72\x65\x76\x65\x6eda\x27\x20\x61nd s\x75\x62\x72e\x76enda\x3d'\x6eao\x27\x20\x61\x6e\x64 id_mes\x74r\x65=0\x20O\x52\x44\x45\x52 B\x59\x20\x69d_usu\x61r\x69\x6f \x44\x45SC";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67e\x76s\x67\x63\x6b\x75\x78\x73\x66"]}=$conn->prepare(${${"G\x4cO\x42ALS"}["\x6d\x78n\x6d\x76\x69\x67\x6b\x64b\x72"]});$SQL->execute();if(($SQL->rowCount())>0){while(${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x6e\x65\x6ffw\x6f"]}=$SQL->fetch()){${"G\x4c\x4f\x42A\x4c\x53"}["\x70\x79\x66v\x73tk\x79\x74\x6c"]="\x53\x51LSer\x76\x69d\x6f\x72";${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x72bw\x70\x6eh\x69g\x64"]="\x72\x6f\x77";${"\x47\x4c\x4fB\x41LS"}["\x70\x72b\x64\x78\x70\x71\x6c\x63\x72d"]="ac\x65\x73\x73\x6f\x5fs\x65rv\x65\x72";${"\x47L\x4f\x42\x41\x4c\x53"}["\x65s\x78\x79x\x65f\x6c"]="\x53\x51\x4c\x53\x65rv\x69d\x6f\x72";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73re\x65c\x67w\x65\x77"]}="s\x65l\x65c\x74 *\x20\x66ro\x6d\x20\x61\x63e\x73\x73\x6f_\x73er\x76\x69\x64o\x72\x20\x20\x57\x48\x45RE id_u\x73uar\x69o = '".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x72b\x77\x70n\x68\x69\x67\x64"]}["\x69\x64_us\x75\x61r\x69\x6f"]."\x27\x20";${${"\x47\x4c\x4fB\x41L\x53"}["py\x66\x76\x73\x74\x6b\x79\x74\x6c"]}=$conn->prepare(${${"\x47L\x4f\x42\x41L\x53"}["\x65\x73\x78y\x78\x65\x66\x6c"]});$SQLServidor->execute();$ikaimxmiig="r\x6f\x77";${${"\x47\x4cO\x42AL\x53"}["\x70r\x62d\x78\x70ql\x63\x72\x64"]}=$SQLServidor->rowCount();echo "<\x6f\x70\x74\x69\x6fn\x20\x76\x61\x6cue\x3d\x22";echo${$ikaimxmiig}["\x69d_usuario"];echo "\"\x3e\x4eo\x6de: ";echo${${"\x47\x4c\x4f\x42ALS"}["\x66\x6eeo\x66w\x6f"]}["n\x6fm\x65"];echo " - \x4c\x6fgi\x6e: ";echo${${"G\x4c\x4f\x42AL\x53"}["\x66\x6e\x65o\x66\x77o"]}["l\x6f\x67i\x6e"];echo "\x20\x3c/opti\x6fn\x3e\n";}}else{echo "\x3cop\x74\x69on\x3eNe\x6ehum\x20R\x65\x76e\x6e\x64\x65\x64\x6fr\x3c/\x6f\x70\x74\x69\x6f\x6e>\n";}echo "</s\x65\x6c\x65\x63\x74>\x3c\x61\x20\x68\x72\x65f=\"?\x70\x61\x67\x65\x3d\x75s\x75\x61\x72io/\x31-\x65t\x61\x70a\x22\x20c\x6ca\x73s=\x22b\x74\x6e-\x73\x6d \x62t\x6e-succ\x65\x73\x73\"><\x69\x20d\x61\x74\x61-\x66ea\x74\x68\x65r='\x75\x73er-plu\x73'>\x3c/i></\x61>\n\x3c/\x64i\x76>\n</\x64i\x76>\n</\x64iv\x3e\n<di\x76 c\x6c\x61\x73s\x3d\x22\x63o\x6c-\x312\x20te\x78\x74-c\x65\x6e\x74\x65\x72\x22\x3e\n\x3c\x62utto\x6e \x74yp\x65\x3d\x22\x73ubmit\x22\x20\x63\x6ca\x73\x73=\"\x62tn b\x74\x6e-\x73uccess m\x65-1\x20\x77a\x76e\x73-e\x66\x66\x65\x63t \x77\x61\x76\x65s-f\x6coat waves-\x6c\x69\x67ht\">A\x64\x69c\x69onar</bu\x74\x74on>\n\x3cb\x75\x74to\x6e\x20typ\x65=\x22r\x65se\x74\"\x20\x63\x6c\x61s\x73=\x22bt\x6e\x20\x62\x74\x6e-\x64a\x6e\x67\x65\x72 w\x61\x76es-e\x66fe\x63t\"\x3eL\x69mp\x61\x72</b\x75tton\x3e\n</\x64iv\x3e\n</\x64i\x76\x3e\n\x3c/\x64i\x76\x3e\n</f\x6frm\x3e\n\x3c/\x64iv\x3e\n\x3c/di\x76>\n\x3c/d\x69\x76\x3e\n</div>\n\x3c/sec\x74\x69on>\n<!--\x20Input\x20\x77\x69t\x68 I\x63on\x73\x20\x65n\x64 --\x3e\n";
?>
Function Calls
basename | 1 |
Stats
MD5 | aa45356fb6215b240ff2724c781a633e |
Eval Count | 0 |
Decode Time | 84 ms |