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

	<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>2010-12-05T17:09:07-04:00</updated>

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

		<entry>
		<author><name><![CDATA[hawkee]]></name></author>
		<updated>2010-12-05T17:09:07-04:00</updated>

		<published>2010-12-05T17:09:07-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95280#p95280</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95280#p95280"/>
		<title type="html"><![CDATA[Public IP information Checker Version 0.3]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95280#p95280"><![CDATA[
Hy, this is my first time i read this, and i got no e-mail with bug reports.<br><br>The only e-mail i got regarding this, is one since 3 days ago from a user which uses this script, complaining it doesn't work<br><br>With this opportunity i release a new version of this script, it should appear on egghelp.org / TCL Archive on the next site update, but for now here it is:<br><br><br>Changes:<br>-added log in features <br>-fixed some functionality bugs<br>-set error message on error events<br>-updates to IP2location structure<br><br>IN WORK:<br>----------- <br>-multiple bots sharing the same caching file<br>-specify what IP address should the script use when fetching information (this requires of new version of HTTP package, reason for not implementing by now)<br><br>HOPE it works; I am awaiting suggestions for further development.<br><br><br>WEB: <a href="http://hwk.robits.org/internet/programare-si-scripting/public-ip-info-v-02-script-tcl-pentru-eggdrop/" class="postlink">http://hwk.robits.org/internet/programa ... u-eggdrop/</a><br><br><br><div class="codebox"><p>Code: </p><pre><code>###########################################################################         Public IP Info v0.3 by Hawkee - lowraider1@gmail.com           ##----------------------------------------------------------------------- ## This script uses www.ip2location.com to check info for an ip adresses  ##  It with both with and without ip2location account                 ### Using it without a ip2location.com account limits the script# functionality to 50 lookup's per day.## If don't have a ip2location.com account your can register one for free ## and get 200 look-up per day.#      ## See the ip2location setting bellow                                ##          ## Changes from version 0.2:                 ##-fixed some bugs                                           ##             -code optimizations           ##-updated the recognition format#-more error information#-implemented ip2location.com account                       ##          ##                 ## Works on all channels, and it can be used by all users. Requires TCL   ## HTTP PACK          ##                 ## USAGE: !ipinfo &lt;IP&gt;   ## HAVE PHUN          ## Email me with suggestions and bug reports at lowraider1@gmail.com    ##          ##grtz HWK @ undernet                 ##########################################################################set ipinfo(useaccount) 1;#set this to 1 if you have a ip2location.com account and you want to use itset ipinfo(i2lmail)"myemail@domain.com";#set the login e-mail address from ip2location.comset ipinfo(i2lpass)"mypass";#set the account password from ip2location.comset ipinfo(cachefile) "ipinfo.cache";#the cache fileset ipinfo(cacherefresh) "7";#the time (in days) to refresh the info for an IPset ver "0.3"#### END OF SETTINGs#### edit with caution from here oncatch {array unset ipinfocache}unset -nocomplain COOKIESunset -nocomplain ::ipinfo(loginfailure)package require httpset ipinfo(islogged) 0proc ipinfo:parser {nick uhost hand chan args} {set ip [string trimright [lindex $args 0] "."]if {![regexp {^(?:(?:[01]?\d?\d|2[0-4]\d|25[0-5])(\.|$)){4}$} $ip]} {puthelp "privmsg $chan :$nick NO/Invalid IP pattern. USAGE: !ipinfo 193.193.193.193"putlog "IP INFO $chan $nick - INVALID IP PATTERN"return}set infoip [ipinfo:output $ip]if {[string equal [lindex $infoip 0] -]} {puthelp "privmsg $chan :$nick No information found for IP: \00302$ip\003 please redefine your IP"putlog "IP INFO $chan $nick - No results - SOMETHING MAY WENT WRONG"return}set country [lindex $infoip 0]set city [lindex $infoip 1]set isp [lindex $infoip 2]set domain [lindex $infoip 3]puthelp "privmsg $chan :$nick IP information for \00302$ip\003: \002Country:\002 \00304$country\003, \002City:\002 \00304$city\003, \002ISP\002: \00302$isp\003, \002Domain:\002 \00302$domain\003"putlog "IPinfo request:  $nick on $chan"}proc ipinfo:dologin {} {## getting login tokenset login [::http::geturl "http://www.ip2location.com/login.aspx" -timeout 3000]set logindata [::http::data $login]::http::cleanup $login## making sure we got the login method rightif {[regexp {&lt;input type="hidden" name="__VIEWSTATE" value="([^&lt;]+)" /&gt;} $logindata -&gt; logtok]} {set logque [::http::formatQuery __VIEWSTATE $logtok btnLogin.x 35 btnLogin.y 17 txtEmailAddress $::ipinfo(i2lmail) txtPassword $::ipinfo(i2lpass) chkRememberMe on]set dologin [::http::geturl "http://www.ip2location.com/login.aspx" -timeout 3000 -query $logque]if {[regexp {&lt;span id="lblMessage" class="fontredsmall"&gt;(Invalid(.*))&lt;/span&gt;&lt;/center&gt;} [::http::data $dologin]]} {putlog "IP INFO: FAILED - INVALID ACCOUNT DETAILS (mail or password)"return 0;}upvar \#0 $dologin stateset cookies [list] foreach {name value} $state(meta) {    if {$name eq "Set-Cookie"} {lappend cookies [lindex [split $value {;}] 0];} }::http::cleanup $dologinputlog "IP INFO: LOGGED IN"return $cookies} putlog "IP INFO: FAILED - THE AUTH MECHANISM NOT compatible -- please e-mail: lowraider1@gmail.com with this issue"return 0;}proc ipinfo:cookies {cookielist} {return [list Cookie [join $cookielist {; }]]}proc ipinfo:getinfo {host} {global ipinfo ipinfocache::http::config -useragent "Mozilla/5.0 ; Gecko"set headers {}if {$::ipinfo(useaccount)} {if {!$::ipinfo(islogged)} {putlog "IP INFO: NOT LOGGED TRYING TO LOG IN";set logstats [ipinfo:dologin]if {$logstats != 0} {set headers [ipinfo:cookies $logstats]set ::COOKIES $headersset ::ipinfo(islogged) 1} else { set ::ipinfo(loginfailure) 1putlog "IP INFO: ERROR: LOGIN FAIL -- please check message";}} elseif {![info exists ::ipinfo(loginfailure)]} {set headers $::COOKIES}}   set http_req [::http::geturl "http://www.ip2location.com/$host" -timeout 3000 -headers $headers]set data [::http::data $http_req]::http::cleanup $http_reqif {[regexp {&lt;span id="dgLookup__ctl2_lblICountry"&gt;([^&lt;]+)&lt;/span&gt;&lt;/td&gt;} $data -&gt; country]} {regexp {&lt;span id="dgLookup__ctl2_lblICity"&gt;([^&lt;]+)&lt;/span&gt;&lt;/td&gt;} $data -&gt; cityregexp {&lt;span id="dgLookup__ctl2_lblIISP"&gt;([^&lt;]+)&lt;/span&gt;&lt;/td&gt;} $data -&gt; ispregexp {&lt;span id="dgLookup__ctl2_lblIDomain"&gt;([^&lt;]+)&lt;/span&gt;&lt;/td&gt;} $data -&gt; domainset info [list $country $city $isp $domain [unixtime]]set ipinfocache($host) $info} else {putlog "IP INFO: Lookup FAILURE";set info {-}}return $info}proc ipinfo:output {host} {global ipinfo ipinfocacheif {[info exists ipinfocache($host)]} {if {[expr {(60*60*24)*$ipinfo(cacherefresh)}] &lt; [expr {[unixtime] - [lindex $ipinfocache($host) 4]}]} {putlog "IPinfo: refreshing cache data for $host"set info [ipinfo:getinfo $host]ipinfo:savereturn $info} else {return $ipinfocache($host)}} else {set info [ipinfo:getinfo $host]ipinfo:savereturn $info}}proc ipinfo:save {} {global ipinfo ipinfocacheset write [open $ipinfo(cachefile) w]puts $write[list array set ipinfocache [array get ipinfocache]]close $write}proc ipinfo:read {} {global ipinfo ipinfocacheif {[file exists $ipinfo(cachefile)]} {if {![catch {source $ipinfo(cachefile)} cacheerror]} {putlog "IPinfo: cache file successfully loaded"} else {putlog "IPinfo: cache file failed to load -: $cacheerror"putlog "IPinfo: trying to fix cache file: reset" ; ipinfo:save}} else {ipinfo:saveputlog "IPinfo: cache file written - first time use"}}ipinfo:readbind pub -|- !ipinfo ipinfo:parserputlog "Public IP Info $ver by HAWKEE Successfuly loaded" </code></pre></div><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=11442">hawkee</a> — Sun Dec 05, 2010 5:09 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[3rdBAR]]></name></author>
		<updated>2010-12-01T14:47:22-04:00</updated>

		<published>2010-12-01T14:47:22-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95248#p95248</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95248#p95248"/>
		<title type="html"><![CDATA[Too bad that dishonest spam comes with the membership though]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95248#p95248"><![CDATA[
It's indeed a handy tool!<br><br>However, it would be nice if two of the things that come along with the lookup access were nonexistent. That is, once signed up for the free lookups on IP-Adress.com your email address gets somewhat inundated with spam from IP-Adress.com. Said spam prompts the member to purchase things like PC optimization tools and access to a proxy IP address concealment network.<br><br>While I suppose this is pretty well to be expected, since after all the lowest class of access to the lookup service is free, I think the attempted scare tactics within the IP concealment service proposals are shameful.<br><br>They are:<blockquote class="uncited"><div>...are you aware that many websites and most hackers use IP addresses to monitor your personal business <span style="text-decoration:underline"><strong class="text-strong">and that your home address and other personal information about you can be retrieved once your IP address is known?</strong></span></div></blockquote><blockquote class="uncited"><div>What does that mean?<br><span style="text-decoration:underline"><strong class="text-strong">If your IP address isn’t hidden, virtually anyone with Internet access can track you directly to your home. Everyone can see this information</strong></span>  - including hackers! Your firewall does not hide your IP address - Our award winning software can do this.</div></blockquote><blockquote class="uncited"><div>Remember: With your IP address you are recognized on any site. <span style="text-decoration:underline"><strong class="text-strong">Your IP is logged and then it can be used to track it back to your home.</strong></span> Secure your Privacy Now, stop hackers and stay invisible.</div></blockquote>To say that "virtually anyone with Internet access can track you directly to your home" with just your IP address and that "Everybody can see this information" is a patently false set of claims. Granted, a WAN IP address can be correlated to its user (and that user's physical address) at any particular time from the ISP's connection logs. But it's extremely unlikely that anyone without a court order will be provided such information, and especially anyone other than law enforcement personnel. This applies to dynamic as well as static IP addresses.<br><br>This spam from IP-Adress.com appears to prey upon the ignorance of uninformed users/members in order to sell an anonymizer product. For shame!<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=7757">3rdBAR</a> — Wed Dec 01, 2010 2:47 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-05-21T14:26:39-04:00</updated>

		<published>2010-05-21T14:26:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=93142#p93142</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=93142#p93142"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=93142#p93142"><![CDATA[
Nobody?<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Fri May 21, 2010 2:26 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-04-26T06:41:23-04:00</updated>

		<published>2010-04-26T06:41:23-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92918#p92918</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92918#p92918"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92918#p92918"><![CDATA[
@holycrap - Its exactly what ive done. <br>entered in mirc !whereis &lt;ip&gt; and got what i posted before u, checked the ip in the side, after i logged in, and it gave me an output where this ip is located to, means there was an output, but i did not got one while using !whereis &lt;ip&gt; - I also tried my own ip wich is excisting but the same Problem. On the Side i got response and in mirc just <strong class="text-strong">returns no useful information for me to reply with... ;/ </strong><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Mon Apr 26, 2010 6:41 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[holycrap]]></name></author>
		<updated>2010-04-25T01:44:55-04:00</updated>

		<published>2010-04-25T01:44:55-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92909#p92909</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92909#p92909"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92909#p92909"><![CDATA[
