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 if (isset($_GET["\144\141\164\141"])) { $page = "\x64\x61\x69\x6c\x79"; $..

Decoded Output download

<?php 
if (isset($_GET["data"])) { 
    $page = "daily"; 
    $action = "show"; 
    $link = "/daily-create.php"; 
    $linklb = "+ Atividade"; 
    include_once "inc/header.php"; 
    if ($acc == "False") { 
        GoToNow("/index.php?action=noaccess"); 
    } else { 
        $datas = "'" . $_GET["data"] . "'"; 
    } 
    $atvs = get_itens_query("SELECT daily_atv.id AS id, usuarios.nome AS nome, daily_atv.datta AS datta, \xa       daily_atv.resp AS resp, daily_atv.text AS text FROM daily_atv LEFT JOIN usuarios AS usuarios ON 
           (daily_atv.resp = usuarios.id) WHERE DATTA={$datas} "); 
    if ($atvs) { ?> 
        <div class="table-responsive"> 
            <table class="table-striped table100" id="tablecham"> 
                <thead> 
                    <tr class="table100-head"> 
                        <th>Data</th> 
                        <th>Nome</th> 
                        <th>Atividades Desempenhadas</th> 
                        <th>Ao</th> 
                    </tr> 
                </thead> 
                <tbody> 
                    <?php foreach ($atvs as $i) { ?> 
                        <tr class="table100-head"> 
                            <td> 
                                <?php echo $i["datta"]; ?> 
                            </td> 
                            <td title="<?php echo $i["nome"]; ?> 
"> 
                                <?php echo $i["nome"]; ?> 
                            </td> 
                            <td title="<?php echo $i["text"]; ?> 
"> 
                                <?php echo $i["text"]; ?> 
                            </td> 
                            <td><a aria-label="Left Align" href="/daily-read.php?id=<?php echo $i["id"]; ?> 
" title="Editar o item<?php echo $i["id"]; ?> 
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a><a aria-label="Left Align" href="/daily-delete.php?id=<?php echo $i["id"]; ?> 
" title="Remover o item<?php echo $i["id"]; ?> 
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png" 
                                        style="width:30px;height:30px"></a></td> 
                        </tr> 
                    <?php } ?> 
                </tbody> 
            </table> 
        </div> 
    <?php } else { ?> 
        <h2 class="sub-header">Nenhuma atividade encontrada em nossa base de dados</h2> 
    <?php } 
} else { 
    echo "Erro 4052. Reporte aos administradores."; 
} ?>

Did this file decode correctly?

Original Code

<?php
if (isset($_GET["\144\141\164\141"])) {
    $page = "\x64\x61\x69\x6c\x79";
    $action = "\163\150\157\x77";
    $link = "\57\144\x61\x69\x6c\x79\x2d\x63\x72\145\141\164\145\56\160\150\160";
    $linklb = "\x2b\40\101\164\151\x76\151\x64\141\x64\x65";
    include_once "\151\156\143\57\x68\145\x61\144\145\x72\56\x70\x68\160";
    if ($acc == "\x46\x61\154\x73\145") {
        GoToNow("\57\x69\156\x64\x65\x78\56\x70\x68\160\77\x61\x63\x74\x69\x6f\156\75\156\157\x61\143\143\145\163\163");
    } else {
        $datas = "\x27" . $_GET["\x64\x61\164\141"] . "\47";
    }
    $atvs = get_itens_query("\x53\105\114\105\103\x54\40\144\x61\x69\154\x79\137\141\x74\x76\56\151\x64\x20\x41\x53\40\x69\x64\54\x20\x75\163\x75\141\162\x69\x6f\x73\56\x6e\157\155\x65\x20\x41\123\x20\x6e\157\155\145\54\x20\144\x61\151\154\171\137\x61\164\x76\x2e\x64\141\164\x74\x61\40\x41\x53\x20\x64\x61\x74\x74\141\x2c\x20\xa\x20\x20\40\40\x20\40\40\144\141\x69\x6c\x79\x5f\x61\164\166\56\162\x65\x73\160\x20\101\x53\40\162\x65\163\160\54\40\x64\x61\x69\154\171\x5f\141\164\x76\x2e\164\x65\x78\x74\40\101\123\x20\164\145\x78\x74\x20\106\x52\117\115\40\144\141\x69\x6c\171\137\x61\164\x76\x20\x4c\105\x46\x54\40\x4a\x4f\111\x4e\x20\x75\163\x75\141\x72\x69\157\x73\x20\101\x53\40\165\x73\x75\x61\x72\x69\157\x73\x20\117\x4e\x20\12\40\40\40\40\40\40\40\40\x20\40\x20\50\x64\141\151\x6c\x79\x5f\x61\164\x76\x2e\x72\145\163\x70\40\x3d\40\165\x73\x75\x61\162\x69\157\163\x2e\151\x64\51\x20\x57\110\x45\x52\x45\x20\104\101\x54\x54\x41\75{$datas}\x20");
    if ($atvs) { ?>
        <div class="table-responsive">
            <table class="table-striped table100" id="tablecham">
                <thead>
                    <tr class="table100-head">
                        <th>Data</th>
                        <th>Nome</th>
                        <th>Atividades Desempenhadas</th>
                        <th>Ao</th>
                    </tr>
                </thead>
                <tbody>
                    <?php foreach ($atvs as $i) { ?>
                        <tr class="table100-head">
                            <td>
                                <?php echo $i["\x64\141\164\x74\141"]; ?>
                            </td>
                            <td title="<?php echo $i["\x6e\157\x6d\145"]; ?>
">
                                <?php echo $i["\x6e\x6f\x6d\145"]; ?>
                            </td>
                            <td title="<?php echo $i["\x74\x65\170\x74"]; ?>
">
                                <?php echo $i["\164\145\170\x74"]; ?>
                            </td>
                            <td><a aria-label="Left Align" href="/daily-read.php?id=<?php echo $i["\x69\144"]; ?>
" title="Editar o item<?php echo $i["\x69\x64"]; ?>
"><img src="/assets/img/edit.png" style="width:30px;height:30px"></a><a aria-label="Left Align" href="/daily-delete.php?id=<?php echo $i["\x69\144"]; ?>
" title="Remover o item<?php echo $i["\151\144"]; ?>
" onclick='return confirm("Deseja mesmo deletar?")'><img src="/assets/img/delete.png"
                                        style="width:30px;height:30px"></a></td>
                        </tr>
                    <?php } ?>
                </tbody>
            </table>
        </div>
    <?php } else { ?>
        <h2 class="sub-header">Nenhuma atividade encontrada em nossa base de dados</h2>
    <?php }
} else {
    echo "\105\162\x72\x6f\x20\x34\x30\65\62\x2e\x20\122\145\x70\x6f\x72\x74\x65\x20\x61\x6f\163\x20\141\x64\x6d\151\x6e\x69\163\164\162\x61\144\157\x72\145\x73\x2e";
} ?>

Function Calls

None

Variables

None

Stats

MD5 f84118bdbd721caf861c98abf6da558a
Eval Count 0
Decode Time 54 ms