basic anti proxy #2

By Chaz on Jun 14, 2005

Does everything itself.. just some basic regex, if you want an allowed site just add it to the alias allowed

on @*:JOIN:#: {
  if ($len($nick) >= 4) {
    if (!$regex($nick,(a|e|i|o|u))) {
      if (($right($address($nick,2),19) != .users.quakenet.org) && (!$istok($allowed,$address($nick,2),32))) {
        .mode $chan +mi
        .set %banned $addtok(%banned,$nick,32)
        .inc %counter
        .timerbans 1 2 $banaddr
        .timer $+ $nick 1 3 kick $chan $nick %counter
      }
    }
    elseif ($regex($nick,\d{3}$)) {
      if (($right($address($nick,2),19) != .users.quakenet.org) && (!$istok($allowed,$address($nick,2),32))) {
        .mode $chan +mi
        .set %banned $addtok(%banned,$nick,32)
        .inc %counter
        .timerbans 1 2 $banaddr
        .timer $+ $nick 1 3 kick $chan $nick %counter
      }
    }
    elseif ($regex($nick,\d{4}$)) {
      if (($right($address($nick,2),19) != .users.quakenet.org) && (!$istok($allowed,$address($nick,2),32))) {
        .mode $chan +mi
        .set %banned $addtok(%banned,$nick,32)
        .inc %counter
        .timerbans 1 2 $banaddr
        .timer $+ $nick 1 3 kick $chan $nick %counter
      }
    }
  }
}

alias allowed {
  return *!*@quakenet.org *!*@hehe.com
}

alias banaddr {
  mode $chan + $+ $str(b,$numtok(%banned,32)) %banned
}

on me:@*:BAN:#: {
  .timer 1 6 mode $chan -mi
  .timer 1 6 unset %banned
}

Comments

Sign in to comment.
Joshuaxiong1   -  Oct 19, 2008

Failed Botnet.

 Respond  
krompert   -  Jun 22, 2007

hay and ignore real nicks just if the nicks got number like mo1254 or some like that hi take efect but look at this..!

yamasaki ( u5066@F4859B5F.9D4E125A.FE31252F.IP ) entra [04:54]
la_gata ( k9023@Red-Isla-E79CEEA0.red-83-39-77.dynamicip.rima-tde.net ) entra [04:54]
*** el_chivo ( y8022@D99FDB38.E2920504.7B0A5459.IP ) entra [04:54] [entrantes como c7709]

and don\'t do nothing :(

 Respond  
DarthReven   -  Jun 14, 2005

anthalus some servers don\'t have vhost\'s like that

 Respond  
anthalus   -  Jun 14, 2005

I would remove the .users.quakenet.org and change it to or something like that.

 Respond  
DarthReven   -  Jun 14, 2005

might want to add that this is for Quakenet only

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.