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


$cd_veiculo = $_GET["cd_veiculo"];
include("../../bd/conexao_frota.php");
$sqlimagem = ibase_prepare("
        SELECT
            B.FOTO
         FROM VEICULOS B
            WHERE
                B.CODIGO = '$cd_veiculo'
               ");
$qryimagem = ibase_execute($sqlimagem);
$lnimagem = ibase_fetch_assoc($qryimagem);
$imagem = $lnimagem['FOTO'];
header( "Content-type: image/JPEG");
echo ibase_blob_echo($imagem);

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=0x244;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE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rwVW09rUAfNwe0IkZOjcy92cBljfBxvkX0hwtEIwtEIwtEIwtEIwtEIwJL7eWPLFbk5DB1ic2aswe0IDBkiF2agcbilC3a0cUILF3ySDB1ic2ashTSYtJOSdMlsCBfldUE9wolJCbYlb2clfoYPb2yzF29jhtOxFmlpdBymcB0pKX0hkolsCBfldUE9wtOSdMlsCBfldaSmOL9ATZffKX0hDoaicoaZhtEJW29VfoaVft10GbnlKJnpdBymcU9hArauwJL7eWplC2ivwolJCbYlb2kSd2kgcBYPdZILDB1ic2ashTS=PqRMtkoV{rGJhLULeMr

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 580
$OO00O00O0 $cd_veiculo = $_GET["cd_veiculo"]; include("../../bd/cone..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 96ab8c534ea69956aa2c7448933712b7
Eval Count 3
Decode Time 96 ms