WordPress.org

Ready to get started?Download WordPress

Forums

I think I was Hacked... (5 posts)

  1. TheReviewWire
    Member
    Posted 1 year ago #

    I downloaded AntiVirus on my WordPress theme and found something fishy in timthum.php. I don't know what needs to be deleted or what to do next:

    Any advise?

    [ Moderated, malware code removed. ]

  2. adpawl
    Member
    Posted 1 year ago #

  3. TheReviewWire
    Member
    Posted 1 year ago #

    Do I just copy and paste? Will that affect anything on my WP theme?

    HTML illiterate here so I don't know what timthumb does etc.

    Thanks for the help!

  4. adpawl
    Member
    Posted 1 year ago #

    Yes, you can do copy and paste.
    timthumb.php is a script for generating thumbnails
    ...create also timthumb-config.php file with the content:

    <?php
    define ('ALLOW_EXTERNAL', false);
    define ('ALLOW_ALL_EXTERNAL_SITES', false);
    define ('DEFAULT_Q', 90);
    define ('MAX_WIDTH', 1500);
    define ('MAX_HEIGHT', 1500);
    
    $ALLOWED_SITES = array ();
    ?>
  5. TheReviewWire
    Member
    Posted 1 year ago #

    I just did that, thanks! We will see...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.