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 goto VifI8; eBBrO: $acc = showAllowedLabel($acl, $role, $page, $action); goto Bg..

Decoded Output download

<?php 
goto VifI8; 
eBBrO: 
$acc = showAllowedLabel($acl, $role, $page, $action); 
goto BguZv; 
lSwjT: 
include "inc/functionscpp.php"; 
goto RL4Sz; 
WlzZZ: 
$action = "add"; 
goto Y2gN1; 
IYiAH: 
$access = $_SESSION["logged_user"]["acesso"]; 
goto M_FCA; 
M_FCA: 
$role = $access; 
goto x1zYj; 
RL4Sz: 
include "inc/Acl.php"; 
goto IYiAH; 
VifI8: 
session_start(); 
goto lSwjT; 
Y2gN1: 
$acl = rolesPermissions(new LizACL\Acl()); 
goto eBBrO; 
x1zYj: 
$page = "daily"; 
goto WlzZZ; 
BguZv: 
if ($acc == "False") { 
    GoToNow("/index.php?action=noaccess"); 
} else { 
    include "inc/config.php"; 
    include "inc/functions.php"; 
    if (isset($_POST["data"])) { 
        $i = R::dispense("daily_atv"); 
        $log = R::dispense("logs"); 
        $data = "'" . $_POST["data"] . "'"; 
        $resp = $_POST["nome"]; 
        $duply = get_itens("daily_atv"); 
        $duply = get_itens_query("SELECT * FROM daily_atv WHERE datta = {$data} AND resp = {$resp}"); 
        if ($duply) { 
            GoToNow("/daily.php?action=error"); 
        } else { 
            $log->hora = date("Y-m-d\TH:i:s"); 
            $log->ip = $_SERVER["REMOTE_ADDR"]; 
            $log->mensagem = $_SESSION["logged_user"]["nome"] . " criou uma atividades diria para o usurio: [" . $i["nome"] . "]" . "ID:[" . $i["id"] . "]"; 
            $i->datta = $_POST["data"]; 
            $i->resp = $_POST["nome"]; 
            $i->text = $_POST["atvs"]; 
            R::store($i); 
            R::store($log); 
            GoToNow("/daily.php?action=create"); 
        } 
    } else { 
        GoToNow("/daily.php"); 
    } 
} ?>

Did this file decode correctly?

Original Code

<?php
goto VifI8;
eBBrO:
$acc = showAllowedLabel($acl, $role, $page, $action);
goto BguZv;
lSwjT:
include "\x69\156\x63\57\146\x75\156\x63\164\151\x6f\156\x73\143\x70\160\56\160\x68\160";
goto RL4Sz;
WlzZZ:
$action = "\x61\x64\144";
goto Y2gN1;
IYiAH:
$access = $_SESSION["\x6c\x6f\147\x67\x65\144\x5f\165\163\x65\162"]["\141\x63\x65\x73\x73\x6f"];
goto M_FCA;
M_FCA:
$role = $access;
goto x1zYj;
RL4Sz:
include "\x69\x6e\143\57\101\x63\x6c\56\160\150\x70";
goto IYiAH;
VifI8:
session_start();
goto lSwjT;
Y2gN1:
$acl = rolesPermissions(new LizACL\Acl());
goto eBBrO;
x1zYj:
$page = "\144\141\x69\154\x79";
goto WlzZZ;
BguZv:
if ($acc == "\106\x61\154\x73\x65") {
    GoToNow("\x2f\x69\x6e\144\145\170\x2e\160\150\160\77\141\143\164\151\157\156\75\156\x6f\x61\x63\x63\145\163\163");
} else {
    include "\151\156\x63\57\x63\157\156\x66\151\147\56\160\150\160";
    include "\x69\156\x63\57\146\x75\x6e\x63\x74\x69\x6f\x6e\163\x2e\160\150\160";
    if (isset($_POST["\x64\x61\x74\141"])) {
        $i = R::dispense("\x64\x61\x69\154\171\137\141\164\x76");
        $log = R::dispense("\x6c\x6f\147\x73");
        $data = "\x27" . $_POST["\144\141\164\x61"] . "\x27";
        $resp = $_POST["\156\x6f\x6d\145"];
        $duply = get_itens("\x64\141\x69\x6c\x79\x5f\141\x74\x76");
        $duply = get_itens_query("\123\105\114\105\103\x54\x20\x2a\40\106\x52\117\x4d\x20\x64\x61\x69\x6c\x79\x5f\x61\164\166\40\x57\110\x45\122\x45\40\x64\x61\164\x74\x61\x20\75\x20{$data}\40\x41\116\104\x20\162\145\x73\x70\40\75\40{$resp}");
        if ($duply) {
            GoToNow("\x2f\x64\x61\151\x6c\171\x2e\x70\x68\160\77\141\143\164\151\x6f\x6e\x3d\145\162\x72\x6f\x72");
        } else {
            $log->hora = date("\x59\55\155\x2d\144\x5c\x54\x48\x3a\x69\x3a\163");
            $log->ip = $_SERVER["\x52\x45\x4d\117\x54\105\x5f\101\104\104\122"];
            $log->mensagem = $_SESSION["\x6c\x6f\147\x67\145\144\137\x75\x73\x65\x72"]["\156\x6f\x6d\145"] . "\40\x63\162\x69\157\165\40\165\155\x61\x20\141\164\x69\x76\x69\x64\x61\x64\x65\x73\x20\x64\151\303\241\162\151\x61\40\x70\141\x72\x61\40\157\x20\165\x73\165\303\241\162\x69\157\x3a\x20\133" . $i["\x6e\157\x6d\145"] . "\135" . "\111\104\x3a\x5b" . $i["\x69\x64"] . "\x5d";
            $i->datta = $_POST["\144\x61\164\x61"];
            $i->resp = $_POST["\156\157\x6d\x65"];
            $i->text = $_POST["\141\164\x76\x73"];
            R::store($i);
            R::store($log);
            GoToNow("\57\144\x61\x69\154\x79\x2e\x70\150\x70\77\x61\143\164\151\x6f\x6e\x3d\x63\162\x65\x61\164\145");
        }
    } else {
        GoToNow("\x2f\144\141\x69\154\171\x2e\160\150\x70");
    }
}

Function Calls

None

Variables

None

Stats

MD5 46e7821e7ad49aa23d5fa42c3d393ca2
Eval Count 0
Decode Time 56 ms