Title: Suspect code
Last modified: August 31, 2016

---

# Suspect code

 *  Resolved [johncannon](https://wordpress.org/support/users/johncannon/)
 * (@johncannon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/suspect-code/)
 * Hey guys.
 * I have just installed WP on a domain and finished it. Another folder from the
   host was infected and I have delete it it completely. But now I notice the following
   code in the new wp-config.php:
 * MALWARE DELETED
 * This is infected too?
    Thanks.

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

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/suspect-code/#post-7226222)
 * No, those are fine, they are “salt” values used in various hashing functions.
   For security, every installation should have a different set of random salt strings.
 * Be aware that any time malicious code appears on your server, every single file
   on your server is suspect and could possibly contain a ‘backdoor’ a hacker could
   use to re-access the server even though you’ve removed the obvious infection.
 * Everything might be fine, but since you just started, to be on the absolute safe
   side, consider wiping out everything and re-installing. It goes a lot faster 
   once you’ve gone through the process once. More information can be found on [FAQ My site was hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked).
 *  [barnez](https://wordpress.org/support/users/pidengmor/)
 * (@pidengmor)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/suspect-code/#post-7226227)
 * If you do keep that installation I would suggest that you change those salt keys
   as they are now public. Here is a generator: [https://api.wordpress.org/secret-key/1.1/salt/](https://api.wordpress.org/secret-key/1.1/salt/)
 *  Thread Starter [johncannon](https://wordpress.org/support/users/johncannon/)
 * (@johncannon)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/suspect-code/#post-7226271)
 * Thanks guys. Got it now. Have a great day ahead.

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

The topic ‘Suspect code’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [johncannon](https://wordpress.org/support/users/johncannon/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/suspect-code/#post-7226271)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
