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

	<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>2004-10-25T09:14:58-04:00</updated>

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

		<entry>
		<author><name><![CDATA[user]]></name></author>
		<updated>2004-10-25T09:14:58-04:00</updated>

		<published>2004-10-25T09:14:58-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42212#p42212</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42212#p42212"/>
		<title type="html"><![CDATA[http auth]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42212#p42212"><![CDATA[
<a href="http://tcl.tk/man/tcl8.5/TclCmd/http.htm#M18" class="postlink">http://tcl.tk/man/tcl8.5/TclCmd/http.htm#M18</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=2878">user</a> — Mon Oct 25, 2004 9:14 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T13:34:15-04:00</updated>

		<published>2004-10-24T13:34:15-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42176#p42176</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42176#p42176"/>
		<title type="html"><![CDATA[http auth]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42176#p42176"><![CDATA[
never mind allready found a way <div class="codebox"><p>Code: </p><pre><code>#!/usr/bin/tclsh################################### create file domain.txt# file should look like this without the '#' :###################################&lt;id&gt; &lt;host&gt;###################################{0000000} {domain.tld}#{0000000} {domain.tld}##################################set username "&lt;username&gt;"set password "&lt;password&gt;"package require base64set crypt [base64::encode $username:$password]proc ipupdater {crypt ipaddr} {  set rf [open domain.txt r]  foreach x [split [read $rf] \n] {    if {![string equal {} [lindex $x 1]]} {      if {![catch {socket dynamic.zoneedit.com 80} s]} {        puts $s "GET /auth/dynamic.html?host=[lindex $x 1]&amp;dnsto=$ipaddr&amp;id=[lindex $x 0] HTTP/1.1"        puts $s "Host: dynamic.zoneedit.com"        puts $s "User-Agent: ipupdater"        puts $s "Authorization: Basic $crypt"        puts $s "\n\r\n\r"    puts "WEB &lt;-- GET /auth/dynamic.html?host=[lindex $x 1]&amp;dnsto=$ipaddr&amp;id=[lindex $x 0] HTTP/1.1"    puts "WEB &lt;-- Host: dynamic.zoneedit.com"    puts "WEB &lt;-- User-Agent: ipupdater"    puts "WEB &lt;-- Keep-Alive: 300"    puts "WEB &lt;-- Authorization: Basic $crypt"    puts "WEB &lt;-- &lt;crlf&gt;&lt;crlf&gt;"    flush $s    while {![eof $s]} {      gets $s x      regsub -all {&lt;(.|\n)*?&gt;} $x {} x      if {![string equal {} $x]} {        puts "WEB --&gt; $x"      }    }    close $s      }    }  }  close $rf}ipupdater $crypt $argv </code></pre></div> <br><br>incase any one wants to know how <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"> or if one knows a beter way..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 1:34 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Ofloo]]></name></author>
		<updated>2004-10-24T10:22:36-04:00</updated>

		<published>2004-10-24T10:22:36-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=42150#p42150</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=42150#p42150"/>
		<title type="html"><![CDATA[http auth]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=42150#p42150"><![CDATA[
http auth using the http lib extention..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=3151">Ofloo</a> — Sun Oct 24, 2004 10:22 am</p><hr />
]]></content>
	</entry>
	</feed>
