|
Convenient web based access to our favorite web design Usenet groups
|
 |
This is Interesting: Free Magazines for Graphics designers and webmasters
| Author |
| Thread |
 |
|
|
|
|
|
 |
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
 |
Re: Contact form not sending confirmation? |
 |
|
 |
|
|
|
  08-29-06 - 11:46 PM
|
I Hate Stock Spams wrote:
> Make sure you are "injection clean". From a previous post of mine:
>
> I'm not sure I understood you, but if you are getting a lot of spam in
> your mail form (especially spam seemingly addressed to others) then your
> form might be exploitable.
>
> The spammer injects the characters '\n' and '\r' (end of line and
> carriage return) in an explotiable web form and then adds "bcc:"
> followed by a long list of spamees. (If you start getting "bounces" then
> that is what has happened). If he is allowed to do this several times,
> you end up on a set of email blocklists from which removal is damn near
> impossible. At that point your provider either disconnects you or puts a
> contract out on you (depending on where you live) or both.
>
> Spammers aren't usually the brightest bulbs in the box, so they like this
> technique because it requires virtually no talent and can be run from a
> script. Also, about a 10-15% of the forms I see are exploitable, despite
> the stellar credentials of some of the webmasters owning then. It's just
> that easy to overlook.
>
> Verify that there is a control character filter on you web form or that
> the mail handler you use does not accept the "bcc" statement. Either one
> will foil his attempts.
> To filter:
> with php use
> "if(egregi("\r",[field]) || egregi("\n",[field])) die("No Spam Fr
om
> Me!")
> with perl use regular expression matching
> with C and C++ use regexec and regcomp.
> to trap these characters.
>
>
I have a site that does a fair amount of traffic. There are a couple of
mail forms that someone has been trying to use to send spam from. So
far (as far as I know), the only person receiving any mail is the
intended recipient of the form. He is not happy about it (about a dozen
emails over a week), but he needs a way for members to contact him.
I recently switched to a CMS program that requires users to logon and
receive a password at an email address before they can access a mail
form. I reason that if someone attempts to send spam I can cut them off
from the site.
Is it reasonable to believe this is more effective than trying to keep
spammers from hacking the form?
--
Wayne
http://www.glenmeadows.us
With or without religion, you would have good people doing good things
and evil people doing evil things. But for good people to do evil
things, that takes religion.
—Steven Weinberg
|
|
|
| [
Post Follow-Up to this message ]
|
|
|
|
|
 |
|
|
 |
|
|
 |
| All times are GMT. The time now is 05:30 PM. |
 |
|
|
|
|
|  |
|