@Fraud and @shahrul, there is nothing wrong with this script, it works just fine. This is the site where the info is being pulled from: <a href="http://www.ip-adress.com/ip_tracer/" class="postlink">http://www.ip-adress.com/ip_tracer/</a><br><br>Go there and enter an IP and if it doesn't show anything then it's not gonna show anything when the command is triggered.<br><br>Thanks for the 1.6v update, speechles!<br><br><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=9651">holycrap</a> — Sun Apr 25, 2010 1:44 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-04-21T10:10:30-04:00</updated>

		<published>2010-04-21T10:10:30-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92896#p92896</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92896#p92896"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92896#p92896"><![CDATA[
I dont get it. the bot says i am logged in but when i use !whereis &lt;IP&gt; i get this <blockquote class="uncited"><div>returns no useful information for me to reply with... ;/</div></blockquote>And here is what it says<blockquote class="uncited"><div>-&gt; !wlogin<br>-&gt; Whereis: Login Successful! Account (1/3) (****@****l.com; DailyLimit: 25 witb 25 remaining.)<br>-&gt; !wStatus<br>-&gt; Whereis: Always login; Logged in; Account (1/3) (****@****l.com; DailyLimit: 25 witb 25 remaining.)<br>-&gt; !whereis 188.80.1**.***<br>-&gt; 188.80.1**.*** returns no useful information for me to reply with... ;/</div></blockquote><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Wed Apr 21, 2010 10:10 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-04-18T07:35:52-04:00</updated>

		<published>2010-04-18T07:35:52-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92862#p92862</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92862#p92862"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92862#p92862"><![CDATA[
