A hacked WordPress shop is a nightmare: visitors suddenly end up on phishing sites, Google devalues the domain, and customer trust erodes. The wp-sleeeps hack is one of the best-known examples of how attackers can exploit a plugin vulnerability to turn an entire shop into a redirect trap. We show you how to detect the infection, respond immediately, and then secure your shop so it is closed to similar attacks.
How to tell whether your shop is affected by the wp-sleeeps hack
Typical symptoms:
- Visitors are redirected straight from the homepage to unknown domains (e.g.
studentswimcorn-5.live, fake Telekom sweepstakes, “1000 € Amazon gift card”). wp-sleeeps/wp-sleeeps.php on line 26appears in the WordPress error output or in the error log.- The plugin directory
/wp-content/plugins/wp-sleeps/contains files you did not install. wp-config.phporindex.phpcontains unknowneval()orbase64_decode()calls.- Google Search Console reports a “security issue”, or spam URLs suddenly get indexed.
What happened on December 26, 2020 (original report)

Hackers have discovered a security vulnerability in websites built with WordPress and injected a plugin called wp-sleeps. Get help here.
Emergency help: 04122/9669868
Yesterday at 18.10 (26.12.2020), we received this error message on a WordPress website:
wp-sleeeps/wp-sleeeps.php on line 26
The WordPress site redirects to https://studentswimcorn-5.live/ and displays, for example, a Telekom message:
Dear Telekom(T-Mobile) @C, customer! We would like to thank you for your trust in Telekom(T-Mobile) @C, and are therefore giving you the exclusive opportunity to win an Amazon €1000 gift card on Sunday 27 December 2020. All you have to do is choose the right gift. Good luck!
Or:
You have made the billionth search
Or:
| You are the lucky winner of the day: December 27, 2020 | |
| Please fill out this short survey. As a thank-you, you have the chance to win a 1000€ Amazon gift card! | |
It appears that hackers discovered a security vulnerability in WordPress and injected a plugin called wp-sleeps.
As a first step, we deleted all data in the wp-sleeps folder (path: /wp-content/plugins/wp-sleeps).
We still need to analyze exactly how the hackers compromised WordPress. However, the hacked WordPress website is running normally again.
Need urgent help?
Call us at 04122 4084792 or email moin@storetown-media.de
Or send us a message using the form below:
Immediate steps: the right order matters
- Take the site offline: use a maintenance mode plugin or an
.htaccessblock so no further visitors are harmed. - Full backup of the database and file system, taken before the cleanup so forensic analysis remains possible.
- Delete the plugin folder
/wp-content/plugins/wp-sleeps/. - Overwrite all core files with fresh copies from the official WordPress ZIP (except
wp-content/). - Scan the database:
SELECT * FROM wp_options WHERE option_value LIKE '%base64_decode%'and%eval(%. Review suspicious rows manually. - Change all passwords (admin accounts, FTP, MySQL, hosting panel).
- Regenerate the salt keys in
wp-config.phpusing the official WP salt API. This invalidates all existing login cookies and sessions.
Prevention: making sure the next attack fails
After the cleanup comes the more important work: securing the store so attackers can't strike a second time:
- Plugin hygiene: no nulled plugins, no plugins without updates in the last 12 months, and as few active plugins as possible.
- Enable auto-updates for WordPress core and plugins (at least for security releases).
- A web application firewall such as Wordfence, iThemes Security or a server-side WAF (e.g. ModSecurity).
- Two-factor authentication for all admin accounts.
- Login hardening: move
/wp-admin/to a different path and set brute-force limits. - File integrity monitoring: daily hash checks of the core files.
- Regular backups: automated, stored off-site and tested.
FAQ about the wp-sleeeps hack
Do I really have to rebuild everything after a hack?
Not necessarily, but it's recommended. If the infection was caught early and you only see a single manipulated file, refreshing the core files and scanning the database is often enough. With deep backdoors (multiple plugins affected, database injections), restoring from a clean backup is often faster and safer.
How do I prevent Google from flagging my domain as unsafe?
Act immediately: clean up the site in under 24 hours, then request a security review in Search Console ("Request review" under Security issues). Google usually removes the warning within 72 hours.
What about customer data? Do I have to report the breach?
If personal data could be affected (orders, email addresses, password hashes), GDPR Art. 33 requires you to notify the data protection authority within 72 hours. If in doubt, contact your data protection officer.
Is penetration testing worthwhile after a hack?
For live stores that generate revenue: definitely. An external audit finds the vulnerability the attacker exploited and uncovers other weak spots.
Need help right away?
We typically clean up compromised WordPress and WooCommerce stores within a few hours, including root cause analysis, a hardening plan and Search Console cleanup. Learn more on our service pages WordPress Agency Hamburg and Maintenance & Support.





















{% endif %}
{% if title and title != "" %}
{{ title }}
{% endif %}
{% if excerpt and excerpt != "" %}