467,920 Members | 1,240 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,920 developers. It's quick & easy.

ContactMe tool ... Big thank you ... Bad words


I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #1
  • viewed: 2649
Share:
31 Replies
It got them all :o( lol

I'm not exactly awake yet, so there was only 5 (in a nice little paragraph
too, lol).. and it caught them all :o)

I'll have another go when I'm more awake ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #2
Thanks for playing Steven ... hehe.

I am also going to be updating it with an exceptions list ... like

brass

I have a 174000 word database table english words list that I am going
to compare each word I enter into the filer ... i.e. I will type in
the word, and get brass and all the other words with it returned.

I am writing that program now, to write me a a list like

word@@@excption1#exception2#exeception3

We will see if this is too big to implement soon enough ... hehe

Brynn
www.coolpier.com

On Wed, 21 Jan 2004 13:47:16 -0000, "Steven Burn"
<nobody@PVT_it-mate.co.uk> wrote:
It got them all :o( lol

I'm not exactly awake yet, so there was only 5 (in a nice little paragraph
too, lol).. and it caught them all :o)

I'll have another go when I'm more awake ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com. ..

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #3
Some variations of words seem to get through (for example, adding "ty" or
"s" to the end of a word). In Addition, mixed case values seem to get
through as well.

Hope this is helpful.
Regards,
Peter Foti
Jul 19 '05 #4

oh yeah ... thanks ... I forgot to change the value to lower case
before checking ... all words in upper case are probably getting
through ...

There ... case issue fixed ... thanks ... any more suggestions feel
free to add.

right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass

I will be correcting this with the exceptions list I talk about in the
other reply to this post

Keep pickin at it =) ... I am going to have this open to the group
when done.

Brynn
www.coolpier.com

On Wed, 21 Jan 2004 10:23:05 -0500, "Peter Foti"
<pe***@Idontwantnostinkingemailfromyou.com> wrote:
Some variations of words seem to get through (for example, adding "ty" or
"s" to the end of a word). In Addition, mixed case values seem to get
through as well.

Hope this is helpful.
Regards,
Peter Foti


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #5
> right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?
Jul 19 '05 #6
I BEAT IT!....lol

Nowt major, but it let "arse" through, hehe

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .
Thanks for playing Steven ... hehe.

I am also going to be updating it with an exceptions list ... like

brass

I have a 174000 word database table english words list that I am going
to compare each word I enter into the filer ... i.e. I will type in
the word, and get brass and all the other words with it returned.

I am writing that program now, to write me a a list like

word@@@excption1#exception2#exeception3

We will see if this is too big to implement soon enough ... hehe

Brynn
www.coolpier.com

On Wed, 21 Jan 2004 13:47:16 -0000, "Steven Burn"
<nobody@PVT_it-mate.co.uk> wrote:
It got them all :o( lol

I'm not exactly awake yet, so there was only 5 (in a nice little paragraphtoo, lol).. and it caught them all :o)

I'll have another go when I'm more awake ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com. ..

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!



Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #7
or "assume" ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Randy Rahbar <rvrahbar@_JUNK_hotmail.com> wrote in message
news:eD**************@TK2MSFTNGP09.phx.gbl...
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?

Jul 19 '05 #8
Randy Rahbar wrote:
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?


Interesting. "Shitake mushrooms are the best" was submitted with no problem
....
Bob
Jul 19 '05 #9
"Bob Barrows" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Randy Rahbar wrote:
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?


Interesting. "Shitake mushrooms are the best" was submitted with no

problem

That seems like correct behavior to me (unless mushrooms is a swear where
you live). ;)

None of the words you listed are vulgar, so I would expect that to work.

Regards,
Peter Foti
Jul 19 '05 #10
It wouldn't let me put in Matthew 21:5

"Tell ye the daughter of Sion, Behold, thy King cometh unto thee, meek, and
sitting upon an ass, and a colt the foal of an ass. "

Better watch out, Brynn, not letting the bible in there. Could be trouble

