Hey guys, I currently have some bots started connecting to my network, Their nick follows this example 'HT12345'. Now thats easy, but some of them have a variable amount of numbers so it could be 'HT12' or 'HT1234567'. All of their idents are 'user'. I'm looking for a regex that will match this so i can spamfilter it. Thanks.
Also, if anyone could guess which bot it is that would be great, i can't guess a login command, they have no ctcp version reply and only 1 bot ever said 'HackTechIRC v2.0 Standing by...' when it joined a channel.
Looking for regex to match this.
Re: Looking for regex to match this.
For the nick you could use the regex:
^HT\d+!
Which will only match nicks that start with "HT" and end with 1 or more numeric digits.
You can also use:
^HT\d+!~?user@
Which is the same as the first one except it also requires the ident portion to be either "~user" or "user"
Use both regex's with the "u" type spamfilter.
^HT\d+!
Which will only match nicks that start with "HT" and end with 1 or more numeric digits.
You can also use:
^HT\d+!~?user@
Which is the same as the first one except it also requires the ident portion to be either "~user" or "user"
Use both regex's with the "u" type spamfilter.
Your IP:
Your Country:
Your Country:
Re: Looking for regex to match this.
You can use Neostats to figure out the version, and then block in you unreal conf file..
Re: Looking for regex to match this.
You don't need NeoStats, you can use "/ctcp <nick> VERSION"Exedore wrote:You can use NeoStats to figure out the version, and then block in you unreal conf file..
Your IP:
Your Country:
Your Country: