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 /* Ouro Moderno A cpia ou reproduo deste contedo, sem expressa autorizao proibida...
Decoded Output download
$acao = isset($_GET['ACAO']) ?$_GET['ACAO'] : false;
if ($acao) {
if ($acao == 'homediasparaexpirar') {
session_start();
header('Content-type: application/json');
require_once('_inc/config.php');
require_once('Config.php');
require_once('services/LicencaService.php');
require_once('services/ModuloService.php');
require_once('daos/BasicDAO.php');
require_once('daos/ModulosDAO.php');
require_once('daos/CursosDAO.php');
require_once('services/LicencaService.php');
require_once('services/ModuloService.php');
$retorno = array('dias'=>0);
try {
$licencaService = new LicencaService();
$licencaVO = $licencaService->getLicenca();
$diasParaExpirar = intval(ceil(($licencaVO->validade -mktime(0,0,0)) / 86400));
$rrr = md5(Config::VERSION);
$lcd = base64_encode($rrr .($diasParaExpirar * 753));
$lcd_q = $connPDO->query('SELECT LCD FROM lcd');
$count = $lcd_q->rowCount();
if ($count >0) {
$connPDO->query('UPDATE lcd SET LCD = "'.$lcd .'" ');
}else {
$connPDO->query('INSERT INTO lcd (LCD) VALUES ("'.$lcd .'") ');
}
$retorno['dias'] = $diasParaExpirar;
$_SESSION['diasParaExpirar'] = $diasParaExpirar;
}catch (SecurityException $exception) {
}
$json = json_encode($retorno);
echo $json;
die;
}
if ($acao == 'codigodeinstalacao') {
include '_inc/funcoes.php';
$codigodeinstalacao = decryptImg();
if ($codigodeinstalacao) {
}else {
$codigoesconder = substr(str_shuffle(str_repeat('0123456789abcdefghijklmnopqrstuvwxyz',5)),0,5);
$codigodeinstalacao = encryptImg($codigoesconder);
}
die;
}
if ($acao == 'feed') {
session_start();
$x = 0;
require_once('Config.php');
include '_inc/funcoes.php';
$feed = carrega_feed();
if (!empty($feed)) {
try {
for ($i = 0;$i <count($feed);$i++) {
extract($feed[$i]);
;echo ' <div class="carousel-item ';if ($x == 0) {
echo 'active';
++$x;
};echo '">
';if ($tipo == 0) {;echo ' <a href="';echo $url ;echo '" target="_blank">
<canvas width="600" height="340" style="background-image: url(\'';echo $link ;echo '\') " class="d-block w-100 rounded canvas-feed"></canvas>
';if ($titulo) {;echo ' <div class="carousel-caption d-none d-md-block">
<h5>';echo $titulo ;echo '</h5>
</div>
';};echo ' </a>
';}else if ($tipo == 1) {
playerVideo($link);
};echo ' </div>
';
++$x;
}
}catch (Exception $e) {
++$x;
}
}else {
;echo ' <div class="carousel-item active">
<canvas width="600" height="340" style="background-image: url(\'_img/login_slide/';echo rand(2,7) ;echo '.jpg\');" class="d-block w-100 rounded canvas-feed"></canvas>
</div>
';
}
die;
}
if ($acao == 'adiciona_curso_pacote'&&isset($_GET['id']) &&isset($_GET['pacote'])) {
header('Content-type: application/json');
require_once('_inc/config.php');
require_once('Config.php');
require_once('daos/BasicDAO.php');
require_once('daos/PacoteDAO.php');
$BasicDAO = new BasicDAO();
$PacoteDAO = new PacoteDAO();
$curso = $_GET['id'];
$pacote = $_GET['pacote'];
$id = $PacoteDAO->adicionaCurso($curso,$pacote);
if($id) {
print_r(json_encode(['id'=>$id]));
}else {
print_r(json_encode(['erro']));
}
}
if ($acao == 'remover_curso_pacote'&&isset($_GET['id'])) {
header('Content-type: application/json');
require_once('_inc/config.php');
require_once('Config.php');
require_once('daos/BasicDAO.php');
require_once('daos/PacoteDAO.php');
$BasicDAO = new BasicDAO();
$PacoteDAO = new PacoteDAO();
$id = intval($_GET['id']);
$r = $PacoteDAO->removerCurso($id,$pacote);
if($r) {
print_r(json_encode(['id'=>$id]));
}else {
print_r(json_encode(['erro']));
}
}
}
;
Did this file decode correctly?
Original Code
<?php /* Ouro Moderno A cpia ou reproduo deste contedo, sem expressa autorizao proibida. Fica proibida a engenharia reversa para desencryptar os dados. */$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=0x1400;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NTFlKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxN2MpLCdFbnRlcnlvdXdraFJIWUtOV09VVEFhQmJDY0RkRmZHZ0lpSmpMbE1tUHBRcVNzVnZYeFp6MDEyMzQ1Njc4OSsvPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>A_DJK~pkvOkr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLT09NHeEXHr8XhtONT08XHeEXHr8Pkr8XTzEXT08XHtILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzamcCGyp6HerZHzW1YjF4KUSvNUFSk0ytW0OyOLfwUApRTr1KT1nOAlYAaacbBylDCBk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fpctffKXPLFoyjd3Olwe0Iky9uOaOdk3niC290cUffKXPLDBWINUELAoyjd3OlOryNRT5icoljDB9VCAY1FmYvhtOjfbkzdZXLFoyjd3OlhTShDBCPkolLhUn7tmnZDB50b3wPDmYvdl9ldMYvcoAPBZfpctF9NJOpcy0phTShgBaSF2AIGXpXFMlVfy9Zhopzd25gcB5jd2OlhySmcbkZdZffhUL7tm0hgWppcJEPkoyjCB8INT0Ik3kldB92cbkgC3aZF29gFoyjd3OlkZCMDbYzcbWPky9uOaOdk2lLk10phUn7tMilCBOlFJImW29VfoaVft10GbnlKJniFunSDBYifolvdJ9QF29VkZL7tmklFbapFMagd25jcUImb2lVCZ9jd25MDBFVFoiXkZL7tmklFbapFMagd25jcUImW29VcMlmRmnPFtFpKXpZcby1Dbklb29VC2APk2Oid3HvWMyzDBYrWA8VFoiXkZL7tmklFbapFMagd25jcUImcoyvFZ9WCBYvfoarWA8VFoiXkZL7tJOtCbYpC0OnTZE9wo5lfZntCbYpC0OnTZIpKXPLAoyjd3OlOryNwe0IdMa3wyniC290cAOnTZIpKXPLDBWINUnpdmO2CBXPky9uOaOdk2lLk10pKXPLFJE9wtOWCBYvfoarWA8sNmkldB92cbkefbkzdZILDBWSkuniC290cUL7tMlMhtOZhUn7tmnZDB50b3wPDmYvdl9ldMYvcoAPBZfpctF9NJOpcy0phTShgBaSF2AIGXpXFMlVfy9Zhopzd25gcB5jd2OlhySmcbkZdZffhUL7tm0hgWp9tjS=GHwE
Function Calls
fopen | 1 |
fread | 3 |
strtr | 2 |
fclose | 1 |
urldecode | 1 |
str_replace | 1 |
base64_decode | 3 |
Stats
MD5 | 4a289b3db87f9723d1a8acb1a2bd71af |
Eval Count | 3 |
Decode Time | 159 ms |