<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/12835" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2006-12-19T07:05:40-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/12835</id>

		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-19T07:05:40-04:00</updated>

		<published>2006-12-19T07:05:40-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69075#p69075</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69075#p69075"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69075#p69075"><![CDATA[
Yeah, I myself learned a lot from you caesar <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Tue Dec 19, 2006 7:05 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-12-19T01:44:38-04:00</updated>

		<published>2006-12-19T01:44:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69069#p69069</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69069#p69069"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69069#p69069"><![CDATA[
<blockquote class="uncited"><div>(as if someone would care, anyway).</div></blockquote>I care! if you leave, there will be no oldtimers left anymore (except slennox that is) which would be sad<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Tue Dec 19, 2006 1:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[caesar]]></name></author>
		<updated>2006-12-18T16:31:33-04:00</updated>

		<published>2006-12-18T16:31:33-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69049#p69049</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69049#p69049"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69049#p69049"><![CDATA[
<blockquote class="uncited"><div>chandra Sha: caesar will probably post a solution when he next logs on. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"></div></blockquote>yes, remove it as it's obsolete. it should be removed from TCL Archive as well (if it's there). I no longer have nor the time nor the mood on continuing this... so I'll just hang around from time to time (as if someone would care, anyway).<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=187">caesar</a> — Mon Dec 18, 2006 4:31 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-18T16:03:38-04:00</updated>

		<published>2006-12-18T16:03:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69047#p69047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69047#p69047"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69047#p69047"><![CDATA[
Presumably the bad-whois script from mc8 works, I use his badchannel script with no problems..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Mon Dec 18, 2006 4:03 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Alchera]]></name></author>
		<updated>2006-12-18T09:16:04-04:00</updated>

		<published>2006-12-18T09:16:04-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69039#p69039</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69039#p69039"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69039#p69039"><![CDATA[
chandra Sha: caesar will probably post a solution when he next logs on. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3646">Alchera</a> — Mon Dec 18, 2006 9:16 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chandra Sha]]></name></author>
		<updated>2006-12-18T08:33:41-04:00</updated>

		<published>2006-12-18T08:33:41-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69035#p69035</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69035#p69035"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69035#p69035"><![CDATA[
yeah, i will never use badwhois anymore, but if i still must using this script or if i found same buggy on another or any script (actualy i found same problem on Spam Detective v1.0 by MarlbMan), any have antidote for that?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8331">chandra Sha</a> — Mon Dec 18, 2006 8:33 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Sir_Fz]]></name></author>
		<updated>2006-12-17T18:11:17-04:00</updated>

		<published>2006-12-17T18:11:17-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69016#p69016</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69016#p69016"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69016#p69016"><![CDATA[
Safety and security are 2 different things in software engineering as I've read and learned; safety is about the safety of the surrounding environment (harm) while security is about the software being able to protect itself from accidental or deliberate intrusion.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3085">Sir_Fz</a> — Sun Dec 17, 2006 6:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[demond]]></name></author>
		<updated>2006-12-17T14:18:34-04:00</updated>

		<published>2006-12-17T14:18:34-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=69009#p69009</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=69009#p69009"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=69009#p69009"><![CDATA[
<blockquote class="uncited"><div>There are no [split] commands that would make the script tcl-special-char safe, so yeah, it's gonna choke on {} [] " \ and other such chars in names.</div></blockquote>[split] is a prerequisite for not choking on special chars<br><br>safety - or rather <a href="http://forum.egghelp.org/viewtopic.php?t=9945" class="postlink">script security</a> - is another matter which requires awareness of double evaluation<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=5056">demond</a> — Sun Dec 17, 2006 2:18 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[rosc2112]]></name></author>
		<updated>2006-12-16T16:27:28-04:00</updated>

		<published>2006-12-16T16:27:28-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68994#p68994</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68994#p68994"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68994#p68994"><![CDATA[
There are no [split] commands that would make the script tcl-special-char safe, so yeah, it's gonna choke on {} [] " \ and other such chars in names.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7395">rosc2112</a> — Sat Dec 16, 2006 4:27 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2006-12-16T13:11:43-04:00</updated>

		<published>2006-12-16T13:11:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68991#p68991</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68991#p68991"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68991#p68991"><![CDATA[
