Page 1 of 1

spaces between letters creating problem !

Posted: Tue Mar 08, 2005 6:54 pm
by GouroB
ok as i said in topic ... lemme explain a bit
we were having some damn fanatic's who were doing advertising for other servers but this time they r using Spaces in their text , and for that spamfilters r not working . lemme first give u the add text they were using ...
15,014,06,0 Join W W W . B D F E A . C O M 14,015,0
i used this spamfilter below
/spamfilter add cpnN block - advertiser .*BD.*FEA.*

didnt work .... any idea ?

Posted: Tue Mar 08, 2005 7:28 pm
by Dukat
If there's a spacer between every letter, why didn't you add this to your spamfilter (only between BD and FEA?)?

.*B.*D.*F.*E.*A.*

Posted: Tue Mar 08, 2005 9:05 pm
by GouroB
Dukat ,
yes i did that too but that been blocking normal text of the pplz too ... lemme give u a example .
@Spamfiler[23:40] -abc.zxc.com- [Spamfilter] SeenServ![email protected] matches filter '.*B.*D.*F.*E.*A.*N.*E.*T.*': [NOTICE Mr_Risk_free_Lover_31DHK: 'I found 3 matches to your query: lili, AXE, Love_For_All. lili ([email protected]) was last seen joining #bangladesh 37 seconds ago (08.03. 17:39). lili is still there.'] [advertiser]
and like this pplz normal text also was being blocked becoz of that .

Posted: Tue Mar 08, 2005 9:25 pm
by Stealth
use:

.?B.?D.?F.?E.?A.?N.?E.?T.?

Posted: Tue Mar 08, 2005 9:54 pm
by Syzop
This is what I personally would use (well, the regex):

Code: Select all

/spamfilter add cpnN block - advertiser w.*w.*w.*\..*b.*d.*f.*e.*a.*\..*c.*o.*m
(perhaps next time they will use 2 or 3 spaces ;p)

[edit]
Perhaps it's worth explaining how to do this for people who are not familiar with regexes (actually you should check the online docs -> regex section ;p):
first the url:

Code: Select all

www.bdfea.com
but you need to escape . to \., so:

Code: Select all

www\.bdfea\.com
then you just insert .* after each letter (and in the case of \., after that)

Code: Select all

w.*w.*w.*\..*b.*d.*f.*e.*a.*\..*c.*o.*m
and that would be your regex.
[/edit]

Posted: Wed Mar 09, 2005 4:24 pm
by aquanight
If they really are only using spaces you can use this regex:

Code: Select all

w *w *w *\. *b *d *f *e *a *\. *c *o *m
(However, it is possible that there's actually a letter there hidden by a color code, in which case syzop's regex works better :P)

Posted: Wed Mar 09, 2005 4:38 pm
by w00t
His also stops possible future permutations :)

Posted: Thu Mar 10, 2005 9:51 pm
by GouroB
lol thx guys :D thats y i love this forum so much :D:D
i added both syzop's and aquanight's spamfilter , u know security first ... result was good , i caught many fishes doing that 8) .

Posted: Fri Mar 11, 2005 8:09 am
by Dukat
GouroB wrote:i added both syzop's and aquanight's spamfilter , u know security first ...
Syzop's regex matches everything aquanight's does, so adding only Syzop's would have been enough... :D

Posted: Sun Mar 13, 2005 5:00 am
by GouroB
ooh THX :P