TimothyEyton
Junior Member
- Dec 30, 2013
- 129
- 63
Thanks, to both of you. I can now get started on rooting this crap out of my site. Lesson learned, never hesitate to update wordpress/themes/plugins/etc. Is there anything else I can do to prevent this stuff from happening in the future?
EDIT: I would, but I share the hosting with someone else and don't feel comfortable exposing their sites too without their permission. I think I know what to look for now so I'll give it a whirl and see what's what.
Don't be afraid to call your Web Host for help too. Sometimes they will help you (not always) and they typically have more server access so they may be able to use shell to clean up the site fast.
As for preventing this from happening again, just make sure to keep everything up to date. Or just don't use Wordpress
As for myself, I have a few things I like to do.
1. Change the default Database table prefix away from 'wp_'.
2. Change the default 'admin' username to something else.
3. Use strong passwords for everything.
4. Add extra password protection to your wp-admin folder (use .htaccess so you're basically logging in twice, and it's password protecting the entire folder from being tinkered with).
5. Rename your login page for WP.
6. Move your installation into a subdirectory - I had explained this method on another post recently too. Here's what it is. You make a subdirectory named whatever you wanted (I usually use a folder named "site") and throw all your WP files/folders in it except .htaccess and index.php. Then edit your index.php to reference to that new folder. Then go into your database and in your wp_options you have to make a change to the URL so your main URL stays as "domain.com", but the coding of your site references to the subdirectory.
With that method, you can help throw off malicious bots and people from trying to compromise your site. It's going to confuse them because they're going to expect to go to domain.com/wp-content or doman.com/wp-includes, but those folders don't exist because they're actually in domain.com/site/wp-content, etc.
Anyways, good luck
Yeah, Right now I'm wishing I had a backup of the sites. So that's another thing that's happening from now on.
Good idea