I need a second set of eyes to check this expression.

These are old archives. They are kept for historic purposes only.
Post Reply
JRBlood
Posts: 12
Joined: Sat Apr 12, 2008 8:20 pm
Location: Syracuse, NY USA
Contact:

I need a second set of eyes to check this expression.

Post by JRBlood » Thu Jul 17, 2008 6:17 pm

Code: Select all

/spamfilter add u gzline 90d Bot_Flooder ^(?-i)[a-z]{5}[0-9]{2,3}+![a-z]{2}+@[^:]+:[a-z]{2}
Did I do this right? It should block bots like:

Code: Select all

mqxcg245 (~re@mail.rexmetal.com) (oq)  
ytyof63 (~df@adsl196-198-26-217-196.adsl196-9.iam.net.ma) (ye) 
seayb449 (~go@adsl196-198-26-217-196.adsl196-9.iam.net.ma) (xs) 
owjgy543 (~ex@63.105.58.13) (ab)
hywgz622 (~st@61.145.59.220) (ge)
vnjbc271 (~xu@210.187.119.244) (mt)
qpgyy823 (~mu@212.116.219.211) (wl)
mgfxk940 (~uh@gip194.internetdsl.tpnet.pl) (jm)
Note that one of them has only 2 digits in the nick (There were more than just this one).
Image
RaveTrax.com - "Its not a state of mind, Its a way of life."
» Audio Streams - MP3 - 160k MP3 - 64k MP3 - 24k MP3
» Audio Streams - AAC+ - 64k aacPlus v2 - 24k aacPlus v2

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: I need a second set of eyes to check this expression.

Post by Jobe1986 » Thu Jul 17, 2008 8:27 pm

Try using the regex:

Code: Select all

^(?-i)[a-z]{5}[0-9]{2,3}!~?[a-z]{2}@[^:]+:[a-z]{2}(?i)$
Your IP: Image
Your Country: Image

JRBlood
Posts: 12
Joined: Sat Apr 12, 2008 8:20 pm
Location: Syracuse, NY USA
Contact:

Re: I need a second set of eyes to check this expression.

Post by JRBlood » Fri Jul 18, 2008 1:12 am

Tks. I'll take a closer look at what you did compaired to mine. I should be home by now ;)

Post Reply