473,569 Members | 2,422 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Determine IP address without using ENV vars

S
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

Jul 20 '05 #1
5 8111
S
Philip Ronan wrote:
On 03.8.7 11:40 PM, S wrote:
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


Try this: http://www.gemal.dk/browserspy/

Phil


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



Jul 20 '05 #2
On Thu, 7 Aug 2003 18:40:20 -0400 (EDT), "S" <sl******@sunse t.net>
wrote:
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.


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/

Jul 20 '05 #3
S
Jim Ley wrote:
On Thu, 7 Aug 2003 18:40:20 -0400 (EDT), "S" <sl******@sunse t.net>
wrote:
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.


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.


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

Jul 20 '05 #4
On Thu, 7 Aug 2003 23:45:32 -0400 (EDT), "S" <sl******@sunse t.net>
wrote:
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


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/

Jul 20 '05 #5
S
Jim Ley wrote:
On Thu, 7 Aug 2003 23:45:32 -0400 (EDT), "S" <sl******@sunse t.net>
wrote:
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


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.


Wow! Thanks for the input.

S



Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
8464
by: Dariusz | last post by:
I have constructed a PHP generated HTML layout, which on POSTing the menu option the user selects, calls the same PHP code / page which generates the HTML page and GET's the correct SHTML page into the design (kind of like frames but without the annoyance of frames). Whilst for all other pages I have on my layout the correct page is shown in...
3
8829
by: Zim | last post by:
Greetings, I have an all purpose variable dumper that uses Var_Dump to show me data structures. I have an application wide function that I simply call to dump a structure: vardump($var);
2
1898
by: Christian Decker | last post by:
I wanted to know if is a good idea to create classes that mirror exactly the structure of a database. This might sound a bit fuzzy but I'l explain myself with an example: CREATE TABLE `pl_cities` ( `city_id` int(10) NOT NULL auto_increment, `city_name` varchar(16) NOT NULL default '', `city_coordinates` varchar(10) NOT NULL default '',...
10
2033
by: sherifffruitfly | last post by:
Hi all, This isn't minimal code, but at least it gives the idea reasonably well - and yes, I'm a newb :( The point of me giving this code is that all three vars look to my eye as though they're being treated in exactly the same way, so that I end up confused about why the address-of-char doesn't get returned the way the other...
14
1818
by: Vu Pham | last post by:
In order to mark the current address at a given point of the variable block, I use the char dummy as follows : int a; long b; short int c; char dummy; By this way, I can calculate the size of the memory block that contains all the vars : size = dummy - ( char *) & a;
31
3686
by: bilbothebagginsbab5 AT freenet DOT de | last post by:
Hello, hello. So. I've read what I could find on google(groups) for this, also the faq of comp.lang.c. But still I do not understand why there is not standard method to "(...) query the malloc package to find out how big an allocated block is". ( Question 7.27) Is there somwhere explained why - because it would seem to me, that free()
21
3560
by: Joakim Hove | last post by:
Hello, I have implemented a small library with a function a datatype to manage temporary storage, and handle out correctly casted storage. The function to get a double pointer is for instance: double * work_get_double(work_type *work, size_t size) {} Now, if the work area is not sufficiently large, the function fails,
3
2091
by: Jason | last post by:
I'm writing a simple EXE in VB.NET to be run on our intranet (Win2K network, XP machines). When it's done running I want to notify the user via email. I've got the email working...how do I ascertain the user's default email address without user interaction? There is only one user per machine, and we are all using Outlook or Outlook Express. ...
6
3397
by: BA | last post by:
Hi Everyone, I have an application that sits behind a server farm, the application needs to pass its NLB IP address in the message that it sends to another service. From C# code, how can I determine the IP address of the network load balanced machine that the message is generated from? So, in essence, I have server1, server2 and server3...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8132
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7678
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6286
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3656
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
944
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.