WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] PHP files hacked… Random websites…

[Resolved] PHP files hacked… Random websites…

  • 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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] PHP files hacked… Random websites…’ is closed to new replies.
Skip to toolbar