Determine IP address without using ENV vars

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • S

    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

  • S

    #2
    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'

    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











    Comment

    • Jim Ley

      #3
      Re: Determine IP address without using ENV vars

      On Thu, 7 Aug 2003 18:40:20 -0400 (EDT), "S" <sleeping@sunse t.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.javas cript FAQ - http://jibbering.com/faq/

      Comment

      • S

        #4
        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@sunse t.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

        Comment

        • Jim Ley

          #5
          Re: Determine IP address without using ENV vars

          On Thu, 7 Aug 2003 23:45:32 -0400 (EDT), "S" <sleeping@sunse t.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.javas cript FAQ - http://jibbering.com/faq/

          Comment

          • S

            #6
            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@sunse t.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







            Comment

            Working...