WordPress or other PHP CMS based website hacked?
It happens to the best of us. Sometimes it has nothing to do with the level of security you have tried to impose for your website. Coming up with crazy long passwords that no one or machine would guess. Sometimes it is beyond your control. I host several sites on Dreamhost, and their servers were hacked. The hackers were able to gain access to the database server. On January 20th Dreamhost admitted there had been a breach, but they weren’t divulging specifics. Link to TechCrunch Story.
So what happens if you have been a victime of such a hack? Well, if you ‘re like me, you had sites that were redirecting to other websites when visitors would request your page or URL. Not cool. Totally sucks right…amIright? Ok, so you’ve been hacked…now what? Well, depending on what kind of hack you have it could be a simple resolution or a complete pain in the ass to resolve. This post is focused on what I have done to fix hacks related to websites redirecting due to injected “base64 encrypted” code. To resolve it we need to take a look at the files in your website.