Title: Hacked competition code!
Last modified: August 30, 2016

---

# Hacked competition code!

 *  Resolved [welovebrighton](https://wordpress.org/support/users/welovebrighton/)
 * (@welovebrighton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/)
 * Hi,
 * We regularly run competitions on our site using the following code for our entry
   form:
 * [contact-form-7 id=”112768″ title=”Competition X”]
 * Unfortunately the competition seems to have been hacked as there have been thousands
   of entries over the weekend and we usually only get about 50!
 * I know this isn’t technically a WordPress issue but I really don’t know how to
   fix this so any help would be much appreciated!
 * Thanks,
    Kelly.

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

 *  [acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
 * (@acchiappaprezzo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235976)
 * Do you use a captcha in your voting form? If not, it’s very simple to create 
   a script that posts data automatically to any URI.
 * Contact Form 7 has captcha support, enable it if it’s not already and that should
   resolve the majority of the abuse.
 * A longer term solution would be a more robust voting system that prevents multiple
   entries from a single IP and heuristics to monitor abuse. Contact Form 7 really
   isn’t built for this type of application.
 *  Thread Starter [welovebrighton](https://wordpress.org/support/users/welovebrighton/)
 * (@welovebrighton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235983)
 * Thanks for the advice, i’m afraid I don’t really have knowledge of coding, how
   do I enable captcha for Contact Form 7?
 *  [acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
 * (@acchiappaprezzo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235985)
    1. Install the Really Simple CAPTCHA plugin: [https://wordpress.org/plugins/really-simple-captcha/](https://wordpress.org/plugins/really-simple-captcha/)
    2. When you create a new form, add the following:
    3.     ```
           Please enter the code that you see to the right: [captchac competition-x]
           [captchar competition-x 4/4]
           ```
       
 * Change the “competition-x” in those tags to something unique each time.
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235990)
 * Side note: [@acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
   Do not post your now deleted links on each reply like that.
 * [http://codex.wordpress.org/Forum_Welcome#Signatures](http://codex.wordpress.org/Forum_Welcome#Signatures)
 * It’s considered spamming when you do that. Please stop. 😉
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235991)
 * Side note 2: [@acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
   Also? Affiliate links are not allowed and I’ve deleted your Site5 link.
 * Thanks for the help though, that part is greatly appreciated. 😀
 *  [acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
 * (@acchiappaprezzo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235994)
 * Sorry about that, was hoping getting some link juice while doing positive work
   wouldn’t be frowned upon. I won’t do it again.
 *  Thread Starter [welovebrighton](https://wordpress.org/support/users/welovebrighton/)
 * (@welovebrighton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6235995)
 * Ok thanks, do I just create a new form in Contact Form 7 as normal after installing
   the plugin? or somewhere else?
 *  [acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
 * (@acchiappaprezzo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6236009)
 * You can insert it into any form, even ones you’ve already created.
 * Here’s a good visual guide:
    [http://www.thecreatology.com/tutorial-to-add-captcha-in-contact-form-7-plugin-to-block-spam-on-wordpress-blog.html](http://www.thecreatology.com/tutorial-to-add-captcha-in-contact-form-7-plugin-to-block-spam-on-wordpress-blog.html)
 *  Thread Starter [welovebrighton](https://wordpress.org/support/users/welovebrighton/)
 * (@welovebrighton)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6236016)
 * Hi acchiappaprezzo, I’ve worked it out and it works! Thank you SO much for your
   help!
 *  [acchiappaprezzo](https://wordpress.org/support/users/acchiappaprezzo/)
 * (@acchiappaprezzo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/hacked-competition-code/#post-6236100)
 * Happy to help!

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

The topic ‘Hacked competition code!’ is closed to new replies.

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