"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #11
Have you counted on mispellings? I know that will make it much tougher to
catch, but fact is, many of the idiots who write emails with those kinda
words in them can't spell.
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #12
Note, this post contains some words that might be considered vulgar. Stop
reading if you will be offended. :)

One comment... the filter could potentially block words that are not meant
to be vulgar. For example, "An adult male chicken is called a rooster or a
cock." is not accepted.

The word "title" is not accepted because it finds "tit" at the beginning of
the word.

I would suggest you avoid blocking words using any sort of wildcard. For
example, parse each word (use any character that is not alphabetic as a
delimiter), and then compare each word against a blocking list of words.
Don't compare each word against something that uses a wildcard. For
example, look for "tit", but not "tit*". Look for "shit", "shitty", and
"shits", but not "shit*". This will help you avoid blocking words that are
perfectly acceptable.

HTH
Regards,
Peter Foti
Jul 19 '05 #13

As we speak, I am working on the array ... I am devloping an
exceptions list to the rules for assure, brass, etc... the exceptions
list is being derived from a dictionary database I have .. it should
be fairly accurate

essentially, if it it finds ont of the strings within the word ... it
is going to check that word for acceptable instances of that word with
the string.

I hope to have this done in a couple hours =)
On Wed, 21 Jan 2004 11:11:58 -0500, "Randy Rahbar"
<rvrahbar@_JUNK_hotmail.com> wrote:
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #14
Hope you'll be interested in sharing your code once done . . ..
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

As we speak, I am working on the array ... I am devloping an
exceptions list to the rules for assure, brass, etc... the exceptions
list is being derived from a dictionary database I have .. it should
be fairly accurate

essentially, if it it finds ont of the strings within the word ... it
is going to check that word for acceptable instances of that word with
the string.

I hope to have this done in a couple hours =)
On Wed, 21 Jan 2004 11:11:58 -0500, "Randy Rahbar"
<rvrahbar@_JUNK_hotmail.com> wrote:
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!

Jul 19 '05 #15
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

As we speak, I am working on the array ... I am devloping an
exceptions list to the rules for assure, brass, etc... the exceptions
list is being derived from a dictionary database I have .. it should
be fairly accurate

essentially, if it it finds ont of the strings within the word ... it
is going to check that word for acceptable instances of that word with
the string.


What about cases that aren't in your dictionary, like names of people or
places? For example, Titus, Titania, or Titletown. Or perhaps I want to
talk about the publication by William Asshley?

I think your approach leaves too much room for error. It's one thing to let
some vulgar words get through that shouldn't... it's a completely different
thing if you start blocking valid words that are mistaken for vulgar.
Rather than go this long route of a dictionary search for "valid" words, I
would suggest you focus on making a complete list of "invalid" words. I
suspect it would be much less work, with more accurate results.

Regards,
Peter Foti
Jul 19 '05 #16
Peter Foti wrote:
"Bob Barrows" <re******@NOyahoo.SPAMcom> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Randy Rahbar wrote:
right now ' ass' is there ... I have a space in front of it so it
can accept brass but not br ass

What about " assure"?


Interesting. "Shitake mushrooms are the best" was submitted with no
problem


That seems like correct behavior to me (unless mushrooms is a swear
where you live). ;)

None of the words you listed are vulgar, so I would expect that to
work.

Regards,
Peter Foti


