designventures — 2012-09-12T13:23:41-04:00 — #1
Couple of my sites are hacked and got malwares Trojans etc
I know backup restore is one solution but thats not an option in my case
How do I fix the hack? Can somebody guide in detail please ?
I have 600 posts so what do I do? If I export and import post in new Wp, will I get malware/Iframe injection on new site?
Need help badly....
kylewolfe — 2012-09-13T13:02:54-04:00 — #2
Do a mysql dump of your site ASAP. I'm unsure of where any malware is stored, but I do not see it being stored in the tables. Once you have reinstalled a fresh WP app, you should be able to replace the relevant tables with your content.
frworkbd — 2012-09-13T22:08:41-04:00 — #3
I also take backup of my data every 7 days.
duncanm — 2012-09-15T15:29:12-04:00 — #4
I hope your posts/database is backed up.
I recently had to deal with a hacked blog myself (WordPress).
The error was something like "Trojan program Trojan.JS.Redirector.cv".
I checked it with a few sites, including Google's Webmaster Diagnostics page, and apparently a line of code had been inserted in to every PHP page in the blog.
It re-directed visitors to about five "****.rr.nu" sites.
And whoever did it was able to get into the PHP pages on the main site itself, not just the blog side of the site.
Anyhow, I was concerned that even if I manually deleted the code from every page and re-set the password, the hackers might have inserted a backdoor that would have later allowed them access.
So I contacted my hosting company and had them delete my entire site and re-set my account. Then I started over from nothing, and re-uploaded the site.
So far, so good.
But I only had about ten posts on my blog. Doing 600 is a whole other matter.
All the best to you.
pamela1991 — 2012-09-16T03:53:18-04:00 — #5
jameschandler — 2014-05-27T07:11:39-04:00 — #6
The main causes that help hackers in hacking sites are-
1. A weak username or password
2. Plug-ins and themes bugs
3. Properly not updating themes/plug-ins and WordPress core
Check these thing as priority while making sites.