CastleCops, Internet Crime Fighters
Need help? Click here to register for free! Absolutely zero advertisements on this site!

Donation/Premium
spacer
block bottom
Security Central
spacer
· Home
· PIRT/Fried Phish
· MIRT
· SIRT
· Deutsch
· Wiki
· Newsletter
· O16/ActiveX
· CLSID List
· Contest2007
· Downloads
· Feedback (send)
· Forums
· HijackThis
· Hijacktrend
· LSPs
· My Downloads
· O18
· O20
· O21
· O22
· O23
· O9
· Premium
· Private Messages
· Proxomitron
· Reviews
· Search
· StartupList
· Stories Archive
· Submit News
· WsIRT
· Your Account
· Acceptable Use Policy
block bottom
spacer spacer

treat letters,digits, then letters to left of @ as spam

 
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions [del.icio.us!] [digg it!] [reddit!]
View previous topic :: View next topic  
Author Message
Aaron

Guest
IP: 24.130.*.*






PostPosted: Wed Jul 02, 2003 4:00 pm    Post subject: treat letters,digits, then letters to left of @ as spam
Reply with quote

aaron1234akkq*@*.* and the like has ALWAYS been spam.

A regular expression of *[a-z]*[0-9]*[a-z]*@*.* should flag any address as spam.

Back to top
gary

Lieutenant
Lieutenant
Premium Member

Joined: Dec 22, 2002
Posts: 260
Location: Dallas/Ft. Worth, USA
Premium

PostPosted: Wed Jul 02, 2003 5:45 pm    Post subject:
Reply with quote

Try "[a-z]+\d+[a-z]+@". Remember that DOS wildcard characters and Regular Expressions are quite different! As you have it, the *" at the beginning will cause a syntax error, as it is a quantifier, and must follow something. The remaining expression will match *anything* with an "@" sign in it, which probably isn't what you want. Don't sweat it though, it's a very common mistake, and one that I frequently used to make!

The filter looks a bit too general right now - for example, my friend "stamps2u" would get caught. Should there be a minimum number of letters or numbers in each of the sequences?


_________________
Gary
Back to top
View users profile Send private message
TimeGhost

Major
Major


Joined: Apr 11, 2003
Posts: 750
Location: USA
Team F@H

PostPosted: Wed Jul 02, 2003 6:41 pm    Post subject:
Reply with quote

Gary, your suggestion would not catch any address starting with a digit. And I've seen a few. I suggest this: "[a-z]*\d+[a-z]+@". Note the asterisk replacing the first plus sign. Be well!

Back to top
View users profile Send private message
gary

Lieutenant
Lieutenant
Premium Member

Joined: Dec 22, 2002
Posts: 260
Location: Dallas/Ft. Worth, USA
Premium

PostPosted: Wed Jul 02, 2003 6:47 pm    Post subject:
Reply with quote

Okay - the ONW asked for "letters, digits, then letters", so I was being very specific. Actually, I think there are probably fewer legitimate addresses which start with a number than with a letter, so that might be a good filter to add to the Sample Filter set. I'll try it out for a while and see what kind of results I get.


_________________
Gary
Back to top
View users profile Send private message
JE_Canada

Guest
IP: 65.49.*.*






PostPosted: Sun Jul 06, 2003 9:27 pm    Post subject:
Reply with quote

I implemented a Regular Expression filter some time ago that automatically bounces anything starting with a numeral, and I haven't seen a single "good" message yet which satisfies this criteria.

Back to top
Display posts from previous:   
Post new topic   Reply to topic       All -> FavForums -> Product Suggestions All times are GMT
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001 phpBB Group
spacer spacer