You would have seen my point if my earlier message had come through. The
filter found two swears in this senetence (the vowel is replaced due to my
suspicion that the msnews server filtered out my earlier message because of
it:

I assure you this message c*ntains no swears, only misspellings.

I was surprised that it passed "shitake" with no problem.

Bob
Jul 19 '05 #17

actually, it was only because of the CAPS ... I have fixed it now, and
it will not work ... HOWEVER ... I am now further fixing it to include
execeptions to all of the bad words.

using a dictionary database of over 170000 words I am getting words
where bad words are part of word

On Wed, 21 Jan 2004 11:18:24 -0500, "Bob Barrows"
<re******@NOyahoo.SPAMcom> wrote:
Randy Rahbar wrote:
right now ' ass' is there ... I have a space in front of it so it can
accept brass but not br ass


What about " assure"?


Interesting. "Shitake mushrooms are the best" was submitted with no problem
...
Bob


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #18

OK, I have a complete list of acceptable words with my bad words list
.... however, I don't think I am going to be able to incorporate this
into a function because ...

assumme

if someone spells assume wrong, it will not allow it ... therefore ...
this would be impossible ... LOL

On Wed, 21 Jan 2004 12:18:26 GMT, z@z.com (Brynn) wrote:

I want to thank the person that sent the nasty messages to my
contact.asp test page ... you have inspired me !!!

I have now added a bad_words filter both to my JSValidation script
(going up on my site soon) and my contact.asp tool.

I would have forgotten about it if it were not for you. I TRULY
appreciate your help ... and hope that you helping me eats you up
inside ... ROFL.

ANYWAY GUYS -- READ ON ----

I am requesting that you guys on this group have fun and submit me
messages containing bad words in them. Any that aren't blocked I will
look at, and consider adding to my bad_words list in my JS and ASP
validations.

Just so you don't think this is someone posing as me posting this ...
I put the words ... BAD WORDS TEST as the default value of the message
textarea.

Thanks for the bad words in advance guys ... please be offensive with
the bad words as possible ... let out some frustration and have some
fun trying to get some bad words through the filter.

http://test.coolpier.com/

Brynn

P.S. this has also inspired adding to my code, a way to set the
default values of the form fields =) ... code will be available on my
site within a week.
Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #19
me too!

It took "T*sser", "Homo" & "Pr*ck"

:o)

I will throw some more brit abuse at it later

"Steven Burn" <nobody@PVT_it-mate.co.uk> wrote in message
news:uQ**************@TK2MSFTNGP09.phx.gbl...
I BEAT IT!....lol

Nowt major, but it let "arse" through, hehe

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .
Thanks for playing Steven ... hehe.

I am also going to be updating it with an exceptions list ... like

brass

I have a 174000 word database table english words list that I am going
to compare each word I enter into the filer ... i.e. I will type in
the word, and get brass and all the other words with it returned.

I am writing that program now, to write me a a list like

word@@@excption1#exception2#exeception3

We will see if this is too big to implement soon enough ... hehe

Brynn
www.coolpier.com

On Wed, 21 Jan 2004 13:47:16 -0000, "Steven Burn"
<nobody@PVT_it-mate.co.uk> wrote:
It got them all :o( lol

I'm not exactly awake yet, so there was only 5 (in a nice little paragraphtoo, lol).. and it caught them all :o)

I'll have another go when I'm more awake ;o)

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

Disclaimer:
I know I'm probably wrong, I just like taking part ;o)
Brynn <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com. ..
>
> I want to thank the person that sent the nasty messages to my
> contact.asp test page ... you have inspired me !!!
>
> I have now added a bad_words filter both to my JSValidation script
> (going up on my site soon) and my contact.asp tool.
>
> I would have forgotten about it if it were not for you. I TRULY
> appreciate your help ... and hope that you helping me eats you up
> inside ... ROFL.
>
> ANYWAY GUYS -- READ ON ----
>
> I am requesting that you guys on this group have fun and submit me
> messages containing bad words in them. Any that aren't blocked I will
> look at, and consider adding to my bad_words list in my JS and ASP
> validations.
>
> Just so you don't think this is someone posing as me posting this ...
> I put the words ... BAD WORDS TEST as the default value of the message> textarea.
>
> Thanks for the bad words in advance guys ... please be offensive with
> the bad words as possible ... let out some frustration and have some
> fun trying to get some bad words through the filter.
>
> http://test.coolpier.com/
>
> Brynn
>
> P.S. this has also inspired adding to my code, a way to set the
> default values of the form fields =) ... code will be available on my
> site within a week.
> Brynn
> www.coolpier.com
>
> I participate in the group to help give examples of code.
> I do not guarantee the effects of any code posted.
> Test all code before use!


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!


