Title: Finding Embedded Spam Code
Last modified: September 1, 2016

---

# Finding Embedded Spam Code

 *  [emark2](https://wordpress.org/support/users/emark2/)
 * (@emark2)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/finding-embedded-spam-code/)
 * I have spent hours trying to find embedded links to pharmaceutical products but
   can’t find the code anywhere. The only reason I know it is there is that it shows
   up on my page if you hit View Source and because the code has got my domain blocked
   by some internet spam filters….. Any thoughts on how to find the embedded code?
   Is there a tool that can identify the lines of code that come from a specific
   file?

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/finding-embedded-spam-code/#post-7585179)
 * start working your way through these resources:
    - [https://codex.wordpress.org/FAQ_My_site_was_hacked](https://codex.wordpress.org/FAQ_My_site_was_hacked)
    - [https://wordpress.org/support/topic/268083#post-1065779](https://wordpress.org/support/topic/268083#post-1065779)
    - [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
    - [http://ottopress.com/2009/hacked-wordpress-backdoors/](http://ottopress.com/2009/hacked-wordpress-backdoors/)
 * Additional Resources:
    - [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/)
    - [http://www.unmaskparasites.com/](http://www.unmaskparasites.com/)
    - [https://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html](https://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html)
 *  [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * (@claytonjames)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/finding-embedded-spam-code/#post-7585181)
 * If you can mention the domain name someone might take a look and see what they
   think, but the end result will be the same.
 * Carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).

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

The topic ‘Finding Embedded Spam Code’ is closed to new replies.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [embedded](https://wordpress.org/support/topic-tag/embedded/)
 * [finding](https://wordpress.org/support/topic-tag/finding/)
 * [remove](https://wordpress.org/support/topic-tag/remove/)
 * [view source](https://wordpress.org/support/topic-tag/view-source/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Clayton James](https://wordpress.org/support/users/claytonjames/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/finding-embedded-spam-code/#post-7585181)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