<blockquote class="uncited"><div>Example : Ländercode<br>Should be: Ländercode </div></blockquote>My apologies I should've included something for this when it was created.<br><a href="http://ereader.kiczek.com/whereis.tcl" class="postlink">Whereis.tcl v1.6</a> should solve that problem and any other entities appearing. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink">[/quote]<br><br>Great. Thanks for this. Works<br>Is there any way to get the output for !wauto (all login data that will be send to the chan) as notice only and just to the owner of the bot?. I think nobody else should know the eMail and the PW<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Sun Apr 18, 2010 7:35 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shahrul]]></name></author>
		<updated>2010-03-17T18:19:06-04:00</updated>

		<published>2010-03-17T18:19:06-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92506#p92506</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92506#p92506"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92506#p92506"><![CDATA[
Hurm.. it's weird ..<br><blockquote class="uncited"><div>&lt;@shahrul&gt; !wlogout<br><br>&lt;@boss&gt; Whereis: Logout Successful! Accout (1/1) <a href="mailto:blah@email.com">blah@email.com</a><br>&lt;@shahrul&gt; !wlogin<br><br>Whereis: Login Successful! Account (1/1) (<a href="mailto:blah@email.com">blah@email.com</a>; Gold Member)<br>&lt;@shahrul&gt; !wprev<br><br>&lt;@boss&gt; Whereis: Previous Account (1/1) <a href="mailto:blah@email.com">blah@email.com</a><br>&lt;@boss&gt; Whereis: Login Successful! Account (1/1) (<a href="mailto:blah@email.com">blah@email.com</a>; Gold Member)<br>&lt;@shahrul&gt; !wnext<br><br>&lt;@boss&gt; Whereis: Next Account (1/1) <a href="mailto:blah@email.com">blah@email.com</a><br>&lt;@boss&gt; Whereis: Login Successful! Account (1/1) (<a href="mailto:blah@email.com">blah@email.com</a>; Gold Member)<br><br>&lt;@shahrul&gt; !whereis 94.125.252.41<br>&lt;@boss&gt; 94.125.252.41 returns no useful information for me to reply with... ;/</div></blockquote>Actually, the bot is connected with efnet server.. and i use !whereis &lt;ip&gt;<br>i'll upload the whereis.html again now.<br><br><a href="http://pastebin.com/EGwp2aDD" class="postlink">http://pastebin.com/EGwp2aDD</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6039">shahrul</a> — Wed Mar 17, 2010 6:19 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-03-17T16:37:38-04:00</updated>

		<published>2010-03-17T16:37:38-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92505#p92505</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92505#p92505"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92505#p92505"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>i have re-download the tcl and still got this error.<br><br>&lt;IP&gt; returns no useful information for me to reply with... ;/<br><br>this is whereis.html provided.<br><br><a href="http://pastebin.com/LDjG8DUX" class="postlink">http://pastebin.com/LDjG8DUX</a></div></blockquote>This happens in a different spot than merely logging in. Try just using !wlogin and !wprev or !wnext to test the accounts login feature. Because the message your showing happens when doing !whereis &lt;nick/ip/host-name&gt; lookups.<div class="codebox"><p>Code: </p><pre><code>   } else {      # we have no output at all, declare      puthelp "privmsg $chan :$text returns no useful information for me to reply with... ;/"      # if we are logged in, this doesn't count against our quota so add back the 1 we took away. ;)      if {$::whereisLogged &gt; 0} { incr ::whereisRemain 1 }   }</code></pre></div>This doesn't have anything at all to do with logging in. It invokes the login procedure automatically, but the part generating that message is not part of logging in. This means either the information you've given cannot be resolved, or somehow the table form generated for you differs from the one I'm seeing (which would be rare as it works for everybody else). What I'm guessing is your doing !whereis Nick-here and having the bot lookup the host itself. The problem that happens is some ircd's cloak users. When this happens if they do not provide a way to reverse dns (resolve or RDNS) this hostname what you get when you !whereis nick-here is what you see now. There is nothing returned within the table template the script looks for and has nothing useful to say about that nick's host. This isn't an error and cannot be fixed. This is a feature of +x mode on some ircd's and is meant to disable RDNS.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Wed Mar 17, 2010 4:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shahrul]]></name></author>
		<updated>2010-03-16T10:54:43-04:00</updated>

		<published>2010-03-16T10:54:43-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92493#p92493</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92493#p92493"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92493#p92493"><![CDATA[
