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 @eval("?>".base64_decode("PD9waHAKc2Vzc2lvbl9zdGFydCgpOwpyZXF1aXJlX29uY2UoImNvbnRyb2..

Decoded Output download

?>b'<?php
session_start();
require_once("controles/usuarios.php");
require_once("controles/links.php");
require_once("controles/categorias.php");
if (checarUsuario()) {
require_once("cabecalho.php");
if($_SESSION[\'admin\']){
}
$links = listarlinks();
$categorias = listarCategorias();
?>
<style id="checkme">
	.page-2content {
	    padding-left: 240px !important;
		padding-right: 240px !important;
	}
	</style>
        <div id="conteudo-painel" class="container">
<?php if ($links) { ?>
                <div class="mb-5 form-group float-left">
                    <input type="text" class="pesquisar form-control" placeholder="Pesquisar...">
                </div>   
                <table class=\'table table-bordered table-hover\'>
                    <caption>Links</caption>
                    <thead class="thead-light">
                        <tr align="center">
                            <th class=\'nomecol\' scope="col" >Nome</th>
                            <th class=\'nomecol\' style="width: 5%" scope="col"></th>
                            <th class=\'nomecol\' style="width: 5%" scope="col"></th>
                            <th class=\'semresultado\' scope=\'col\'>Nenhum resultado</th>
                        </tr>
                    </thead>
                    <tbody id="conteudo">
<?php foreach($links as $link) { ?>
                        <tr>
                            <td> <?=$link[\'nome_link\']?> </td>
                            <td>
                            <button class=\'btn btn-outline-danger\' onclick="removerConfirma(\'<?=$link[\'id_link\']?>\',\'<?=$link[\'nome_link\']?>\')"><i class="far fa-trash-alt"></i></button>
                            </td>
                            <td>
                            <button class=\'btn btn-outline-secondary\' onclick="editarConfirma(\'<?=$link[\'id_link\']?>\',\'<?=$link[\'nome_link\']?>\', \'<?=$link[\'link_link\']?>\', \'<?=$link[\'id_categoria\']?>\', \'<?=$link[\'logo\']?>\')"><i class="fas fa-edit"></i></button>
                            </td>
                        </tr>
<?php } ?>
                    </tbody>
                </table>
        <?php
        }
        ?>
            <div class="h3 mt-5 row align-items-center justify-content-center">
                <i onclick="$(\'#cadastro\').modal()" class="btn btn-outline-info text-dark fas fa-plus"></i>
            </div>
        </div>
    </div>

  </main>
  <!-- page-content" -->
</div>
<!-- Cadastro Inicio -->
<div class="modal fade" id="cadastro" tabindex="-1" role="dialog" aria-labelledby="Cadastrar" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Adicionar Link</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Fechar">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form id="cadastro-form">
            <div class="container">
                <div class="form-group">
                    <label>Nome:</label>
                    <input type="text" class="form-control" name="nome" placeholder="Nome do Link" required autofocus>
                    <small class="form-text text-muted">Campo nico!</small>
                </div>
                <div class="form-group">
                    <label>Logo:</label>
                    <input type="text" class="form-control" name="logo" placeholder="Link da Imagem" required>
                </div>
                <div class="form-group">
                    <label>Url:</label>
                    <input type="text" class="form-control" name="link" placeholder="Url do Link" required>
                </div>
                <div class="form-group">
                  <label>Categora:</label>
                  <div class="ml-0 row">
                    <select class="selectpicker" title="Categoria" name="categoria" required>
                    <?php if ($categorias) {
                      foreach($categorias as $categoria) {?>
                      <option value="<?= $categoria[\'id\']?>" > <?= $categoria[\'nome\']?> </option>
                    <?php } } ?>
                    </select>
                  </div>
                </div>
                <button type="submit" class="btn btn-danger">Adicionar</button>
            </div>
        </form>
      </div>
    </div>
  </div>
</div>
<!-- Cadastro Fim-->
<!-- Remove Inicio -->
<div class="modal fade" id="remover" tabindex="-1" role="dialog" aria-labelledby="Cadastrar" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Tem certeza?</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Fechar">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div id="remover-conteudo" class="modal-body"></div>
    </div>
  </div>
</div>
<!-- Remove Fim-->
<!-- Edita Inicio -->
<div class="modal fade" id="editar" tabindex="-1" role="dialog" aria-labelledby="Cadastrar" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">Editar Link</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Fechar">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
        <form id="editar-form">
            <div class="container">
                  <input type="hidden" name="id" id="idE">
                <div class="form-group">
                    <label>Nome:</label>
                    <input type="text" class="form-control" id="nomeE" name="nome" placeholder="Nome do Link" required autofocus>
                    <small class="form-text text-muted">Campo nico!</small>
                </div>
                <div class="form-group">
                    <label>Logo:</label>
                    <input type="text" class="form-control" id="logoE" name="logo" placeholder="Link da Imagem" required>
                </div>
                <div class="form-group">
                    <label>Url:</label>
                    <input type="text" class="form-control" id="linkE" name="link" placeholder="Url do Link" required>
                </div>
                <div class="form-group">
                  <label>Categora:</label>
                  <div class="ml-0 row">
                    <select class="selectpicker" title="Categora" id="categoriaE" name="categoria" required>
                  <?php  if ($categorias) { 
                          foreach($categorias as $categoria) {?>
                      <option value="<?= $categoria[\'id\']?>" > <?= $categoria[\'nome\']?> </option>
                    <?php } } ?>
                    </select>
                  </div>
                </div>
                <button type="submit" class="btn btn-danger">Salvar</button>
            </div>
        </form>
      </div>
    </div>
  </div>
</div>
<!-- Edita Fim-->
</body>
<script>
    function removerConfirma(id,nome) {
        $(\'#remover-conteudo\').html(\'<div class="alert alert-danger" role="alert"><strong> Remover </strong>\' + nome + \'?</div><button onclick="remover(\' + id + \')" type="submit" class="btn btn-danger float-right">Remover</button>\');
        $(\'#remover\').modal();
    }

    function editarConfirma(id,nome, link, categoria, logo) {
        $(\'#idE\').val(id);
        $(\'#nomeE\').val(nome);
        $(\'#logoE\').val(logo);
        $(\'#linkE\').val(link);
        if (categoria !== "") {
          $(\'#categoriaE\').val(categoria);
          $(\'#categoriaE\').selectpicker(\'render\');
        }
        $(\'#editar\').modal();
    }

    function remover(id) {
        $.ajax({
            type: "POST",
            url: "controles/remover-link.php",
            data: {id: id},
            success: function(data) {
                location.reload();
            }
        });
    }

    $( "#cadastro-form" ).submit(function( event ) {
        $.ajax({
            type: "POST",
            url: "controles/adicionar-link.php",
            data: $("#cadastro-form").serialize(),
            success: function(data) {
                location.reload();
            },
            error: function (data) {
              resultado(data.responseText);
            }
        });
        event.preventDefault();
    });

    $( "#editar-form" ).submit(function( event ) {
        $.ajax({
            type: "POST",
            url: "controles/editar-link.php",
            data: $("#editar-form").serialize(),
            success: function(data) {
                location.reload();
            },
            error: function (data) {
              resultado(data.responseText);
            }
        });
        event.preventDefault();
    });

</script>
<?php require_once("comum.php");
require_once("alerta.php"); ?>
</html>
<?php 
} else {
    header("Location: index.php");
    die();
}
?>'

Did this file decode correctly?

Original Code

<?php @eval("?>".base64_decode("PD9waHAKc2Vzc2lvbl9zdGFydCgpOwpyZXF1aXJlX29uY2UoImNvbnRyb2xlcy91c3Vhcmlvcy5waHAiKTsKcmVxdWlyZV9vbmNlKCJjb250cm9sZXMvbGlua3MucGhwIik7CnJlcXVpcmVfb25jZSgiY29udHJvbGVzL2NhdGVnb3JpYXMucGhwIik7CmlmIChjaGVjYXJVc3VhcmlvKCkpIHsKcmVxdWlyZV9vbmNlKCJjYWJlY2FsaG8ucGhwIik7CmlmKCRfU0VTU0lPTlsnYWRtaW4nXSl7Cn0KJGxpbmtzID0gbGlzdGFybGlua3MoKTsKJGNhdGVnb3JpYXMgPSBsaXN0YXJDYXRlZ29yaWFzKCk7Cj8+CjxzdHlsZSBpZD0iY2hlY2ttZSI+CgkucGFnZS0yY29udGVudCB7CgkgICAgcGFkZGluZy1sZWZ0OiAyNDBweCAhaW1wb3J0YW50OwoJCXBhZGRpbmctcmlnaHQ6IDI0MHB4ICFpbXBvcnRhbnQ7Cgl9Cgk8L3N0eWxlPgogICAgICAgIDxkaXYgaWQ9ImNvbnRldWRvLXBhaW5lbCIgY2xhc3M9ImNvbnRhaW5lciI+Cjw/cGhwIGlmICgkbGlua3MpIHsgPz4KICAgICAgICAgICAgICAgIDxkaXYgY2xhc3M9Im1iLTUgZm9ybS1ncm91cCBmbG9hdC1sZWZ0Ij4KICAgICAgICAgICAgICAgICAgICA8aW5wdXQgdHlwZT0idGV4dCIgY2xhc3M9InBlc3F1aXNhciBmb3JtLWNvbnRyb2wiIHBsYWNlaG9sZGVyPSJQZXNxdWlzYXIuLi4iPgogICAgICAgICAgICAgICAgPC9kaXY+ICAgCiAgICAgICAgICAgICAgICA8dGFibGUgY2xhc3M9J3RhYmxlIHRhYmxlLWJvcmRlcmVkIHRhYmxlLWhvdmVyJz4KICAgICAgICAgICAgICAgICAgICA8Y2FwdGlvbj5MaW5rczwvY2FwdGlvbj4KICAgICAgICAgICAgICAgICAgICA8dGhlYWQgY2xhc3M9InRoZWFkLWxpZ2h0Ij4KICAgICAgICAgICAgICAgICAgICAgICAgPHRyIGFsaWduPSJjZW50ZXIiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRoIGNsYXNzPSdub21lY29sJyBzY29wZT0iY29sIiA+Tm9tZTwvdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGggY2xhc3M9J25vbWVjb2wnIHN0eWxlPSJ3aWR0aDogNSUiIHNjb3BlPSJjb2wiPjwvdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGggY2xhc3M9J25vbWVjb2wnIHN0eWxlPSJ3aWR0aDogNSUiIHNjb3BlPSJjb2wiPjwvdGg+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8dGggY2xhc3M9J3NlbXJlc3VsdGFkbycgc2NvcGU9J2NvbCc+TmVuaHVtIHJlc3VsdGFkbzwvdGg+CiAgICAgICAgICAgICAgICAgICAgICAgIDwvdHI+CiAgICAgICAgICAgICAgICAgICAgPC90aGVhZD4KICAgICAgICAgICAgICAgICAgICA8dGJvZHkgaWQ9ImNvbnRldWRvIj4KPD9waHAgZm9yZWFjaCgkbGlua3MgYXMgJGxpbmspIHsgPz4KICAgICAgICAgICAgICAgICAgICAgICAgPHRyPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkPiA8Pz0kbGlua1snbm9tZV9saW5rJ10/PiA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRkPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPGJ1dHRvbiBjbGFzcz0nYnRuIGJ0bi1vdXRsaW5lLWRhbmdlcicgb25jbGljaz0icmVtb3ZlckNvbmZpcm1hKCc8Pz0kbGlua1snaWRfbGluayddPz4nLCc8Pz0kbGlua1snbm9tZV9saW5rJ10/PicpIj48aSBjbGFzcz0iZmFyIGZhLXRyYXNoLWFsdCI+PC9pPjwvYnV0dG9uPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgPC90ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDx0ZD4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxidXR0b24gY2xhc3M9J2J0biBidG4tb3V0bGluZS1zZWNvbmRhcnknIG9uY2xpY2s9ImVkaXRhckNvbmZpcm1hKCc8Pz0kbGlua1snaWRfbGluayddPz4nLCc8Pz0kbGlua1snbm9tZV9saW5rJ10/PicsICc8Pz0kbGlua1snbGlua19saW5rJ10/PicsICc8Pz0kbGlua1snaWRfY2F0ZWdvcmlhJ10/PicsICc8Pz0kbGlua1snbG9nbyddPz4nKSI+PGkgY2xhc3M9ImZhcyBmYS1lZGl0Ij48L2k+PC9idXR0b24+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3RkPgogICAgICAgICAgICAgICAgICAgICAgICA8L3RyPgo8P3BocCB9ID8+CiAgICAgICAgICAgICAgICAgICAgPC90Ym9keT4KICAgICAgICAgICAgICAgIDwvdGFibGU+CiAgICAgICAgPD9waHAKICAgICAgICB9CiAgICAgICAgPz4KICAgICAgICAgICAgPGRpdiBjbGFzcz0iaDMgbXQtNSByb3cgYWxpZ24taXRlbXMtY2VudGVyIGp1c3RpZnktY29udGVudC1jZW50ZXIiPgogICAgICAgICAgICAgICAgPGkgb25jbGljaz0iJCgnI2NhZG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ZXIiIHJvbGU9ImFsZXJ0Ij48c3Ryb25nPiBSZW1vdmVyIDwvc3Ryb25nPicgKyBub21lICsgJz88L2Rpdj48YnV0dG9uIG9uY2xpY2s9InJlbW92ZXIoJyArIGlkICsgJykiIHR5cGU9InN1Ym1pdCIgY2xhc3M9ImJ0biBidG4tZGFuZ2VyIGZsb2F0LXJpZ2h0Ij5SZW1vdmVyPC9idXR0b24+Jyk7CiAgICAgICAgJCgnI3JlbW92ZXInKS5tb2RhbCgpOwogICAgfQoKICAgIGZ1bmN0aW9uIGVkaXRhckNvbmZpcm1hKGlkLG5vbWUsIGxpbmssIGNhdGVnb3JpYSwgbG9nbykgewogICAgICAgICQoJyNpZEUnKS52YWwoaWQpOwogICAgICAgICQoJyNub21lRScpLnZhbChub21lKTsKICAgICAgICAkKCcjbG9nb0UnKS52YWwobG9nbyk7CiAgICAgICAgJCgnI2xpbmtFJykudmFsKGxpbmspOwogICAgICAgIGlmIChjYXRlZ29yaWEgIT09ICIiKSB7CiAgICAgICAgICAkKCcjY2F0ZWdvcmlhRScpLnZhbChjYXRlZ29yaWEpOwogICAgICAgICAgJCgnI2NhdGVnb3JpYUUnKS5zZWxlY3RwaWNrZXIoJ3JlbmRlcicpOwogICAgICAgIH0KICAgICAgICAkKCcjZWRpdGFyJykubW9kYWwoKTsKICAgIH0KCiAgICBmdW5jdGlvbiByZW1vdmVyKGlkKSB7CiAgICAgICAgJC5hamF4KHsKICAgICAgICAgICAgdHlwZTogIlBPU1QiLAogICAgICAgICAgICB1cmw6ICJjb250cm9sZXMvcmVtb3Zlci1saW5rLnBocCIsCiAgICAgICAgICAgIGRhdGE6IHtpZDogaWR9LAogICAgICAgICAgICBzdWNjZXNzOiBmdW5jdGlvbihkYXRhKSB7CiAgICAgICAgICAgICAgICBsb2NhdGlvbi5yZWxvYWQoKTsKICAgICAgICAgICAgfQogICAgICAgIH0pOwogICAgfQoKICAgICQoICIjY2FkYXN0cm8tZm9ybSIgKS5zdWJtaXQoZnVuY3Rpb24oIGV2ZW50ICkgewogICAgICAgICQuYWpheCh7CiAgICAgICAgICAgIHR5cGU6ICJQT1NUIiwKICAgICAgICAgICAgdXJsOiAiY29udHJvbGVzL2FkaWNpb25hci1saW5rLnBocCIsCiAgICAgICAgICAgIGRhdGE6ICQoIiNjYWRhc3Ryby1mb3JtIikuc2VyaWFsaXplKCksCiAgICAgICAgICAgIHN1Y2Nlc3M6IGZ1bmN0aW9uKGRhdGEpIHsKICAgICAgICAgICAgICAgIGxvY2F0aW9uLnJlbG9hZCgpOwogICAgICAgICAgICB9LAogICAgICAgICAgICBlcnJvcjogZnVuY3Rpb24gKGRhdGEpIHsKICAgICAgICAgICAgICByZXN1bHRhZG8oZGF0YS5yZXNwb25zZVRleHQpOwogICAgICAgICAgICB9CiAgICAgICAgfSk7CiAgICAgICAgZXZlbnQucHJldmVudERlZmF1bHQoKTsKICAgIH0pOwoKICAgICQoICIjZWRpdGFyLWZvcm0iICkuc3VibWl0KGZ1bmN0aW9uKCBldmVudCApIHsKICAgICAgICAkLmFqYXgoewogICAgICAgICAgICB0eXBlOiAiUE9TVCIsCiAgICAgICAgICAgIHVybDogImNvbnRyb2xlcy9lZGl0YXItbGluay5waHAiLAogICAgICAgICAgICBkYXRhOiAkKCIjZWRpdGFyLWZvcm0iKS5zZXJpYWxpemUoKSwKICAgICAgICAgICAgc3VjY2VzczogZnVuY3Rpb24oZGF0YSkgewogICAgICAgICAgICAgICAgbG9jYXRpb24ucmVsb2FkKCk7CiAgICAgICAgICAgIH0sCiAgICAgICAgICAgIGVycm9yOiBmdW5jdGlvbiAoZGF0YSkgewogICAgICAgICAgICAgIHJlc3VsdGFkbyhkYXRhLnJlc3BvbnNlVGV4dCk7CiAgICAgICAgICAgIH0KICAgICAgICB9KTsKICAgICAgICBldmVudC5wcmV2ZW50RGVmYXVsdCgpOwogICAgfSk7Cgo8L3NjcmlwdD4KPD9waHAgcmVxdWlyZV9vbmNlKCJjb211bS5waHAiKTsKcmVxdWlyZV9vbmNlKCJhbGVydGEucGhwIik7ID8+CjwvaHRtbD4KPD9waHAgCn0gZWxzZSB7CiAgICBoZWFkZXIoIkxvY2F0aW9uOiBpbmRleC5waHAiKTsKICAgIGRpZSgpOwp9Cj8+"));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program

Function Calls

base64_decode 1

Variables

None

Stats

MD5 3928acf87d3565d79a4726c8319a5c06
Eval Count 1
Decode Time 66 ms