Jul 19 '05 #20
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

OK, I have a complete list of acceptable words with my bad words list
... however, I don't think I am going to be able to incorporate this
into a function because ...

assumme

if someone spells assume wrong, it will not allow it ... therefore ...
this would be impossible ... LOL


This goes to the point I was trying to make. You would be better off making
a complete list of "bad" words, and ONLY banning those words when they exist
as whole words, and not part of other words.

Regards,
Peter Foti
Jul 19 '05 #21
And also including obvious mispellings which don't also happen to be real
words.
"Peter Foti" <pe***@Idontwantnostinkingemailfromyou.com> wrote in message
news:10*************@corp.supernews.com...
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com.. .

OK, I have a complete list of acceptable words with my bad words list
... however, I don't think I am going to be able to incorporate this
into a function because ...

assumme

if someone spells assume wrong, it will not allow it ... therefore ...
this would be impossible ... LOL
This goes to the point I was trying to make. You would be better off

making a complete list of "bad" words, and ONLY banning those words when they exist as whole words, and not part of other words.

Regards,
Peter Foti

Jul 19 '05 #22
"middletree" <mi********@htomail.com> wrote in message
news:OS**************@TK2MSFTNGP09.phx.gbl...
And also including obvious mispellings which don't also happen to be real
words.


(funny that you misspelled misspellings). :)

I don't know... see, personally I would not block "obvious" misspellings
because a misspelling is just that... it's not a "real" vulgar word (even if
it's intention is such). By trying to account for misspellings, you start
down a dangerous path where you might block a real word that you thought was
a misspelling.

-Peter
Jul 19 '05 #23
********************** WARNING *************************
The content of this message contains mature subject matter. Do not read if
you are easily offended by such.
************************************************** ********

I just got through, no problem. I just put - between each letter. You
should strip out all characters not a-zA-Z and check for numbers being used
as vowels:

a = 4
e = 3
i = 1 or !
o = 0

and then there are all of the extended characters...

Obviously if numbers are included in words, then they're going to be easy to
figure out. Convert them to vowels, as shown above and then run them
through the filter. But, if you check your SPAM, you'll see they misspell
all kinds of ways trying to get past spam filters. So, possibly something
else to add is an IP block. Once they have failed the test x number of
times, you block their IP by redirecting them to a 404 error page until you
can verify they're message is either bad or acceptable but you should log
all messages.

It also let in 'fu a-hole'.

This is ok: as soon as you are ready
but this is not: assoon as you are ready

You know how typos are.

English only I take it: chupa mi juevos ... gets in.. among others.

You know, they can still be abusive without bad words:
jo mama was so fat, I rolled over twice and I was still on her

kiss my anus goes through...
you got a lil willy does too...

Whoops... I guess the filter only works on the message.

Name: kiss my ass
email: ki****@ass.com
Message: Howdy friends and neighbors

this is too much fun...

Jul 19 '05 #24
I disagree with your initial warning. The words you have down below are
immature, not mature at all.

Gotta admit I laughed at the fat joke, though. Guess I'm not mature.

"Roland Hall" <nobody@nowhere> wrote in message
news:eE**************@TK2MSFTNGP11.phx.gbl...
********************** WARNING *************************
The content of this message contains mature subject matter. Do not read if
you are easily offended by such.
************************************************** ********

Jul 19 '05 #25
yep, your right ... I thought I could be the system ... LOL

I am going to be stuck with just blocking whole words ...

arsehole, and biitch and unlimited variations are going to pass
anyway, so I may has well, just give it up ...
Maybe I need to write a script ...

Dim userIntent

If IsOK(userIntent) Then
send.message
Else
send.electricity.through("UserComputerID")
End If

ROFL

My contact form will be available for easy implemenation in a couple
days.

