Détection du host caché
#5
fedora a écrit :merci CrazyCat de ton aide
j'ai commencé comme cela mais pour le reste j'avoue je flanche complet là.
http://tagx.nirc.fr/tagx.php?page=TagX&f...225649.txt

Tout d'abord, ce serait plus pratique si tu mettais tes sources ici avec les balises TCL, ça éviterait qu'on ait à aller d'une page à l'autre.

Ensuite, tu n'as pas dû lire la page sur les binds pour faire:
tcl
bind raw - 311 whois:proxy
proc whois:proxy { nick uhost hand chan ] {


D'autant plus que tes 2 procédures ont le même nom.
Citation :# Syntaxe: bind raw <flags> <keyword> <proc>
# Procédure: procname <from> <keyword> <text>
Donc, il faut faire:
tcl
set spamhost "2531986971.fr"
bind raw - 311 whois:answ
proc whois:answ {from kw text} {
   if { [string first $::spamhost $text] != -1} {
      putlog "Alerte ! $text !"
   }
   return 0
}


Répondre


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 : 2 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté