certain Gcos

These are old archives. They are kept for historic purposes only.
Post Reply
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

certain Gcos

Post by GouroB »

BHAQGBEXGKC is [email protected] * 4,0Dutty-Boz rulezzzzzz
this is the bots whois first line, i wanna block or onjoin gline these bots, what would be the regex plz ? and yah antirandom doesnt block these bots.

i found just this line in helpop bout spamfilter certain gcos/real name " 'u' user (nick!user@host:realname ban) "

Oh one more there were some spamming , they used texts like " i r c . s o m e c h a t . c o m " and i added spamfilter " .*i.*r.*c.*..* " and it started blocking everyone's text :| .... any idea what would be better to block these spams ? Thanks in advance
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

You mean

/spamfilter + u gzline 7d Dutty-Boz_suckzzzzzz .*:.*Dutty-Boz rulez+
Why the hell can't my signature be empty?
"Your message contains too few characters."
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

Jason or any one any idea bout the 2nd part of ma last post ?
Oh one more there were some spamming , they used texts like " i r c . s o m e c h a t . c o m " and i added spamfilter " .*i.*r.*c.*..* " and it started blocking everyone's text .... any idea what would be better to block these spams ? Thanks in advance
this one ?
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Suchiara
Posts: 64
Joined: Fri May 20, 2005 2:37 pm

Post by Suchiara »

maybe this?
/spamfilter add c block - - i\ r\ c\ \.\ s\ o\ m\ e\ c\ h\ a\ t\ .\ c\ o\ m
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

What the hell? Why do you have so many \s?

/spamfilter + cpnN gzline 7d Spam_Bot i r c . s o m e c h a t . c o m
Why the hell can't my signature be empty?
"Your message contains too few characters."
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

[while not necessary, it is often good practice to escape characters like '.']
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

I'll admit I was lazy, but Suchiara escaped practically everything BUT the .s
Why the hell can't my signature be empty?
"Your message contains too few characters."
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

so which one should i follow ?
/spamfilter + cpnN gzline 7d Spam_Bot i r c . s o m e c h a t . c o m
or
[while not necessary, it is often good practice to escape characters like '.']
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

Escape special characters - but special characters only.
If you don't make mistakes, you aren't really trying.
- Coleman Hawkins
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

For a final result of:

/spamfilter + cpnN gzline 7d Spam_Bot i r c \. s o m e c h a t \. c o m
Why the hell can't my signature be empty?
"Your message contains too few characters."
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

Thx Jason for the final one, working great , according to this if i wanna block any server's name what would be the regex ?

like filter should block/gzline whatever the server name just if there is irc.whatever.com , how to block this " whatever " coz it can be a new server bout what we donno yet.

i saw in one post of urs " [^@][^ ]+\.(com|net) " will it work ?
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

That regex was actually flawed. It is harder than that to fail to match a email address. (The [^@] would match the first non-@ character of the address)


Do you want to block all URLs and domain names, etc? I have a _VERY_ comprehensive regular expression for that.

If you just want to block irc.*.com/net/org/etc use this:

irc\.[\-a-z0-9\.]+\.(com|net|org)

See where (com|net|org) is? Just add on others if you need to: (com|net|org|ath.cx|etc).

If you have more specific needs that I didnt address or examples of specific bad messages, I can probably provide a more specific regular expression.
Why the hell can't my signature be empty?
"Your message contains too few characters."
igor
Posts: 5
Joined: Mon Dec 05, 2005 4:36 pm

Post by igor »

Jason wrote:I'll admit I was lazy, but Suchiara escaped practically everything BUT the .s
no.. he escaped all the spaces.. which is pretty dumb imo [edit] and the first period [/edit]
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

can i use this spamfilter to stop these bots
/spamfilter + u gzline 7d Dutty-Boz_suckzzzzzz .*:.*http://www.banglacafe.com/chat/index.html+

i wanna make sure if ident " Java " and real name " http://www.banglacafe.com/chat/index.html LiteS " matches only then Gline should take place. thats y kinda confused with this one.
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

/spamfilter + u gzline 7d ^[^!]!(~)?java@[^:]:http://www.banglacafe.com/chat/index.html LiteS

Like that?

GZLINES *!java@* http://www.banglacafe.com/chat/index.html LiteS
GZLINES *!~java@* http://www.banglacafe.com/chat/index.html LiteS
Why the hell can't my signature be empty?
"Your message contains too few characters."
Post Reply