Mispelling ruined it all ... otherwise I had the excptions list down
to 800 words for the 50 badwords I had ... I would have had 26 strings
.... by letter ... and checked only the array with that start letter
... etc...

but assumme isn't going to pass that ... so I scratch it

UNLESS ...

does anyone have a dictionary database like mine, but includes all of
the ways to incorrectly spell a word ... ROFLMAO

Brynn

On Wed, 21 Jan 2004 16:28:24 -0500, "Peter Foti"
<pe***@Idontwantnostinkingemailfromyou.com> wrote:
"Brynn" <z@z.com> wrote in message
news:40***************@news.comcast.giganews.com. ..

OK, I have a complete list of acceptable words with my bad words list
... however, I don't think I am going to be able to incorporate this
into a function because ...

assumme

if someone spells assume wrong, it will not allow it ... therefore ...
this would be impossible ... LOL


This goes to the point I was trying to make. You would be better off making
a complete list of "bad" words, and ONLY banning those words when they exist
as whole words, and not part of other words.

Regards,
Peter Foti


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #26
"middletree" wrote:
: I disagree with your initial warning. The words you have down below are
: immature, not mature at all.
:
: Gotta admit I laughed at the fat joke, though. Guess I'm not mature.

I guess it can work both ways. I colored outside the lines except for
passing bad words in the name, email, etc. I thought the whole idea was to
limit abuse and you can be abused with more than bad words in a dictionary.

Ex.

kiss my (_!_)

I'm sure this will pass the filter. (O:=

Jul 19 '05 #27

LOL ... yeah, I think the bad words filter is going to be the first
project I have ever scrapped ... LOL I could only do words with a
space before and after the word ...

I can't do an exceptions list, in case someone puts assumme when
assume is in the exceptions list and assumme is not ... etc, etc...

So the idea is dead. However, I am going to still be putting the
contact me form (class) up, with the code to easily implement it into
peoples own sites ... it includes the CSS to change colors and font so
it can be matched up with anyones site

Also instructions on how to use it with ....

messages stored in a text file ...

or ...

messages sent to you with ASPEmail, CDONTS, or ASPMail components ...
it is INCREDIBLY easy to set this up ... just a couple lines of code
... it uses my Email_Handler script I am posting in 2 seconds =)

On Thu, 22 Jan 2004 08:35:31 -0600, "Roland Hall" <nobody@nowhere>
wrote:
"middletree" wrote:
: I disagree with your initial warning. The words you have down below are
: immature, not mature at all.
:
: Gotta admit I laughed at the fat joke, though. Guess I'm not mature.

I guess it can work both ways. I colored outside the lines except for
passing bad words in the name, email, etc. I thought the whole idea was to
limit abuse and you can be abused with more than bad words in a dictionary.

Ex.

kiss my (_!_)

I'm sure this will pass the filter. (O:=


Brynn
www.coolpier.com

I participate in the group to help give examples of code.
I do not guarantee the effects of any code posted.
Test all code before use!
Jul 19 '05 #28
"Brynn" wrote:
: LOL ... yeah, I think the bad words filter is going to be the first
: project I have ever scrapped ... LOL I could only do words with a
: space before and after the word ...

Looks like you need a synonyms check also. Perhaps just accepting audio and
then convert it to text and then test. Wonder what kind latency and
processing utilization is involved in that?

: I can't do an exceptions list, in case someone puts assumme when
: assume is in the exceptions list and assumme is not ... etc, etc...

You'd have to add a spelling checker. Is that overkill for a contact form?

: So the idea is dead. However, I am going to still be putting the
: contact me form (class) up, with the code to easily implement it into
: peoples own sites ... it includes the CSS to change colors and font so
: it can be matched up with anyones site
:
: Also instructions on how to use it with ....
:
: messages stored in a text file ...
:
: or ...
:
: messages sent to you with ASPEmail, CDONTS, or ASPMail components ...
: it is INCREDIBLY easy to set this up ... just a couple lines of code
: .. it uses my Email_Handler script I am posting in 2 seconds =)