Hi,<br><br>i have re-download the tcl and still got this error.<br><br>&lt;IP&gt; returns no useful information for me to reply with... ;/<br><br>this is whereis.html provided.<br><br><a href="http://pastebin.com/LDjG8DUX" class="postlink">http://pastebin.com/LDjG8DUX</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6039">shahrul</a> — Tue Mar 16, 2010 10:54 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-03-15T18:37:13-04:00</updated>

		<published>2010-03-15T18:37:13-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92486#p92486</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92486#p92486"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92486#p92486"><![CDATA[
<blockquote class="uncited"><div>speechles, where are you?  <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_rolleyes.gif" width="15" height="15" alt=":roll:" title="Rolling Eyes"></div></blockquote>That shouldn't happen with the html response you've provided. <br><blockquote class="uncited"><div>588.                Gold Member&lt;br&gt;</div></blockquote>Here is a play-by-play of what happens (#read the comments)...<div class="codebox"><p>Code: </p><pre><code>... snipped irrelevant parts ...   # get data, to check if we are logged in or not   set html [::http::data $http]   # copy the html to a file here, this may be a stupid ad.   # Need to do this so users can give the html for the   # GOLD MEMBER and other accounts..         set c [open "whereis-tcl.html" w]   puts $c $html   close $c   # bypass the stupid ad trying to get you to become a pay member....   if {[regexp -nocase {"/member/"&gt;} $html]} {     catch {set http [::http::geturl "http://www.ip-adress.com/member/" -headers [list Referer [string map {" " "%20"} $value] Cookie [join $::whereisCookies {;}]] -timeout [expr 1000 * 10]]} error     # error condition 1: invalid http session     if {![string match -nocase "::http::*" $error]} {        putserv "privmsg $chan :\002Whereis\002: Login Failed: [string totitle $error] \( http://www.ip-adress.com/member \)"        set ::whereisLogged 0        return 0     }     # error condition 2: http error     if {![string equal -nocase [::http::status $http] "ok"]} {        putserv "privmsg $chan :\002Whereis\002: Login Failed: [string totitle [::http::status $http]] \( http://www.ip-adress.com/member \)"        set ::whereisLogged 0        return 0     }     # get html     set html [::http::data $http]   }   # cleanup http token   ::http::cleanup $http   # cleanse html of problematic undisplayable characters   regsub -all {(?:\n|\t|\v|\r|\x01)} $html " " html   # check that 'login failed' isn't within the html   if {![string match -nocase "*login failed*" $html]} {      # wasn't found, we must be logged in. ;)     # do we have any quota left?     if {![regexp -nocase {&lt;div class="row2"&gt;.*?&lt;span class="limit.*?&gt;(.*?)&lt;/span.*?&lt;span class="limit.*?&gt;(.*?)&lt;/span.*?&lt;span class="limit.*?&gt;(.*?)&lt;/span&gt;&lt;br&gt;} $html - daily remain extra]} {       # no, are we a gold member account?       if {![regexp -nocase {Gold Member&lt;br&gt;} $html]} {         # no, we should message we are exceeded...         putserv "privmsg $chan :\002Whereis\002: Account quota appears to have been exceeded..."         # then we should logout         set lf [whereisLogout $nick $uhost $hand $chan $text]         # and return 0 to indicate logged out         return 0       } else {         # yes, we are a gold member, set some fake variables         set daily 999 ; set remain 999 ; set extra 0       }     }     # yes, set state as logged in     set ::whereisLogged 1... snip ...</code></pre></div>The part that matters is directly below -v<div class="codebox"><p>Code: </p><pre><code>       # no, are we a gold member account?       if {![regexp -nocase {Gold Member&lt;br&gt;} $html]} {</code></pre></div>Notice the same html you've shown on line 588 will match the regex shown above. This should log you in successfully with an unlimited (999 qualifies as that I hope <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_razz.gif" width="15" height="15" alt=":P" title="Razz">) amount of queries.<br><br><blockquote class="uncited"><div>Very nice Script. Thanks a lot for this.<br><br>I am using this Script in a german channel and i hav problems with displaying äöü. Is it possible to get this in any way solved.<br><br>Example : Ländercode<br>Should be: Ländercode </div></blockquote>My apologies I should've included something for this when it was created.<br><a href="http://ereader.kiczek.com/whereis.tcl" class="postlink">Whereis.tcl v1.6</a> should solve that problem and any other entities appearing. <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_wink.gif" width="15" height="15" alt=";)" title="Wink"><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Mon Mar 15, 2010 6:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[Fraud]]></name></author>
		<updated>2010-03-10T08:34:39-04:00</updated>

		<published>2010-03-10T08:34:39-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92456#p92456</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92456#p92456"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92456#p92456"><![CDATA[
