egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Public IP Information Checker [SOLVED]
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
shahrul
Voice


Joined: 06 Mar 2005
Posts: 27

PostPosted: Sun Feb 28, 2010 8:27 pm    Post subject: Reply with quote

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? -_-
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sun Feb 28, 2010 10:14 pm    Post subject: Reply with quote

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...
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
shahrul
Voice


Joined: 06 Mar 2005
Posts: 27

PostPosted: Sun Feb 28, 2010 10:41 pm    Post subject: Reply with quote

Aha, i got this.

this is what u want Very Happy

http://shahrul.pastebin.com/Jxd774sM
Back to top
View user's profile Send private message
shahrul
Voice


Joined: 06 Mar 2005
Posts: 27

PostPosted: Sat Mar 06, 2010 12:37 pm    Post subject: Reply with quote

speechles, where are you? Rolling Eyes
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Wed Mar 10, 2010 8:34 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon Mar 15, 2010 6:37 pm    Post subject: Reply with quote

shahrul wrote:
speechles, where are you? Rolling Eyes

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:
... 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:
       # 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 Razz) 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&auml;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. Wink
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
shahrul
Voice


Joined: 06 Mar 2005
Posts: 27

PostPosted: Tue Mar 16, 2010 10:54 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Wed Mar 17, 2010 4:37 pm    Post subject: Reply with quote

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:
   } 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.
_________________
speechles' eggdrop tcl archive
Back to top
View user's profile Send private message
shahrul
Voice


Joined: 06 Mar 2005
Posts: 27

PostPosted: Wed Mar 17, 2010 6:19 pm    Post subject: Reply with quote

Hurm.. it's weird ..

Quote:
<@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
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Sun Apr 18, 2010 7:35 am    Post subject: Reply with quote

Quote:
Example : L&auml;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. Wink[/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
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Wed Apr 21, 2010 10:10 am    Post subject: Reply with quote

I dont get it. the bot says i am logged in but when i use !whereis <IP> i get this
Quote:
returns no useful information for me to reply with... ;/


And here is what it says
Quote:
-> !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... ;/
Back to top
View user's profile Send private message
holycrap
Op


Joined: 21 Jan 2008
Posts: 152

PostPosted: Sun Apr 25, 2010 1:44 am    Post subject: Reply with quote

@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!

Very Happy
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Mon Apr 26, 2010 6:41 am    Post subject: Reply with quote

@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... ;/
Back to top
View user's profile Send private message
Fraud
Op


Joined: 19 May 2008
Posts: 101

PostPosted: Fri May 21, 2010 2:26 pm    Post subject: Reply with quote

Nobody?
Back to top
View user's profile Send private message
3rdBAR
Voice


Joined: 15 May 2006
Posts: 15

PostPosted: Wed Dec 01, 2010 2:47 pm    Post subject: Too bad that dishonest spam comes with the membership though Reply with quote

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:
Quote:
...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?

Quote:
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.

Quote:
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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 4 of 5

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber