Author Topic: Interesting Admin Graphic Memo  (Read 830 times)

0 Members and 1 Guest are viewing this topic.

Offline Zug

  • Newbie
  • *
  • Posts: 35
  • Karma: +12/-0
    • View Profile
    • http://www.teensinporn.biz
Interesting Admin Graphic Memo
« on: February 16, 2014, 10:12:50 AM »
Well I found this interesting and thought I would share here with tubex lovers. :)

I was sick of looking at the admin area green header graphics. So I changed them.

Well.. come to find out you cannot change the TubeX graphic (located here: /admin/images/tubex-174x41.png), if you do, it will spit out this error code on your pages:
Parse error: syntax error, unexpected $end in /var/www/tubex-site.com/classes/Template.php(265) : eval()'d code on line 1

Took me about two days to figure this out. It is somehow tied in with the %%poweredby%% as well.

classes/Template.php code (at bottom) that apparently invokes this:
Code: [Select]
if( ($_fp_in = fopen(BASE_DIR . base64_decode('L2FkbWluL2lfYWdlcy90dWJlbC0xNzR4NDEucG5n'), 'rb')) !== false )
{
    fseek($_fp_in, 8, SEEK_SET);
    while( !feof($_fp_in) )
    {
        $chunk = fread($_fp_in, 4);

        if( feof($_fp_in) )
        {
            break;
        }

        $length = unpack('Ni', $chunk);
        $chunk = fread($_fp_in, 4);

        if( $chunk == "\x74\x65\x58\x74" )
        {
            $data = substr(fread($_fp_in, $length['i']), 5);
            eval(base64_decode($data));
            break;
        }

        $seek = fseek($_fp_in, $length['i'] + 4, SEEK_CUR);
    }
    fclose($_fp_in);
}

I am using a paid for version that I also paid for to have the Powered By removed directly from jmbsoft.

Does the current free download on github have this same issue?

Unofficial JMB Support Forums

Interesting Admin Graphic Memo
« on: February 16, 2014, 10:12:50 AM »


Tags:
 

Related Topics

  Subject / Started by Replies Last post
1 Replies
1218 Views
Last post August 28, 2012, 04:07:20 PM
by a4evermedia
0 Replies
1419 Views
Last post March 07, 2015, 06:17:45 AM
by amebb
0 Replies
1090 Views
Last post July 31, 2015, 09:17:07 AM
by CrazyMartin

anything