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 t1Lec; PPHU7: include "\151\x6e\143\57\x63\x6f\156\146\x69\147\56\x70\x68\x7..

Decoded Output download

<?php 
goto t1Lec; 
PPHU7: 
include "inc/config.php"; 
goto Q1kY0; 
Q1kY0: 
include "inc/functions.php"; 
goto VwoPx; 
VwoPx: 
if (isset($_GET["id"])) { 
    $i = get_item("Chamados", $_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"] . " zerou a pendncia do chamado com o ttulo de [" . $i["titulo"] . "]" . "ID:[" . $i["id"] . "]"; 
    $i->pend = 0; 
    $i->sla = ''; 
    R::store($i); 
    R::store($log); 
    GoToNow("/chamados.php?action=pend"); 
} else { 
    GoToNow("/chamados.php"); 
} 
goto rpdLI; 
t1Lec: 
session_start(); 
goto PPHU7; 
rpdLI: ?>

Did this file decode correctly?

Original Code

<?php
goto t1Lec;
PPHU7:
include "\151\x6e\143\57\x63\x6f\156\146\x69\147\56\x70\x68\x70";
goto Q1kY0;
Q1kY0:
include "\x69\156\x63\57\146\165\156\x63\x74\x69\157\x6e\163\x2e\x70\x68\160";
goto VwoPx;
VwoPx:
if (isset($_GET["\151\144"])) {
    $i = get_item("\103\150\x61\155\141\x64\157\x73", $_GET["\x69\144"]);
    $log = R::dispense("\x6c\x6f\147\x73");
    $log->hora = date("\x59\x2d\155\x2d\x64\x5c\x54\110\x3a\151\x3a\163");
    $log->ip = $_SERVER["\x52\x45\x4d\117\124\105\x5f\101\x44\104\x52"];
    $log->mensagem = $_SESSION["\x6c\157\147\147\145\144\137\x75\x73\145\x72"]["\156\x6f\x6d\145"] . "\40\172\x65\x72\x6f\165\40\141\40\x70\x65\156\144\xc3\252\x6e\x63\x69\x61\x20\144\x6f\x20\143\x68\141\155\x61\x64\x6f\40\x63\157\155\x20\157\40\x74\xc3\255\164\x75\x6c\x6f\x20\x64\x65\x20\x5b" . $i["\164\151\x74\x75\x6c\157"] . "\135" . "\x49\x44\x3a\x5b" . $i["\x69\x64"] . "\x5d";
    $i->pend = 0;
    $i->sla = '';
    R::store($i);
    R::store($log);
    GoToNow("\57\143\150\141\155\x61\x64\x6f\x73\56\160\x68\160\77\x61\143\164\151\x6f\x6e\x3d\x70\x65\156\144");
} else {
    GoToNow("\x2f\x63\x68\x61\155\x61\x64\157\x73\56\x70\x68\x70");
}
goto rpdLI;
t1Lec:
session_start();
goto PPHU7;
rpdLI: ?>

Function Calls

None

Variables

None

Stats

MD5 b65e5cff7f5e949196b7ea44ba615cab
Eval Count 0
Decode Time 50 ms