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 sHfd5; bfYi7: $access = $_SESSION["\x6c\x6f\x67\x67\145\x64\x5f\165\163\145\x..
Decoded Output download
<?php
goto sHfd5; bfYi7: $access = $_SESSION["logged_user"]["acesso"]; goto fObgx; Gjk9u: $access = $_SESSION["logged_user"]["acesso"]; goto UrO1Z; Pm0kf: if ($acc == "False") { GoToNow("/index.php?action=noaccess"); } else { include "inc/config.php"; include "inc/functions.php"; if (isset($_POST["apps-nome"]) && isset($_POST["apps-tech"]) && isset($_POST["apps-critic"])) { $i = R::dispense("Apps"); $log = R::dispense("logs"); $log->hora = date("Y-m-d\TH:i:s"); $log->ip = $_SERVER["REMOTE_ADDR"]; $log->mensagem = $_SESSION["logged_user"]["nome"] . " adicionou uma aplicao com o nome de [" . $_POST["nome"] . "]"; $i->nome = $_POST["apps-nome"]; $i->tech = $_POST["apps-tech"]; $i->srv = $_POST["apps-srv"]; $i->url = $_POST["apps-url"]; $i->iplocal = $_POST["apps-iplocal"]; $i->ippub = $_POST["apps-ippub"]; $i->ipbd = $_POST["apps-ipbd"]; $i->bdname = $_POST["apps-bdname"]; $i->bdtipo = $_POST["apps-bdtipo"]; $i->local = $_POST["apps-local"]; $i->imagem = $_POST["apps-imagem"]; $i->projeto = $_POST["apps-projeto"]; $i->ambiente = $_POST["apps-ambiente"]; $i->status = $_POST["apps-status"]; $i->critic = $_POST["apps-critic"]; $i->obs = $_POST["apps-obs"]; R::store($i); R::store($log); GoToNow("Location: /apps.php?action=create"); } else { GoToNow("Location: /apps.php"); } } goto IsFnp; JhhLH: $acl = rolesPermissions(new LizACL\Acl()); goto tl80L; fObgx: $role = $access; goto iYUCg; iDfZV: $page = "apps"; goto qaoRv; lbWRc: include "inc/functionscpp.php"; goto OnA2x; OnA2x: include "inc/Acl.php"; goto Gjk9u; wiEzA: $acc = showAllowedLabel($acl, $role, $page, $action); goto Pm0kf; WgDWT: $action = "add"; goto JhhLH; UrO1Z: $role = $access; goto iDfZV; E__TS: $acl = rolesPermissions(new LizACL\Acl()); goto wiEzA; j9oeh: session_start(); goto lbWRc; agPuL: include "inc/Acl.php"; goto bfYi7; iYUCg: $page = "apps"; goto WgDWT; tl80L: $acc = showAllowedLabel($acl, $role, $page, $action); goto lIDbb; qaoRv: $action = "add"; goto E__TS; lIDbb: if ($acc == "False") { GoToNow("/index.php?action=noaccess"); } else { include "inc/config.php"; include "inc/functions.php"; if (isset($_POST["apps-nome"]) && isset($_POST["apps-tech"]) && isset($_POST["apps-critic"])) { $i = R::dispense("Apps"); $log = R::dispense("logs"); $log->hora = date("Y-m-d\TH:i:s"); $log->ip = $_SERVER["REMOTE_ADDR"]; $log->mensagem = $_SESSION["logged_user"]["nome"] . " adicionou uma aplicao com o nome de [" . $_POST["nome"] . "]"; $i->nome = $_POST["apps-nome"]; $i->tech = $_POST["apps-tech"]; $i->srv = $_POST["apps-srv"]; $i->url = $_POST["apps-url"]; $i->iplocal = $_POST["apps-iplocal"]; $i->ippub = $_POST["apps-ippub"]; $i->ipbd = $_POST["apps-ipbd"]; $i->bdname = $_POST["apps-bdname"]; $i->bdtipo = $_POST["apps-bdtipo"]; $i->local = $_POST["apps-local"]; $i->imagem = $_POST["apps-imagem"]; $i->projeto = $_POST["apps-projeto"]; $i->ambiente = $_POST["apps-ambiente"]; $i->status = $_POST["apps-status"]; $i->critic = $_POST["apps-critic"]; $i->obs = $_POST["apps-obs"]; R::store($i); R::store($log); GoToNow("Location: /apps.php?action=create"); } else { GoToNow("Location: /apps.php"); } } goto j9oeh; sHfd5: session_start(); goto wsp1A; wsp1A: include "inc/functionscpp.php"; goto agPuL; IsFnp: ?>
Did this file decode correctly?
Original Code
<?php
goto sHfd5; bfYi7: $access = $_SESSION["\x6c\x6f\x67\x67\145\x64\x5f\165\163\145\x72"]["\141\143\145\163\x73\157"]; goto fObgx; Gjk9u: $access = $_SESSION["\x6c\157\x67\x67\x65\144\137\165\x73\145\x72"]["\141\x63\x65\x73\163\157"]; goto UrO1Z; Pm0kf: if ($acc == "\x46\x61\154\x73\x65") { GoToNow("\57\151\x6e\x64\145\170\x2e\160\150\160\x3f\141\143\x74\x69\157\x6e\75\156\x6f\x61\143\x63\145\x73\x73"); } else { include "\x69\x6e\x63\57\143\x6f\156\146\x69\147\x2e\160\x68\160"; include "\x69\156\143\57\146\165\156\143\164\x69\157\x6e\163\x2e\160\x68\160"; if (isset($_POST["\x61\x70\x70\x73\x2d\156\157\155\145"]) && isset($_POST["\141\160\160\x73\55\x74\145\143\x68"]) && isset($_POST["\141\160\160\x73\x2d\143\x72\x69\164\151\x63"])) { $i = R::dispense("\101\160\x70\x73"); $log = R::dispense("\154\157\x67\163"); $log->hora = date("\x59\55\155\55\144\134\x54\110\x3a\151\72\x73"); $log->ip = $_SERVER["\x52\105\x4d\x4f\x54\105\x5f\x41\104\x44\122"]; $log->mensagem = $_SESSION["\x6c\157\147\x67\x65\144\x5f\165\163\145\x72"]["\x6e\157\155\145"] . "\x20\x61\144\x69\143\x69\157\x6e\x6f\x75\x20\165\155\141\x20\x61\160\x6c\x69\143\141\303\247\303\xa3\157\x20\143\157\x6d\40\x6f\x20\x6e\x6f\155\x65\x20\144\x65\40\133" . $_POST["\156\157\155\x65"] . "\x5d"; $i->nome = $_POST["\141\160\x70\163\x2d\x6e\x6f\155\x65"]; $i->tech = $_POST["\x61\x70\x70\163\x2d\x74\145\143\150"]; $i->srv = $_POST["\x61\160\x70\163\55\163\162\x76"]; $i->url = $_POST["\x61\160\x70\x73\x2d\x75\162\x6c"]; $i->iplocal = $_POST["\141\160\x70\x73\55\x69\x70\154\157\x63\x61\x6c"]; $i->ippub = $_POST["\x61\160\x70\163\x2d\x69\160\x70\165\x62"]; $i->ipbd = $_POST["\x61\160\160\x73\55\x69\x70\142\x64"]; $i->bdname = $_POST["\141\x70\x70\163\55\x62\x64\x6e\141\155\145"]; $i->bdtipo = $_POST["\x61\160\160\x73\55\x62\144\x74\x69\160\157"]; $i->local = $_POST["\x61\x70\x70\x73\x2d\154\x6f\143\141\154"]; $i->imagem = $_POST["\x61\160\x70\x73\55\151\x6d\x61\147\145\155"]; $i->projeto = $_POST["\x61\x70\x70\x73\55\x70\162\x6f\152\x65\164\x6f"]; $i->ambiente = $_POST["\x61\160\160\163\55\x61\155\142\151\145\x6e\x74\x65"]; $i->status = $_POST["\x61\160\x70\x73\x2d\x73\x74\141\164\165\x73"]; $i->critic = $_POST["\141\160\x70\163\x2d\143\162\151\164\x69\143"]; $i->obs = $_POST["\141\160\160\x73\x2d\157\x62\163"]; R::store($i); R::store($log); GoToNow("\x4c\x6f\143\141\164\x69\157\156\72\x20\x2f\141\160\160\163\56\160\150\x70\x3f\x61\x63\164\151\x6f\156\75\143\x72\x65\x61\164\x65"); } else { GoToNow("\114\157\143\141\x74\x69\157\156\72\x20\57\x61\x70\160\x73\x2e\x70\150\160"); } } goto IsFnp; JhhLH: $acl = rolesPermissions(new LizACL\Acl()); goto tl80L; fObgx: $role = $access; goto iYUCg; iDfZV: $page = "\141\x70\x70\163"; goto qaoRv; lbWRc: include "\x69\156\x63\x2f\x66\x75\156\143\164\151\x6f\x6e\163\143\x70\160\56\160\150\x70"; goto OnA2x; OnA2x: include "\x69\x6e\x63\57\101\x63\154\56\x70\x68\160"; goto Gjk9u; wiEzA: $acc = showAllowedLabel($acl, $role, $page, $action); goto Pm0kf; WgDWT: $action = "\141\x64\144"; goto JhhLH; UrO1Z: $role = $access; goto iDfZV; E__TS: $acl = rolesPermissions(new LizACL\Acl()); goto wiEzA; j9oeh: session_start(); goto lbWRc; agPuL: include "\x69\156\x63\57\x41\x63\154\x2e\x70\150\x70"; goto bfYi7; iYUCg: $page = "\x61\160\x70\x73"; goto WgDWT; tl80L: $acc = showAllowedLabel($acl, $role, $page, $action); goto lIDbb; qaoRv: $action = "\141\x64\x64"; goto E__TS; lIDbb: if ($acc == "\x46\x61\154\x73\145") { GoToNow("\x2f\x69\156\144\145\170\56\x70\150\x70\77\x61\143\164\151\x6f\156\75\156\157\x61\143\x63\x65\163\163"); } else { include "\151\x6e\x63\x2f\143\x6f\x6e\146\151\x67\x2e\160\150\x70"; include "\151\156\143\x2f\x66\x75\156\x63\x74\151\157\x6e\163\x2e\160\150\x70"; if (isset($_POST["\141\x70\x70\x73\x2d\x6e\x6f\155\145"]) && isset($_POST["\x61\160\x70\x73\x2d\x74\x65\x63\150"]) && isset($_POST["\x61\x70\x70\163\x2d\x63\162\151\x74\x69\143"])) { $i = R::dispense("\101\160\160\x73"); $log = R::dispense("\x6c\157\x67\163"); $log->hora = date("\131\x2d\155\55\x64\x5c\x54\x48\72\x69\72\x73"); $log->ip = $_SERVER["\x52\x45\x4d\117\x54\105\137\101\x44\104\122"]; $log->mensagem = $_SESSION["\154\157\147\147\x65\x64\137\165\x73\x65\162"]["\x6e\157\x6d\145"] . "\x20\x61\x64\x69\x63\x69\157\x6e\x6f\165\x20\165\155\x61\40\x61\x70\x6c\151\143\x61\303\247\xc3\243\157\40\143\157\x6d\x20\x6f\40\x6e\157\x6d\x65\40\x64\145\x20\133" . $_POST["\156\157\155\145"] . "\x5d"; $i->nome = $_POST["\x61\160\x70\163\x2d\x6e\157\155\145"]; $i->tech = $_POST["\x61\160\x70\163\x2d\164\145\x63\x68"]; $i->srv = $_POST["\141\160\160\x73\x2d\x73\x72\166"]; $i->url = $_POST["\141\x70\x70\163\55\x75\x72\154"]; $i->iplocal = $_POST["\141\x70\x70\x73\55\x69\160\x6c\x6f\x63\141\154"]; $i->ippub = $_POST["\141\x70\x70\163\x2d\x69\160\160\165\142"]; $i->ipbd = $_POST["\141\160\x70\x73\55\151\x70\142\144"]; $i->bdname = $_POST["\141\160\160\x73\55\142\x64\x6e\x61\x6d\145"]; $i->bdtipo = $_POST["\x61\x70\x70\x73\x2d\142\x64\164\151\160\157"]; $i->local = $_POST["\141\x70\160\163\x2d\x6c\157\x63\141\x6c"]; $i->imagem = $_POST["\x61\160\x70\163\x2d\x69\x6d\141\x67\145\x6d"]; $i->projeto = $_POST["\141\160\x70\x73\55\160\162\157\x6a\145\x74\x6f"]; $i->ambiente = $_POST["\141\160\x70\x73\x2d\x61\155\142\x69\x65\x6e\x74\145"]; $i->status = $_POST["\x61\x70\x70\163\x2d\x73\164\x61\164\165\163"]; $i->critic = $_POST["\x61\x70\x70\x73\x2d\x63\162\x69\164\151\143"]; $i->obs = $_POST["\141\160\x70\x73\55\x6f\x62\x73"]; R::store($i); R::store($log); GoToNow("\x4c\157\x63\x61\164\x69\x6f\x6e\x3a\x20\x2f\x61\x70\160\163\x2e\x70\x68\x70\77\x61\x63\164\x69\x6f\x6e\x3d\x63\x72\145\141\164\x65"); } else { GoToNow("\114\x6f\143\x61\164\x69\157\156\x3a\40\57\x61\x70\160\163\56\160\150\x70"); } } goto j9oeh; sHfd5: session_start(); goto wsp1A; wsp1A: include "\x69\x6e\x63\57\x66\x75\156\143\164\x69\157\x6e\163\x63\160\x70\x2e\x70\150\x70"; goto agPuL; IsFnp: ?>
Function Calls
None |
Stats
MD5 | 9d4f97784eabe6c5df3c8eab4c3a55a8 |
Eval Count | 0 |
Decode Time | 38 ms |