1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

For those of you that where affected by the Turkish hack. Here's how to fix it.

Discussion in 'Making Money' started by zero-day, Dec 13, 2011.

  1. zero-day

    zero-day Regular Member

    Aug 25, 2011
    Likes Received:
    My Office.
    For those that where affected by the hack by the Turkish group, here's how to fix it.

    Use your favored FTP client, login and goto your wordpress home directory.
    Delete the index.php file that's there and nothing more.

    From there, copy and paste the following into notepad or your favorite text editor or website document editor such as notepad(text editor) or DreamWeaver(website document editor).
     * Front to the WordPress application. This file doesn't do anything, but loads
     * wp-blog-header.php which does and tells WordPress to load the theme.
     * @package WordPress
     * Tells WordPress to load the WordPress theme and output it.
     * @var bool
    define('WP_USE_THEMES', true);
    /** Loads the WordPress Environment and Template */
    Or if you don't trust the above code, you can goto http://wordpress.org and download the wordpress package from there, unzip the .zip/.rar file that you have just downloaded.

    From there you will see a "wordpress" folder or "wordpress-3.3" folder depending on how you unzipped the file.

    From there just take the index.php file and upload it to your wordpress website's home/primary directory.

    What that is, if you goto http://mysite.com/WP the home/primary directory would be the "WP" folder.

    If any of you need help, just contact me and I will help anyone out that need's it.

    For my websites, I have checked every file on my website's and there was nothing else affected or any technical injections or anything, all that was done is the index.php file was deleted and replaced.
    • Thanks Thanks x 1
  2. T2tkid

    T2tkid Elite Member

    Oct 13, 2010
    Likes Received:
    Thanks for this, i have bookmarked this thread.
    I lost one of my site which was earning between $5 to $20 from adsense. It was hacked and got blocked for racist.
    • Thanks Thanks x 1