Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

This is a trivial question but I want to understand how spam works. On my site I get a contact us form submitted every night between 2:30am to 3:00am. There is not message in the form and I know it is a spam. But my question is what type of spam it is? Why not post something when you submit, whey not post it multiple times, why just one time, why only at this time of the day? What type of spam it is? Are there different of of it?

share|improve this question
add comment

2 Answers

It could be an automated SQL / Javascript injection script attempting to hack your site, your address must be on some sort of database.

I would suggest implementing a CAPTCHA in order to be sure that your users are human.

share|improve this answer
    
yes, I am already aware of these security feature and I did not put them in yet because the site is not active yet. But want to know, what type of spam it is... –  slow diver Aug 1 '12 at 15:15
1  
Ok. I dont think its "Spam" at all, its (probably) a bot trying to hack sites, the fact you receive a blank email is just a consequence of the submit button being activated. –  Darkcat Studios Aug 1 '12 at 15:18
    
every night just one hit between 2:30am to 3:00am. How can that be a hacking effort if it just one click essentially and For 3 weeks! –  slow diver Aug 1 '12 at 15:21
1  
As John Conde says below, one submit can spawn multiple email instances to be sent. I SERIOUSLY suggest securing it ASAP - one of my servers got a spam bit virus once, and my IP was blacklisted as a spamming address for over a year. –  Darkcat Studios Aug 1 '12 at 15:29
add comment

An automated bot may be using your script to send spam out to other users. You may only see one email but using header injections they're spamming countless other people. Besides putting in the usual anti-bot mechanisms make sure you also filter out unwanted content from the user submitted content to prevent the injections which can still happen from manual submissions.

share|improve this answer
    
btw I will put the IP info in the email so I can trace it better. Just want to know what it is :) –  slow diver Aug 1 '12 at 15:23
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.