Please excuse me, I am a newbie but I have my companies website hacked with what I think was pharma hack. In Google we we're advertising selling drugs online, which we do not do!
I found the file in question and I've removed all files that reference this file but I'm not sure i've removed all of the content out of the database and off the site.
The file that did the damage can be found here: Pharma Hacked php File
Could someone, with more knowledge in php than myself (pretty much anyone!) have a look at this file and let me know what I should be doing to remove this. I've updated my site to the latest version, removed all unnecessary plugins including askimet and updated all of the required ones. I've change ftp password and my database is only accessible from restricted IP addresses.
Thanks in advance for your help and assistance!