Détection du host caché
#9
Normal que rien de ne se passe, tu utilises putlog pour faire le whois.

J'ai corrigé vite fait ça donnerai ça:

tcl
set spamhost "2531986971.fr"		
 
bind join - * whois:join
bind raw - 311 whois:answ
 
proc whois:join { nick host hand chan } {
putserv "WHOIS $nick"
   return 0
}
 
proc whois:answ {from kw text} {
   set userhost [lindex $text 3]
   if { [string first $::spamhost $userhost] != -1} {
      putlog "Alerte ! $userhost détécté ! "
   }
   return 0
}



C'est perfectible.
CrazyCat a écrit :La prochaine fois, essaye d'imaginer que j'ai un cerveau ...
Répondre Avertir


Messages dans ce sujet
Détection du host caché - par fedora - 25/01/2009, 17:55
RE: Détection du host caché - par CrazyCat - 25/01/2009, 21:59
RE: Détection du host caché - par fedora - 25/01/2009, 23:57
RE: Détection du host caché - par CrazyCat - 26/01/2009, 16:00
RE: Détection du host caché - par BeussAy - 26/01/2009, 12:33
RE: Détection du host caché - par fedora - 26/01/2009, 17:39
RE: Détection du host caché - par BdS - 26/01/2009, 19:34
RE: Détection du host caché - par fedora - 26/01/2009, 20:08
RE: Détection du host caché - par BdS - 26/01/2009, 23:06
RE: Détection du host caché - par fedora - 26/01/2009, 23:41
RE: Détection du host caché - par BdS - 26/01/2009, 23:51
RE: Détection du host caché - par fedora - 27/01/2009, 01:20
RE: Détection du host caché - par fedora - 28/02/2009, 22:43
RE: Détection du host caché - par fedora - 01/03/2009, 12:04
RE: Détection du host caché - par fedora - 01/03/2009, 13:23
RE: Détection du host caché - par CrazyCat - 01/03/2009, 18:25
RE: Détection du host caché - par fedora - 01/03/2009, 18:27
RE: Détection du host caché - par CrazyCat - 01/03/2009, 18:51
RE: Détection du host caché - par fedora - 01/03/2009, 18:54
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:06
RE: Détection du host caché - par fedora - 01/03/2009, 19:12
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:17
RE: Détection du host caché - par fedora - 01/03/2009, 19:20
RE: Détection du host caché - par CrazyCat - 01/03/2009, 19:27
RE: Détection du host caché - par fedora - 01/03/2009, 19:36
RE: Détection du host caché - par fedora - 01/03/2009, 19:42
RE: Détection du host caché - par CrazyCat - 01/03/2009, 21:31
RE: Détection du host caché - par fedora - 01/03/2009, 22:28
RE: Détection du host caché - par CrazyCat - 01/03/2009, 23:14
RE: Détection du host caché - par fedora - 01/03/2009, 23:20
RE: Détection du host caché - par CrazyCat - 01/03/2009, 23:28
RE: Détection du host caché - par fedora - 01/03/2009, 23:35
RE: Détection du host caché - par fedora - 01/03/2009, 23:40
RE: Détection du host caché - par CrazyCat - 02/03/2009, 10:15
RE: Détection du host caché - par fedora - 02/03/2009, 11:45
RE: Détection du host caché - par CrazyCat - 02/03/2009, 13:59
RE: Détection du host caché - par fedora - 02/03/2009, 14:12
RE: Détection du host caché - par CrazyCat - 02/03/2009, 16:48
RE: Détection du host caché - par fedora - 02/03/2009, 22:13
RE: Détection du host caché - par fedora - 04/03/2009, 15:31
RE: Détection du host caché - par CrazyCat - 05/03/2009, 10:02
RE: Détection du host caché - par fedora - 30/03/2009, 23:11
RE: Détection du host caché - par CrazyCat - 31/03/2009, 08:57
RE: Détection du host caché - par bewess - 08/04/2009, 18:01
RE: Détection du host caché - par fedora - 08/04/2009, 18:10
RE: Détection du host caché - par bewess - 08/04/2009, 18:54
RE: Détection du host caché - par fedora - 08/04/2009, 19:11
RE: Détection du host caché - par bewess - 08/04/2009, 19:24
RE: Détection du host caché - par fedora - 08/04/2009, 23:12
RE: Détection du host caché - par Merwin - 09/04/2009, 12:35
RE: Détection du host caché - par CrazyCat - 09/04/2009, 12:54
RE: Détection du host caché - par bewess - 09/04/2009, 14:20
RE: Détection du host caché - par foufou - 27/10/2009, 17:19
RE: Détection du host caché - par fedora - 28/10/2009, 12:45

Atteindre :


Utilisateur(s) parcourant ce sujet : 3 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté