Today when i logged into my site, it redirected me to: http://vhz.vn Code (markup): I tried looking around the files to make it right again, then i found in my index.php this code: header( 'Location: http://vhz.vn' ) ; Code (markup): I removed it, and now it works fine again. Now i want to know how to make this script secure because this can cause me alot of problems. I need urgent help because if they hacked it once they can hack it again. Let me know how they changed the index.php and what i can do to secure my server/files. Thanks.
Do you have more than one script running on your server. It might not be the one you think or was attacked. If you have more than 1 script, do a G. search and see if there are any security warnings. phplife
Maybe they hacked all entire server. Maybe you don't use any php scripts with vulnerability but maybe other sites from your server are using. That can be a php injection.
They didnt hack the entire server just the index page i guess. I am using Mega File Hosting Script 1.2, i also left a message for the owner of the script. How can this be fixed?
That was one of the problem, which seems to be fixed now. (I am contacting the owner aswell, this is a waste of my money, and can cause me more loss)
Is you site still live or have you temporarily blocked access to this script and/or your site. You may want to backup your databases and also contact your host to make sure they have a recent backup. Bad things have been known to happen with hosts and backups. phplife