Title: Hacked &#8211; @register_shutdown_function
Last modified: August 19, 2016

---

# Hacked – @register_shutdown_function

 *  [matt1027](https://wordpress.org/support/users/matt1027/)
 * (@matt1027)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/)
 * I’m running the current version, 2.8.4.
 * I have WordPress in its own directory, not root. The root index.php of my site
   now has this code added before the normal code:
 * <?php @register_shutdown_function(“__sfd1252738106__”);function __sfd1252738106__(){
   global $__sdv1252738106__; if (!empty($__sdv1252738106__)) return; $__sdv1252738106__
   =1; echo <<<DOC__DOC
    <!– [ec36ac83687772ac241157982ff295d9 –><!– 6018372521 –
   ><noscript>
 * –then tons and tons and tons of junk–
 * </noscript><!– ec36ac83687772ac241157982ff295d9] –>
 * Then this at the bottom after the regular code.
 * <?php error_reporting(0); echo “\n”; @__sfd1252738106__(); ?>
 * Also, when I saved the page in HTMLkit for future reference, it had this name:
   hktCFD_index.php.
 * What should I do about this?
    I’m using podPress for a podcast and this junk 
   keeps iTunes from doing a manual podcast subscription.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/#post-1215957)
 * Those are error reports that PHP throws; something is wrong with the plugin. 
   Disable the plugin and see if you have the same code mess. Check the plugin web
   site for help.
 *  Thread Starter [matt1027](https://wordpress.org/support/users/matt1027/)
 * (@matt1027)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/#post-1215973)
 * Thanks for answering so quickly.
 * The junk in the middle of the code is spam advertisements like this and it filled
   up 93 screens when it printed out on FeedValidator.org.
 * <!– [ec36ac83687772ac241157982ff295d9 –><!– 6018372521 –><noscript>
    - [generic for lunesta pills](http://www.stcroixonline.com/business/images/_notes/main.jpg.php?doctors=1&pills=2082)
    - [lunesta generic name](http://www.stcroixonline.com/business/images/_notes/main.jpg.php?doctors=1&pills=4388)
    - [lunesta without a prescription](http://www.stcroixonline.com/business/images/_notes/main.jpg.php?doctors=1&pills=3251)
    - [buy lunesta online](http://www.stcroixonline.com/business/images/_notes/main.jpg.php?doctors=1&pills=470)
    - [buy lunesta without prescription](http://www.stcroixonline.com/business/images/_notes/main.jpg.php?doctors=1&pills=448)
    - <a href=”[http://www.stcroixonline.com/business/images/_notes/main.jpg.php](http://www.stcroixonline.com/business/images/_notes/main.jpg.php)?
 *  [Mark Ratledge](https://wordpress.org/support/users/songdogtech/)
 * (@songdogtech)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/#post-1216013)
 * Sounds like a hack; it wasn’t completely evident before. You need to clean and
   all that. Tell your hosting company, too.
 * [WordPress Hacked FAQ](http://codex.wordpress.org/FAQ_My_site_was_hacked)
 * [How to clean a hacked WordPress install](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
 *  Thread Starter [matt1027](https://wordpress.org/support/users/matt1027/)
 * (@matt1027)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/#post-1216172)
 * Thanks for the info and the links. I appreciate it.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Hacked – @register_shutdown_function’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [matt1027](https://wordpress.org/support/users/matt1027/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/hacked-register_shutdown_function/#post-1216172)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
