WordPress.org

Ready to get started?Download WordPress

Forums

Somebody Hacked my index.php file (4 posts)

  1. DharmShila
    Member
    Posted 4 years ago #

    I was just shocked today when i saw my all 3 wordpress blogs were showing a photo with just a smile and written something in another language.

    And i logged into cpanel and somehow just found out that my wordpress index.php file has something to do with it and i deleted and uploaded fresh file again. After that blogs are running ok.

    My question is how can someone changed my file?

    How can i prevent this to happen in future?

    Any help is appreciated.

  2. DharmShila
    Member
    Posted 4 years ago #

    anyone please?

  3. I'm sure you searched here already, but the answer is always the same.

    Your blog is hacked so you will need to un-hack it. Here are the boiler plate links.

    http://codex.wordpress.org/FAQ_My_site_was_hacked

    http://ocaoimh.ie/did-your-wordpress-site-get-hacked/

    http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/

    http://www.snipe.net/2010/01/when-wordpress-gets-hacked/

    Once your blog is cleaned out and deloused, give these a try.

    http://codex.wordpress.org/Hardening_WordPress

    My question is how can someone changed my file?

    How can i prevent this to happen in future?

    No idea how this happened to you. If you are on a shared hosting plan it could have been via an insecure host *cough* NetSol, GoDaddy, many others *cough*. Or you may unintentionally ran insecure code and they got into your files that way.

    Follow the advice in the Hardening WordPress link. If you just clean up your blog without locating and closing the entry point, then this will happen to you again.

  4. DharmShila
    Member
    Posted 4 years ago #

    Thanks a lot for your help. i really appreciate this.

Topic Closed

This topic has been closed to new replies.

About this Topic