I hav'nt looked through that script yet, but generally;<br>If a script starts behaving oddly or stop responding when you use a nick with [] in the name, unload that script instantly as there is a great chance the script has a remote code exploit within it (just try using the nick [die]).<br><br>I'd strongly suggest you stop using this script until anyone can confirm it does not suffer from such an exploit.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Dec 16, 2006 1:11 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[chandra Sha]]></name></author>
		<updated>2006-12-16T13:02:26-04:00</updated>

		<published>2006-12-16T13:02:26-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=68990#p68990</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=68990#p68990"/>
		<title type="html"><![CDATA[BadWhois by caesar - buggy Help]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=68990#p68990"><![CDATA[
<div class="codebox"><p>Code: </p><pre><code>## ¤ BadWhois# version 0.1# caesar &lt;cezarica [at] prietenii [dot] com&gt;# #eggdrop @ Undernet.org# http://www.r0x0ring.com/##### ¤ Description:# Performs a whois on join and places a *!*@host ban if mathes a banned realname or a banned channel.##### ¤ Available commands:##     Where  Flag Command   Description#     -----  ---- -------   -----------#     PUB : N/A##     MSG : N/A##     DCC :  n|n .chanset   Use .chanset to set what protections to active for the particular channel or not.#                           Example: .chanset #mychan +badwhois#                                    .chanset #otherchan -badwhois##### ¤ Custom channel flags:##  Flag:       Description:#  -----       ------------#  +badwhois  Channels marked with this flag will be "checked" for bad realnames and bad channels on join.## Attention!#  By default the channel flag (badwhois) is disabled. Enable it on the channels you wish.#  Don't use this script#### Adjust the folowing things to suit your needs!# .1. What bad realnames should be banned?set bwhois(list) {"foo bar""bla bla""*moo*""???""*http://*""*www.*"}# .2. What bad channels should be banned?set bwhois(chans) {#foo #moo #bar}# .3. Specify the ban reason and the ban time (in minutes) for a bad realname:set bwhois(br) {"You norteh norteh boy!" 60}# .4. Specify the ban reason and the ban time (in minutes) for a bad channel:set bwhois(bc) {"Wrong channel boy!" 60}# .4. Number of joins in seconds do a delayed whois.set bwhois(flud) "5:3:10"### ¤ Don't edit past here unless you know TCL! ¤#set bwhois(version) "0.1"setudef flag badwhois### ¤ bindsbind join * * badwhois:joinbind part - * badwhois:partbind raw - 311 badwhois:checkbind raw - 319 badwhois:chans### ¤ whois on joinproc badwhois:join {nick uhost hand chan} {   global bflud bwhois  if {![channel get $chan badwhois] || [isbotnick $nick ] || [matchattr $hand f|f $chan]} {    return  }   if {![info exists bflud($chan)]} {    set bflud($chan) 0  }  incr bflud($chan)  utimer [lindex [set bla [split $bwhois(flud) ":"]] 1] [list incr bflud($chan) -1]  if {$bflud($chan) &gt;= [lindex $bla 0]} {    puthelp "WHOIS $nick"    } else {    utimer [lindex $bla 2] [puthelp "WHOIS $nick"]  }  lappend bwhois(whois) "$nick:$chan:*!*@[lindex [split $uhost @] 1]"}### ¤ realname checkproc badwhois:check {from key txt} {   global bwhois  if {![info exists bwhois(whois)]} {    set bwhois(whois) ""  }  if {[isbotnick [set nick [lindex [split $txt] 1]]] || [validuser [nick2hand $nick]]} {    return  }  set realname [stripcodes bcruag [string range [join [lrange [split $txt] 5 end]] 1 end]]  foreach bla $bwhois(list) {    if {[string match -nocase $bla $realname]} {      set position [lsearch $bwhois(whois) "*:[set mask *!*@[lindex $txt 3]]*"]      if {[botisop [set chan [lindex [set t [split [lindex $bwhois(whois) $position] :]] 1]]]} {        putquick "KICK $chan $nick :[lindex $bwhois(br) 0]" -next      }      newchanban $chan $mask BadWhois [lindex $bwhois(br) 0] [lindex $bwhois(br) 1]      set bwhois(whois) [lreplace $bwhois(whois) $position $position]      break    }  }}### ¤ channels checkproc badwhois:chans {from key txt} {   global bwhois  if {[isbotnick [set nick [lindex [split $txt] 1]]] || [validuser [nick2hand $nick]]} {    return  }  if {[set position [lsearch $bwhois(whois) "*$nick:*"]] != -1} {    foreach bla [lrange $txt 2 e] {      if {[string match -nocase "*[string trimleft $bla ":@+"]*" $bwhois(chans)]} {        if {[botisop [set chan [lindex [set t [split [lindex $bwhois(whois) $position] :]] 1]]]} {          putquick "KICK $chan [lindex $t 0] :[lindex $bwhois(bc) 0]" -next        }        newchanban $chan [lindex $t 2] BadWhois [lindex $bwhois(bc) 0] [lindex $bwhois(bc) 1]        set bwhois(whois) [lreplace $bwhois(whois) $position $position]        break      }    }  }}### ¤ array removeproc badwhois:part {nick uhost hand chan msg} {  global bflud  if {[isbotnick $nick] &amp;&amp; [string match -nocase "*$chan*" [array names bflud]]} {    array unset bflud $chan  }}putlog "badwhois v$bwhois(version) loaded.."</code></pre></div>It's work Great, but not work with [nick...]<br>ex:<br>BOT on #chan1 have blacklist for #chan2<br>when nick on #chan2 join #chan1 he will get banned and kick<br>but when nick change nick to [nick] BOT not respon<br>and then when [nick] change nick to nick again BOT never respond anymore<br><br>Any can solve this? thx.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8331">chandra Sha</a> — Sat Dec 16, 2006 1:02 pm</p><hr />
]]></content>
	</entry>
	</feed>
