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 P1ms3; x0g3t: include "\x69\x6e\x63\x2f\x41\143\x6c\x2e\160\150\160"; goto ..
Decoded Output download
<?php
goto P1ms3;
x0g3t:
include "inc/Acl.php";
goto o3ZMO;
FvjP7:
$action = "delete";
goto WjrAR;
o3ZMO:
$access = $_SESSION["logged_user"]["acesso"];
goto ffnE1;
rfdss:
include "inc/functionscpp.php";
goto x0g3t;
noUfV:
$acc = showAllowedLabel($acl, $role, $page, $action);
goto r_Q2k;
P1ms3:
session_start();
goto rfdss;
ffnE1:
$role = $access;
goto lD0q1;
WjrAR:
$acl = rolesPermissions(new LizACL\Acl());
goto noUfV;
lD0q1:
$page = "produtos";
goto FvjP7;
r_Q2k:
if ($acc == "False") {
GoToNow("/index.php?action=noaccess");
} else {
include "inc/config.php";
include "inc/functions.php";
if (isset($_GET["id"])) {
$i = get_item("Produto", $_GET["id"]);
$log = R::dispense("logs");
$log->hora = date("Y-m-d\TH:i:s");
$log->ip = $_SERVER["REMOTE_ADDR"];
$log->mensagem = $_SESSION["logged_user"]["nome"] . " removeu o produto com o nome de [" . $i["nome"] . "]" . "ID:[" . $i["id"] . "]";
R::trash($i);
R::store($log);
GoToNow("/produtos.php?action=delete");
} else {
GoToNow("/produtos.php");
}
}
goto s1Mkn;
s1Mkn: ?>
Did this file decode correctly?
Original Code
<?php
goto P1ms3;
x0g3t:
include "\x69\x6e\x63\x2f\x41\143\x6c\x2e\160\150\160";
goto o3ZMO;
FvjP7:
$action = "\144\x65\x6c\145\x74\x65";
goto WjrAR;
o3ZMO:
$access = $_SESSION["\x6c\157\x67\147\x65\x64\137\165\x73\145\x72"]["\141\x63\x65\x73\163\x6f"];
goto ffnE1;
rfdss:
include "\151\156\x63\x2f\146\x75\x6e\x63\164\151\x6f\x6e\163\143\160\x70\x2e\x70\x68\x70";
goto x0g3t;
noUfV:
$acc = showAllowedLabel($acl, $role, $page, $action);
goto r_Q2k;
P1ms3:
session_start();
goto rfdss;
ffnE1:
$role = $access;
goto lD0q1;
WjrAR:
$acl = rolesPermissions(new LizACL\Acl());
goto noUfV;
lD0q1:
$page = "\160\162\157\x64\x75\164\157\x73";
goto FvjP7;
r_Q2k:
if ($acc == "\106\x61\154\163\145") {
GoToNow("\57\x69\x6e\144\145\170\x2e\160\150\x70\77\141\x63\x74\x69\157\x6e\x3d\x6e\x6f\x61\x63\143\145\x73\x73");
} else {
include "\151\x6e\x63\57\x63\x6f\x6e\x66\151\147\56\160\150\x70";
include "\151\x6e\143\x2f\146\165\156\143\x74\x69\157\156\x73\x2e\160\x68\x70";
if (isset($_GET["\151\144"])) {
$i = get_item("\x50\x72\157\x64\x75\x74\157", $_GET["\151\x64"]);
$log = R::dispense("\154\157\147\x73");
$log->hora = date("\131\x2d\155\x2d\x64\134\124\110\72\x69\72\x73");
$log->ip = $_SERVER["\x52\x45\115\x4f\124\x45\x5f\x41\x44\104\122"];
$log->mensagem = $_SESSION["\x6c\x6f\147\x67\x65\144\x5f\165\x73\145\162"]["\x6e\x6f\155\145"] . "\x20\162\145\x6d\157\166\145\165\40\x6f\40\160\162\157\x64\165\x74\x6f\x20\x63\157\x6d\40\x6f\40\156\157\x6d\x65\40\x64\x65\40\133" . $i["\x6e\157\x6d\x65"] . "\135" . "\x49\x44\72\x5b" . $i["\x69\x64"] . "\135";
R::trash($i);
R::store($log);
GoToNow("\57\x70\162\157\x64\165\164\x6f\x73\x2e\160\150\160\77\141\143\x74\x69\x6f\x6e\75\144\145\154\145\164\x65");
} else {
GoToNow("\57\x70\x72\157\x64\165\x74\157\x73\56\x70\150\x70");
}
}
goto s1Mkn;
s1Mkn: ?>
Function Calls
None |
Stats
MD5 | cd02000ef5417f0fe9eb504de03c71cc |
Eval Count | 0 |
Decode Time | 49 ms |