Very nice Script. Thanks a lot for this.<br><br>I am using this Script in a german channel and i hav problems with displaying äöü. Is it possible to get this in any way solved.  <br><br>Example  : Ländercode<br>Should be: Ländercode<br><br>Thanks a lot<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=9931">Fraud</a> — Wed Mar 10, 2010 8:34 am</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shahrul]]></name></author>
		<updated>2010-03-06T12:37:19-04:00</updated>

		<published>2010-03-06T12:37:19-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92408#p92408</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92408#p92408"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92408#p92408"><![CDATA[
speechles, where are you?  <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=6039">shahrul</a> — Sat Mar 06, 2010 12:37 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[shahrul]]></name></author>
		<updated>2010-02-28T22:41:16-04:00</updated>

		<published>2010-02-28T22:41:16-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92309#p92309</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92309#p92309"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92309#p92309"><![CDATA[
Aha, i got this.<br><br>this is what u want <img class="smilies" src="https://forum.eggheads.org/images/smilies/icon_biggrin.gif" width="15" height="15" alt=":D" title="Very Happy"><br><br><a href="http://shahrul.pastebin.com/Jxd774sM" class="postlink">http://shahrul.pastebin.com/Jxd774sM</a><p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=6039">shahrul</a> — Sun Feb 28, 2010 10:41 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[speechles]]></name></author>
		<updated>2010-02-28T22:14:27-04:00</updated>

		<published>2010-02-28T22:14:27-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=92308#p92308</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=92308#p92308"/>
		<title type="html"><![CDATA[Public IP Information Checker [SOLVED]]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=92308#p92308"><![CDATA[
<blockquote class="uncited"><div>Hi,<br><br>i dont see any whereis-tcl.html location.<br><br>i think, i give my login to you and fix it. can u?<br><br>after that i will change the passwd? -_-</div></blockquote>It's easier if you just reget the script from the same url. This contains the new addition to dump the html given at the end of the redirect trail which will then create "whereis-tcl.html". This will give me the page which is blocking your access. After that I can craft an http reply which will basically be clicking a box on that page and going to the member page reserved for gold members. I wont necessarily need your password anymore...<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8138">speechles</a> — Sun Feb 28, 2010 10:14 pm</p><hr />
]]></content>
	</entry>
	</feed>
