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 /* Cdigo fonte protegido - Pblica Tecnologia */$OOO000000=urldecode('%66%67%36%73%62..

Decoded Output download


session_start();
header("Content-Type: text/html; charset=ISO-8859-1",true);
include_once '../class/conecta.class.php';
$tipo = 0;
$ug =  $_POST["cbxug"];
$_SESSION['cbxug'] = $ug;
include('../bd/conexao_almoxarifado.php');
echo "<option value='0'>Almoxarifado</option>";
$sql = ibase_prepare("SELECT
            A.CODIGO,
            A.DESCRICAO, 
            A.CDUNIDGESTORA,
            A.CDGESTAO
          FROM ALMOXARIFADOS A
          WHERE
            A.CDUNIDGESTORA = '$ug'
            AND EXISTS (SELECT FIRST 1 B.CDALMOXARIFADO FROM SALDOSMATERIAIS B
                        WHERE
                          B.CDALMOXARIFADO = A.CODIGO)
          ORDER BY A.DESCRICAO");
$qry = ibase_execute($sql) or die ("Erro ao conectar:".ibase_errmsg());
while ($rowsempresa = ibase_fetch_assoc($qry))
{
echo '<option value = "'.$rowsempresa['CODIGO'].'"> '.$rowsempresa['DESCRICAO'].'</option>';
};

Did this file decode correctly?

Original Code

<?php /* Cdigo fonte protegido - Pblica Tecnologia */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x4d0;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDUzOCk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnRW50ZXJ5b3V3a2hSSFlLTldPVVRBYUJiQ2NEZEZmR2dJaUpqTGxNbVBwUXFTc1Z2WHhaejAxMjM0NTY3ODkrLz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>~^h|VwytsWw`y]kr9NHenNHenNHe1zfukgFMaXdoyjcUImb19oUAxyb18mRtwmwJ4LT09NHr8XTzEXRJwmwJXLO0xNWLyHA1SmT09NHeEXHr8Xk10PkrfHT0knTyYdk09NTzEXHeEXTZffhtOuTr9tWAxTBZfNHr8XHr9NHeEmbUILTzEXHr8XTzEXRtONTzEXTzEXHeEpRtfydmOlFmlvfbfqDykwBAsKa09aaryiWMkeC0OLOMcuc0lpUMpHdr1sAunOFaYzamcCGyp6HerZHzW1YjF4KUSvNUFSk0ytW0OyOLfwUApRTr1KT1nOAlYAaacbBylDCBkjcoaMc2ipDMsSdB5vFuyZF3O1fmf4GbPXHTwzYeA2YzI5hZ8mhULpK2cjdo9zcUILTzEXHr8XTzEXhTslfMyShtONTzEXTzEXTzEpKX==eWpzcbYzDB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LphW0hGX0hcBYPdZEmNo9XfolvdJn2CBx1cUE9wtwmRJOZd3fzcB1XFMazCaSmW09rUAfNk10VkZw+wtFVkukvf3YldbnZcbYiBZfrOaYeALleWA8mbU4mNt9vFuOpd24+kzSYtm07S@\fVLLX}^~B|qVO[}t

Function Calls

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

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 1232
$OO00O00O0 session_start(); header("Content-Type: text/html; charset..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 548cbf3191d1ffde682b38eb9099337f
Eval Count 3
Decode Time 127 ms