Nothing wrong with that.

I took a different approach on a contact form. I create a random generated
hex code, based on date and time, etc. and then email you a message with a
link that passes that code. That code has been stored in a database and if
you don't click on the link and finish the process within a certain time
frame, the code and your message are removed from the database. If you do
process it, then the message is then emailed to me, your name is stored in
the database with other identifying information and you do not have to go
through this process anymore if you're sending from the same computer.

You also cannot run the form offsite nor can you inject SQL code into it.

I wrote it as a spam catch so I wouldn't get constant BS in my inbox because
I get enough already. So, if anyone wants to bitch me out, at least through
that interface, I know a little bit about them. They are not completely
anonymous.

--
Roland

This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose.
-Technet Knowledge Base-
http://support.microsoft.com/default...&ln=EN-US&FR=0
-Technet Script Center-
http://www.microsoft.com/technet/tre...er/default.asp
-WSH 5.6 documentation download-
http://www.microsoft.com/downloads/d...displaylang=en
-MSDN Library-
http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #29
> None of the words you listed are vulgar, so I would expect that to work.

I ASSume you missed the SHITake part. :)

Randy
Jul 19 '05 #30
-----Original Message-----
********************** WARNING *************************
The content of this message contains mature subject matter. Do not read ifyou are easily offended by such.
************************************************* *********

I just got through, no problem. I just put - between each letter. Youshould strip out all characters not a-zA-Z and check for numbers being usedas vowels:

a = 4
e = 3
i = 1 or !
o = 0

and then there are all of the extended characters...

Obviously if numbers are included in words, then they're going to be easy tofigure out. Convert them to vowels, as shown above and then run themthrough the filter. But, if you check your SPAM, you'll see they misspellall kinds of ways trying to get past spam filters. So, possibly somethingelse to add is an IP block. Once they have failed the test x number oftimes, you block their IP by redirecting them to a 404 error page until youcan verify they're message is either bad or acceptable but you should logall messages.

It also let in 'fu a-hole'.

This is ok: as soon as you are ready
but this is not: assoon as you are ready

You know how typos are.

English only I take it: chupa mi juevos ... gets in.. among others.
You know, they can still be abusive without bad words:
jo mama was so fat, I rolled over twice and I was still on her
kiss my anus goes through...
you got a lil willy does too...

Whoops... I guess the filter only works on the message.

Name: kiss my ass
email: ki****@ass.com
Message: Howdy friends and neighbors

this is too much fun...

.

Jul 19 '05 #31
-----Original Message-----
********************** WARNING *************************
The content of this message contains mature subject matter. Do not read ifyou are easily offended by such.
************************************************* *********

I just got through, no problem. I just put - between each letter. Youshould strip out all characters not a-zA-Z and check for numbers being usedas vowels:

a = 4
e = 3
i = 1 or !
o = 0

and then there are all of the extended characters...

Obviously if numbers are included in words, then they're going to be easy tofigure out. Convert them to vowels, as shown above and then run themthrough the filter. But, if you check your SPAM, you'll see they misspellall kinds of ways trying to get past spam filters. So, possibly somethingelse to add is an IP block. Once they have failed the test x number oftimes, you block their IP by redirecting them to a 404 error page until youcan verify they're message is either bad or acceptable but you should logall messages.

It also let in 'fu a-hole'.

This is ok: as soon as you are ready
but this is not: assoon as you are ready

You know how typos are.

English only I take it: chupa mi juevos ... gets in.. among others.
You know, they can still be abusive without bad words:
jo mama was so fat, I rolled over twice and I was still on her
kiss my anus goes through...
you got a lil willy does too...

Whoops... I guess the filter only works on the message.

Name: kiss my ass
email: ki****@ass.com
Message: Howdy friends and neighbors

this is too much fun...

.

Jul 19 '05 #32

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Kelvin | last post: by
9 posts views Thread by Jay | last post: by
7 posts views Thread by ab3331 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.