WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] PHP files hacked... Random websites... (3 posts)

  1. Footbag
    Member
    Posted 3 years ago #

    This morning, I noticed my site was down. I got a blank white screen for both the frontpage and the wp-admin.

    I noticed that my config.php file had a bunch of random websites at the bottom of the file. I reverted to an older config.php from a backup and the front end of the site is now available, but the wp-admin page is still not available.

    As I went through, I noticed that a number of the .php files ( had the same random websites on the bottom of the files. Is there a good way to find and fix each one, or should I consider reverting from a backup from before the problems occured?

  2. Footbag
    Member
    Posted 3 years ago #

    I looked back, and it appears to have effected almost all of my .php files. Each has a list of hundreds of random websites that aren't supposed to be there.

    I am running 3.0.1 or higher.

  3. Footbag
    Member
    Posted 3 years ago #

    I resolved my problem by reverting to all of my backup .php files.

    I must have gotten hacked because all of my .php were edited. Not sure what it did, but the fix was relatively easy. Maybe referred to a bunch of random websites until the server times out. No I have to go and change all of my passwords and such.

Topic Closed

This topic has been closed to new replies.

About this Topic