Facebook 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4282
Latest: Eric87
New This Month: 7
New This Week: 0
New Today: 0
Stats
Total Posts: 43664
Total Topics: 7576
Most Online Today: 86
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 63
Total: 63

Author Topic: Unknown Code Found in Gallery.php  (Read 6281 times)

0 Members and 1 Guest are viewing this topic.

Offline william777

  • Member
  • *
  • Posts: 37
    • View Profile
    • Lee Young Ae Fans Club
Unknown Code Found in Gallery.php
« on: May 19, 2009, 09:30:56 pm »
In recent times there were many attacks on SMF sites by a user named krisbarteo. One of the things he did was to insert a code "base64_decode(xxxxxx)" in numerous files [xxxxxx refers to some undecipherable codes].

To be on the safe side, I tried to look for such a code in my php files. I found one in the Gallery.php file, Lite version 1.7.5, see below:


Code: [Select]
function ViewC()
{
die(base64_decode('UG93ZXJlZCBieSBHYWxsZXJ5IEZvciBTTUYgIG1hZGUgYnkgdmJnYW1lcjQ1IGh0dHA6Ly93d3cuc21maGFja3MuY29t'));
}

For curiosity, I downloaded version 1.8.2 and checked the Gallery.php file. The code is also found.

My question is "Is this a legitimate code?"

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16618
    • View Profile
Re: Unknown Code Found in Gallery.php
« Reply #1 on: May 19, 2009, 09:43:28 pm »
Yes that is legitimate code by the gallery.

Just says
Powered by Gallery For SMF  made by vbgamer45 http://www.smfhacks.com
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline william777

  • Member
  • *
  • Posts: 37
    • View Profile
    • Lee Young Ae Fans Club
Re: Unknown Code Found in Gallery.php
« Reply #2 on: May 19, 2009, 10:01:04 pm »
Thanks SMFHacks for your quick reply .... now I can sleep better!

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3923 Views
Last post January 29, 2009, 06:15:54 am
by cepsi
1 Replies
5442 Views
Last post July 26, 2009, 08:58:55 am
by SMFHacks
3 Replies
893 Views
Last post August 22, 2021, 03:09:23 pm
by SMFHacks
1 Replies
659 Views
Last post July 20, 2024, 10:30:33 am
by SMFHacks
2 Replies
66 Views
Last post February 13, 2025, 07:02:57 pm
by Senkusha

+- Recent Topics

Administration Center Clean Up by Senkusha
February 14, 2025, 07:30:31 am

Unknown Column: money by Senkusha
February 13, 2025, 07:02:57 pm

Do you offer paid assistance with the SMFBlog mod? by Grammy
February 11, 2025, 02:58:04 pm

SMFBlog Mod by Grammy
February 10, 2025, 07:33:32 pm

[Mod]Bluesky Auto Embed by SMFHacks
January 30, 2025, 01:47:36 pm

Delete a Picture from Trash - Error by SMFHacks
January 29, 2025, 09:06:38 pm

RESOLVED: Store Not Logging Transactions or Sending Emails by SMFHacks
January 23, 2025, 06:24:27 pm

Ability to exclude categories from ezPortal SMF Gallery random image ezblock by Alistair
January 22, 2025, 08:20:13 am

How to move SMF to new server by SMFHacks
January 21, 2025, 08:45:53 pm

Figuring out settings by SMFHacks
January 12, 2025, 04:56:14 pm

Powered by EzPortal