<?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/9567" />

	<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>2005-05-06T04:10:49-04:00</updated>

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

		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-06T04:10:49-04:00</updated>

		<published>2005-05-06T04:10:49-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49081#p49081</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49081#p49081"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49081#p49081"><![CDATA[
<blockquote class="uncited"><div><strong class="text-strong">De Kus</strong>, upload your script to some web site please...</div></blockquote>without any warrenty or support:<div class="codebox"><p>Code: </p><pre><code>#De Kus' kleines whoisscript :)set whoisinuse 0set re(whois1) {(?ni)inetnum: (.*)\n}set re(whois2) {(?ni)descr: (.*)\n}set re(whois3) {(?ni)country: (.*)\n}set re(whois4) {(?ni)source: (.*)\n}set re(whois5) { ([A-Za-z0-9\.\-]+@[A-Za-z0-9\.\-]+)}set re(whois6) {(?ni)route: (.*)\n}set re(whois7) {Registrant:\n([^\n]+)\n[^\n]+\n[^\n]+\n +([^\n]+)\n}bind pub ol|ol ?whois whoisqueryproc whoisquery {nick uhost hand chan query} {if { $::whoisinuse == 1 } {puthelp "NOTICE $nick :Befehl darf nur 1mal/minute benutzt werden."} elseif { [scan $query "%s" hostip] != 1 } {    puthelp "NOTICE $nick :Fehler: Anzahl der Argumente ungültig."  } else {  set ::whoisinuse 1  timer 1 [list set ::whoisinuse 0]    dnslookup [split $hostip] whoisquery_cb [split $nick] [split $chan] [split [string map {| "" &lt; "" &gt; ""} $query]]    return 1  }}proc whoisquery_cb {ipaddress hostname status nick chan query} {if { $hostname == $ipaddress &amp;&amp; $ipaddress != "0.0.0.0" || $hostname == "" } {set hostname ""} elseif { $ipaddress != "0.0.0.0" } {set hostname "($hostname)"set query $ipaddress} else {set ipaddress ""}if {[catch {set sock [open "|bash -c "whois $query"" r]} err] } {puthelp "NOTICE $nick :Fehler: $err"} else {fconfigure $sock -blocking 0fileevent $sock readable [list whoisquery_cb2 $sock $ipaddress $hostname $nick $chan]}return 0}proc whoisquery_cb2 {sock ipaddress hostname nick chan} {global reset nick [join $nick]set chan [join $chan]set description ""set country ""set source ""set netblock ""set abuse ""set input [read $sock]close $sockregexp $re(whois1) $input {} netblockregexp $re(whois2) $input {} descriptionregexp -all $re(whois3) $input {} countryregexp $re(whois4) $input {} sourceforeach line [split $input "\n"] {if { [string match -nocase *abuse* $line] } {if { [regexp $re(whois5) $line {} abuse] } {break}}}if { $abuse != "" } {set abuse " - Abuse eMail: $abuse"}if { $netblock == "" } {regexp $re(whois7) $input {} netblock}if { $country == "" } {if { ![regexp $re(whois7) $input {} description country] } {puthelp "NOTICE $nick :Fehler: Unzureichendes Suchergebnis um es wiederzugeben."return 0}}puthelp "PRIVMSG $chan :[string trim $source] meldet für $ipaddress$hostname im NetBlock [string trim $netblock]:"puthelp "PRIVMSG $chan :Ländercode: [string trim $country] - Beschreibung: [string trim $description]$abuse"return 0}</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Fri May 06, 2005 4:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gL0oM]]></name></author>
		<updated>2005-05-05T10:08:29-04:00</updated>

		<published>2005-05-05T10:08:29-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49047#p49047</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49047#p49047"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49047#p49047"><![CDATA[
i find some script, with mini Corrections this script was wery good... Tell  yours ideas to correct this script...<br><div class="codebox"><p>Code: </p><pre><code>bind pub -|- "!whois" whoisinfoproc whoisinfo { nick uhost hand chan rest } {set mask {[^A-Za-z\. 0-9 \-]}set pau [regexp $mask $rest]    if {$pau==0} {   set paupau [eval [concat exec -- whois $rest]]   set blabla [split $paupau \r\n]   foreach {i} $blabla { putserv "PRIVMSG $nick :$i"   }} else {putserv "PRIVMSG $nick :String $arg contains not allowed symbols,rejected"}return 0}putlog "whois tcl loaded"</code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6189">gL0oM</a> — Thu May 05, 2005 10:08 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gL0oM]]></name></author>
		<updated>2005-05-05T06:03:09-04:00</updated>

		<published>2005-05-05T06:03:09-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49040#p49040</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49040#p49040"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49040#p49040"><![CDATA[
<strong class="text-strong">De Kus</strong>, upload your script to some web site please...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6189">gL0oM</a> — Thu May 05, 2005 6:03 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-04T20:00:00-04:00</updated>

		<published>2005-05-04T20:00:00-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49019#p49019</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49019#p49019"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49019#p49019"><![CDATA[
That script does not allow some... there is another in tclscript.com, which I will test today. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_smile.gif" width="15" height="15" alt=":)" title="Smile"><br>De Kus, where can I get that script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Wed May 04, 2005 8:00 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[De Kus]]></name></author>
		<updated>2005-05-04T17:30:48-04:00</updated>

		<published>2005-05-04T17:30:48-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49010#p49010</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49010#p49010"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49010#p49010"><![CDATA[
I have a script using the unix command "whois" and some regexp triing to find country, registration name, ip range and abuse email. furthermore its triing to get the info from the IP instead of the the domain name whois. so maybe its not what you like.<br>remember some whois databases restrict the usage of the informations per ToS.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2382">De Kus</a> — Wed May 04, 2005 5:30 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gL0oM]]></name></author>
		<updated>2005-05-04T15:52:24-04:00</updated>

		<published>2005-05-04T15:52:24-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=49002#p49002</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=49002#p49002"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=49002#p49002"><![CDATA[
i also used this script, but, it is not what i want. Some domains are not checked by this script... But some information are not full and script display empty options to user. In other web sites the information of domains to full. Anybody have other versions of this script?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6189">gL0oM</a> — Wed May 04, 2005 3:52 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Thunderdome]]></name></author>
		<updated>2005-05-04T14:41:43-04:00</updated>

		<published>2005-05-04T14:41:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48999#p48999</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48999#p48999"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48999#p48999"><![CDATA[
<a href="http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&amp;id=1050" class="postlink">http://www.egghelp.org/cgi-bin/tcl_arch ... ad&amp;id=1050</a><br><br>actually seing what egghelp.org is all about would not hurt <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6079">Thunderdome</a> — Wed May 04, 2005 2:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[gL0oM]]></name></author>
		<updated>2005-05-04T13:24:37-04:00</updated>

		<published>2005-05-04T13:24:37-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=48997#p48997</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=48997#p48997"/>
		<title type="html"><![CDATA[Who have TCL script &quot;Domain Whois&quot; ?]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=48997#p48997"><![CDATA[
hello all, I searching script "domain whois". The Eggdrop can visit to the Web site and get information about some domains, for example:<br><strong class="text-strong">!whois egghelp.org</strong> or <strong class="text-strong">!whois microsoft.com</strong> and bot send to the channel owned date and other information, registered domain or not registered. Who have this script, place it in this web site please...<br><br><strong class="text-strong"><span style="font-size:75%;line-height:116%">p.s. Sorry for my bad English</span></strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6189">gL0oM</a> — Wed May 04, 2005 1:24 pm</p><hr />
]]></content>
	</entry>
	</feed>
