[Full-disclosure] JavaScript get Internal Address (thanks to DanBUK)
Martin Dipo Zimmermann
mdz at prohest.com
Sat Aug 12 12:48:20 BST 2006
It appears that your scripts only result is 192.168.1.3 (tested on 5
sites). Dont think its quite ready to fly yet. But very interesting idea.
BR
Martin
pdp (architect) skrev:
> http://www.gnucitizen.org/projects/javascript-address-info
> http://f-box.org/~dan/jstest.html
>
> The following technique was brought to me by DanBUK
> (http://f-box.org/~dan/). Dan managed to find the internal IP address
> of the visiting client by establishing a socket between local host and
> the remote web server. Upon success the socket populates its structure
> with all kinds of useful information among some of which are the
> internal IP address and the hostname.
>
> http://www.gnucitizen.org/projects/javascript-address-info/addressinfo.js
>
> This technique requires Java, however I think that It should be
> possible to achieve similar result by invoking special ActionScript
> methods from Flash.
>
> POC can be found on the url above.
>
Full-Disclosure is hosted and sponsored by Secunia.