Connecting Tech Pros Worldwide Help | Site Map

Determine IP address without using ENV vars

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 20th, 2005, 09:33 AM
S
Guest
 
Posts: n/a
Default Determine IP address without using ENV vars

Hi-

Years ago I used to visit an ENV test page that could display my
IP address using JavaScript alone if I was using an ANON proxy.

I'm trying to find that code to use as part of a 'privacy test'
web page I'm building. If someone could post some sample code
I'd appreciate it.

Since I'm a raw newbee at JS, if anyone has a URL of a page that
already does this it would even be better since I could, sort of,
'study it in the wild.'

Thanks,

S


  #2  
Old July 20th, 2005, 09:33 AM
S
Guest
 
Posts: n/a
Default Re: Determine IP address without using ENV vars

Philip Ronan wrote:
[color=blue]
> On 03.8.7 11:40 PM, S wrote:
>[color=green]
> > Hi-
> >
> > Years ago I used to visit an ENV test page that could display my
> > IP address using JavaScript alone if I was using an ANON proxy.
> >
> > I'm trying to find that code to use as part of a 'privacy test'
> > web page I'm building. If someone could post some sample code
> > I'd appreciate it.
> >
> > Since I'm a raw newbee at JS, if anyone has a URL of a page that
> > already does this it would even be better since I could, sort of,
> > 'study it in the wild.'
> >
> > Thanks,
> >
> > S
> >[/color]
>
> Try this: http://www.gemal.dk/browserspy/
>
> Phil
>[/color]

I looked around there and I went to 'IP Information'
http://www.gemal.dk/browserspy/ip.cgi
and while there was lots of JS on the page, I think that they
were just using ENV vars because they could only see the IP
of my proxy, not mine. When I switched to another proxy, they
bought that one, too.

Thanks,

S











  #3  
Old July 20th, 2005, 09:33 AM
Jim Ley
Guest
 
Posts: n/a
Default Re: Determine IP address without using ENV vars

On Thu, 7 Aug 2003 18:40:20 -0400 (EDT), "S" <sleeping@sunset.net>
wrote:
[color=blue]
>Years ago I used to visit an ENV test page that could display my
>IP address using JavaScript alone if I was using an ANON proxy.[/color]

client side JS has no access to the ip address of the machine, and it
would often be completely useless in any case getting a private IP
range won't help you in the slightest (or say anything about the
number of proxies it went out in between.)

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

  #4  
Old July 20th, 2005, 09:33 AM
S
Guest
 
Posts: n/a
Default Re: Determine IP address without using ENV vars

Jim Ley wrote:
[color=blue]
> On Thu, 7 Aug 2003 18:40:20 -0400 (EDT), "S" <sleeping@sunset.net>
> wrote:
>[color=green]
> >Years ago I used to visit an ENV test page that could display my
> >IP address using JavaScript alone if I was using an ANON proxy.[/color]
>
> client side JS has no access to the ip address of the machine, and it
> would often be completely useless in any case getting a private IP
> range won't help you in the slightest (or say anything about the
> number of proxies it went out in between.)
>
> Jim.
>[/color]

Hi-

I'm not sure I understand. Are you saying that while JS may be used
to put my IP on a web page that I can see -- that it won't be revealed
to the site generating the page?

Thanks,

S

  #5  
Old July 20th, 2005, 09:33 AM
Jim Ley
Guest
 
Posts: n/a
Default Re: Determine IP address without using ENV vars

On Thu, 7 Aug 2003 23:45:32 -0400 (EDT), "S" <sleeping@sunset.net>
wrote:
[color=blue]
>I'm not sure I understand. Are you saying that while JS may be used
>to put my IP on a web page that I can see[/color]

Client-side javascript has no access to the IP address in a default
security environment, the page you saw used server side techniques, or
exploited a security flaw in your browser, or you gave it the higher
permissions.

Jim.
--
comp.lang.javascript FAQ - http://jibbering.com/faq/

  #6  
Old July 20th, 2005, 09:34 AM
S
Guest
 
Posts: n/a
Default Re: Determine IP address without using ENV vars

Jim Ley wrote:
[color=blue]
> On Thu, 7 Aug 2003 23:45:32 -0400 (EDT), "S" <sleeping@sunset.net>
> wrote:
>[color=green]
> >I'm not sure I understand. Are you saying that while JS may be used
> >to put my IP on a web page that I can see[/color]
>
> Client-side javascript has no access to the IP address in a default
> security environment, the page you saw used server side techniques, or
> exploited a security flaw in your browser, or you gave it the higher
> permissions.
>
> Jim.
>[/color]

Wow! Thanks for the input.

S







 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.