This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Public IP Information Checker [SOLVED]

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

Hi,

i dont see any whereis-tcl.html location.

i think, i give my login to you and fix it. can u?

after that i will change the passwd? -_-
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

shahrul wrote:Hi,

i dont see any whereis-tcl.html location.

i think, i give my login to you and fix it. can u?

after that i will change the passwd? -_-
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...
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

Aha, i got this.

this is what u want :D

http://shahrul.pastebin.com/Jxd774sM
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

speechles, where are you? :roll:
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

Very nice Script. Thanks a lot for this.

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.

Example : Ländercode
Should be: Ländercode

Thanks a lot
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

shahrul wrote:speechles, where are you? :roll:
That shouldn't happen with the html response you've provided.
Shahrul's pastebin wrote:588. Gold Member<br>
Here is a play-by-play of what happens (#read the comments)...

Code: Select all

... 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/">} $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 {<div class="row2">.*?<span class="limit.*?>(.*?)</span.*?<span class="limit.*?>(.*?)</span.*?<span class="limit.*?>(.*?)</span><br>} $html - daily remain extra]} {
       # no, are we a gold member account?
       if {![regexp -nocase {Gold Member<br>} $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 ...
The part that matters is directly below -v

Code: Select all

       # no, are we a gold member account?
       if {![regexp -nocase {Gold Member<br>} $html]} {
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 :P) amount of queries.

Fraud wrote:Very nice Script. Thanks a lot for this.

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.

Example : Ländercode
Should be: Ländercode
My apologies I should've included something for this when it was created.
Whereis.tcl v1.6 should solve that problem and any other entities appearing. ;)
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

Hi,

i have re-download the tcl and still got this error.

<IP> returns no useful information for me to reply with... ;/

this is whereis.html provided.

http://pastebin.com/LDjG8DUX
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

shahrul wrote:Hi,

i have re-download the tcl and still got this error.

<IP> returns no useful information for me to reply with... ;/

this is whereis.html provided.

http://pastebin.com/LDjG8DUX
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 <nick/ip/host-name> lookups.

Code: Select all

   } 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 > 0} { incr ::whereisRemain 1 }
   }
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.
s
shahrul
Voice
Posts: 27
Joined: Sun Mar 06, 2005 8:52 am

Post by shahrul »

Hurm.. it's weird ..
<@shahrul> !wlogout

<@boss> Whereis: Logout Successful! Accout (1/1) blah@email.com
<@shahrul> !wlogin

Whereis: Login Successful! Account (1/1) (blah@email.com; Gold Member)
<@shahrul> !wprev

<@boss> Whereis: Previous Account (1/1) blah@email.com
<@boss> Whereis: Login Successful! Account (1/1) (blah@email.com; Gold Member)
<@shahrul> !wnext

<@boss> Whereis: Next Account (1/1) blah@email.com
<@boss> Whereis: Login Successful! Account (1/1) (blah@email.com; Gold Member)

<@shahrul> !whereis 94.125.252.41
<@boss> 94.125.252.41 returns no useful information for me to reply with... ;/
Actually, the bot is connected with efnet server.. and i use !whereis <ip>
i'll upload the whereis.html again now.

http://pastebin.com/EGwp2aDD
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

Example : Ländercode
Should be: Ländercode
My apologies I should've included something for this when it was created.
Whereis.tcl v1.6 should solve that problem and any other entities appearing. ;)[/quote]

Great. Thanks for this. Works
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
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

I dont get it. the bot says i am logged in but when i use !whereis <IP> i get this
returns no useful information for me to reply with... ;/
And here is what it says
-> !wlogin
-> Whereis: Login Successful! Account (1/3) (****@****l.com; DailyLimit: 25 witb 25 remaining.)
-> !wStatus
-> Whereis: Always login; Logged in; Account (1/3) (****@****l.com; DailyLimit: 25 witb 25 remaining.)
-> !whereis 188.80.1**.***
-> 188.80.1**.*** returns no useful information for me to reply with... ;/
h
holycrap
Op
Posts: 152
Joined: Mon Jan 21, 2008 11:19 pm

Post by holycrap »

@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: http://www.ip-adress.com/ip_tracer/

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.

Thanks for the 1.6v update, speechles!

:D
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

@holycrap - Its exactly what ive done.
entered in mirc !whereis <ip> 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 <ip> - I also tried my own ip wich is excisting but the same Problem. On the Side i got response and in mirc just returns no useful information for me to reply with... ;/
F
Fraud
Op
Posts: 101
Joined: Mon May 19, 2008 7:57 am

Post by Fraud »

Nobody?
3
3rdBAR
Voice
Posts: 15
Joined: Mon May 15, 2006 6:39 am

Too bad that dishonest spam comes with the membership though

Post by 3rdBAR »

It's indeed a handy tool!

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.

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.

They are:
...are you aware that many websites and most hackers use IP addresses to monitor your personal business and that your home address and other personal information about you can be retrieved once your IP address is known?
What does that mean?
If your IP address isn’t hidden, virtually anyone with Internet access can track you directly to your home. Everyone can see this information - including hackers! Your firewall does not hide your IP address - Our award winning software can do this.
Remember: With your IP address you are recognized on any site. Your IP is logged and then it can be used to track it back to your home. Secure your Privacy Now, stop hackers and stay invisible.
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.

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!
Post Reply