< ?php
// Silence is golden.
? >
Has the wordpress download been hacked?
That’s in every wordpress install. It was put in there by the authors. (Just like at the bottom of the stylesheet in the default theme, you’ll see the lyrics for “Daisy”) Means nothing.
However, the iframe thing – I had the same thing happen to me when I used Movable Type. I found that the iframe was at the bottom of every single post I had, so I had to go through my archives (3 years of them!) to remove the offending code. Turned out I had a wrong permission setting, and they wormed in that way. (Not to mention, at the time, I was using IE as my main browser, and my computer was ridden with spyware and hijacked browser windows – this was prior to educating myself on the defenses.)
WordPress is lucky in the fact that your posts are not in your directories, they reside in your database, so no code can be placed in the actual posts themselves. However, if your permission settings are wrong (or were at one time, giving someone access), then your template files probably have them in the code.
If your permission settings *are* good (i.e. all directories at 755, all files at 644) and you were still hacked, you most certainly need to contact your host, because there’s something going on with the server.
But to resolve the situation, I would recommend 1) backup your database so you don’t lose any posts; 2) uninstall and wipe out your current WordPress installation; 3) get the new install (it’s up to 2.0.7 now, as of yesterday) and redo your installation.
I would also get Spybot and Ad-Aware and run it on your computer to remove any spyware you may have – and run it with your computer in safe mode to be sure you get it all. And while you’re in safe mode, change all of your passwords, as well. Then get back in your hosting area and change *those* passwords too – FTP, login, the works.