regex for nick, ident and gecos

These are old archives. They are kept for historic purposes only.
Post Reply
greg27
Posts: 7
Joined: Tue Jan 08, 2008 12:43 pm

regex for nick, ident and gecos

Post by greg27 »

i have some spambots connecting to my network - each have eight random letters as their nick, ident and realname
eg. (11:02:58pm) —› JVQOMUTF is "DINKYHQB" ([email protected])

is there any way to set a regex which matches this only if all the characters are in caps?
wolverine
Posts: 2
Joined: Tue Jan 08, 2008 2:30 pm

Re: regex for nick, ident and gecos

Post by wolverine »

I am having same issue. have set channels to +R for time being.
way too many spam urls to set a filter for urls
any assist would be appreciated, these things are in a large quantity using notices
and pms to spam urls.
SXBYENUX ([email protected])
FWUOYUPW ([email protected])
EHFLTTFG ([email protected])

EHFLTTFG was [email protected] * QLBYYXBS
EHFLTTFG using ************** Tue Jan 8 08:25:01 2008
End of WHOWAS

FWUOYUPW was [email protected] * RIRKMYTS
FWUOYUPW using ************ Tue Jan 8 08:29:46 2008
End of WHOWAS
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: regex for nick, ident and gecos

Post by Stealth »

Try this:

Code: Select all

^(?-i)[A-Z]{8}!~?[A-Z]{8}@[^:]+:[A-Z]{8}$
wolverine
Posts: 2
Joined: Tue Jan 08, 2008 2:30 pm

Re: regex for nick, ident and gecos

Post by wolverine »

Thanks! So Far so Good

[Spamfilter] [email protected] matches filter '^(?-i)[A-Z]{8}!~?[A-Z]{8}@[^:]+:[A-Z]{8}$': [NICK: '[email protected]:CGLJXFOY'] [SpamDrone0108]
greg27
Posts: 7
Joined: Tue Jan 08, 2008 12:43 pm

Re: regex for nick, ident and gecos

Post by greg27 »

thanks a lot, problem solved (for now)!
outz
Posts: 7
Joined: Mon Jun 11, 2007 7:40 pm

Re: regex for nick, ident and gecos

Post by outz »

thanks guys... ive been having this problem recently as well. my bot has probably glined well over 500 ip's... whoever it is has a lot of resources.
WilliamWIkked
Posts: 59
Joined: Sun Jun 20, 2004 3:30 am
Contact:

Re: regex for nick, ident and gecos

Post by WilliamWIkked »

Thanks a lot! My net is under attack by these bots too and this spamfilter is a lot better than mine (which only bans when they notice) because it's annoying seeing the ones who don't notice keep joining and parting. Now they're all gone =)

ps thank's greg for showing me this topic =)
[insert another cliche sig here.]
X-Trancer
Posts: 34
Joined: Mon Mar 08, 2004 5:24 am

Re: regex for nick, ident and gecos

Post by X-Trancer »

A New Problem whit the Bots see whois ^^

((10:30:05)) <ReVoLt> RSDRTBGQ is [email protected] * VOQEQWTC
((10:30:06)) <ReVoLt> RSDRTBGQ is using modes +ix
((10:30:06)) <ReVoLt> RSDRTBGQ is connecting from *@82.79.160.112 82.79.160.112
((10:30:06)) <ReVoLt> RSDRTBGQ using Ptown.German-IRC.net .::Ptown.German-IRC.net::. }{Düsseldorf}{
((10:30:06)) <ReVoLt> RSDRTBGQ End of /WHOIS list.

the ident is not Caps and not 8 letters
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: regex for nick, ident and gecos

Post by Jobe »

Try:

Code: Select all

^(?-i)[A-Z]{8}!~?[^@]+@[^:]+:[A-Z]{8}$
Your IP: Image
Your Country: Image
Post Reply