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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

 
session_start();
require ("../config/config.php");
require ("../config/config_db.php");
require ("restrito.php");
;echo '<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="css/lapis_professor.css" rel="stylesheet" type="text/css" media="all" />
<script language="javascript" src="js/lapis_professor.js"> </script>
<script language="javascript" src="js/HTTPrequest.js"> </script>
<title>';echo $site_tit;;echo '</title>
</head>
<body>
';
$smarty                = new Smarty;
$smarty->caching       = false;
$smarty->compile_check = true;
$smarty->debugging     = false;
$smarty->template_dir  = "../coordenador/modelo/";
$smarty->compile_dir   = "../coordenador/modelo_c/";
$mes_atual             = $_GET["mes"];
$ano_atual             = $ano_pro;
$sql_tur = "
	SELECT DISTINCT
          CODIGO_TUR, CODIGOUNIDADE_TUR, CODIGOSERIE_COR
      FROM
          SERIECOORDENADOR SC, TURMA TU
      WHERE
          SC.CODIGOPROFESSOR_COR = $codigo_pr AND
          SC.CODIGOSERIE_COR = TU.CODIGOSERIE_TUR
      ORDER BY CODIGOUNIDADE_TUR, CODIGO_TUR
";
$query_tur = &$conn->Execute($sql_tur);
if (!$query_tur)
{
print $conn->ErrorMsg();
}
else 
{
while (!$query_tur->EOF)
{
$turma[]      	= utf8_decode($query_tur->fields[0]);
$query_tur->MoveNext();
}
}
$diahj = date("d/m/Y");
$smarty->assign("login",$login);
$smarty->assign("mes",$mes);
$smarty->assign("mes_atual",$mes_atual);
$smarty->assign("turma",$turma);
$smarty->display('turma_faltas.tpl');
;echo '</body>
</html>';;

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x804;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTAzKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdBVng0WE10Z1c2SVBzTzBUR0xZbkR2OCtiZWxvYUUvSDJxd041S2lkU0Z5Wm1jMWt1anpVSjNCOWg3cFFScmZDPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>M\FwG^sRMHC{K6XrTs4VTs4VTs43UEg6HaivuotMNeY2d+3rtYDjM+3RdPxWdWwh5nJrTsXRunUAuPwWdWwu5nJrTs4AusXRuIxLTnJRus4AusXRS6XRunUAunJRusx25nUAusXRunUAuPxLTnUAunUAus4AFPxEVvd2J8X3Je3aBYvVUnUVDLJjeo5LB0xcwe8jkbDDkY46jEJh3YBK5DJe78i3Ns8c3ldFvYNOx0829aMMYaie4TYam6JMxGJLML5EWYDFPnX30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Jo8uf6UmQf_C

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 2052
$OO00O00O0 session_start(); require ("../config/config.php"); require..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 cd3679426ad0f20039c208a08cfedef5
Eval Count 3
Decode Time 99 ms