tag:blogger.com,1999:blog-13756280.post4271511268700895754..comments2024-02-08T03:44:23.780-08:00Comments on Jeremiah Grossman: Goodbye Applet, Hello NAT'ed IP AddressJeremiah Grossmanhttp://www.blogger.com/profile/05017778127841311186noreply@blogger.comBlogger17125tag:blogger.com,1999:blog-13756280.post-50304904467677285682007-10-02T15:32:00.000-07:002007-10-02T15:32:00.000-07:00This won't work if java is disabled.This won't work if java is disabled.Charleshttps://www.blogger.com/profile/00677769325841091545noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-18847095145331298442007-06-01T16:08:00.000-07:002007-06-01T16:08:00.000-07:00Doesn't seem to work on 2.0.0.4 with JRE-Version ...Doesn't seem to work on 2.0.0.4 with JRE-Version 1.6.0_01 installed.<BR/>Maybe it's because of the new Firefox or of the new JRE update or both.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13756280.post-42313262683785816872007-03-20T09:18:00.000-07:002007-03-20T09:18:00.000-07:00I've had mixed results with all sorts of methods a...I've had mixed results with all sorts of methods across the platforms. Nature of web development I guess. But if you got something working, and somewhat reliably, by all means use it! :)Jeremiah Grossmanhttps://www.blogger.com/profile/05017778127841311186noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-90648795655202065142007-03-19T13:14:00.000-07:002007-03-19T13:14:00.000-07:00Why does it take more effort? That method appears...Why does it take more effort? That method appears to work just fine for me right now on my Mac running FF 2.0.2 without doing all the socket setup. Is there some advantage to making the actual socket call that I don't get? Some reason why it doesn't work on some platforms?Jordanhttps://www.blogger.com/profile/08341608982649448622noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-26870860094773475822007-03-19T08:11:00.000-07:002007-03-19T08:11:00.000-07:00Actually thats the old method that used to work ba...Actually thats the old method that used to work back in the day. Now it requires a bit more effort.Jeremiah Grossmanhttps://www.blogger.com/profile/05017778127841311186noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-73016479205307232362007-03-18T23:23:00.000-07:002007-03-18T23:23:00.000-07:00Actually, now that I look at it, isn't:alert(java....Actually, now that I look at it, isn't:<BR/><BR/>alert(java.net.InetAddress.getLocalHost())<BR/><BR/>Enough all by itself? Just to make sure it wasn't because the socket code had already loaded I restarted my browser. But it looks like that's all you need to do to get the internal IP, right? I probably shouldn't be trying to do this at 2am, I'll likely regret it. ;-)Jordanhttps://www.blogger.com/profile/08341608982649448622noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-79013529372582938492007-03-18T22:16:00.000-07:002007-03-18T22:16:00.000-07:00Jungsonn, Jeremiah, I think I found somebody else ...Jungsonn, Jeremiah, I think I found somebody else who independently beat you both to it. Apparently this is a popular technique. ;-)<BR/><BR/>Here's a bugtraq post from 2003 talking about it!<BR/><BR/><A HREF="http://www.derkeiler.com/Mailing-Lists/NT-Bugtraq/2003-04/0003.html" REL="nofollow">http://www.derkeiler.com/Mailing-Lists/NT-Bugtraq/2003-04/0003.html</A>Jordanhttps://www.blogger.com/profile/08341608982649448622noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-71587076661656116642007-02-02T09:59:00.000-08:002007-02-02T09:59:00.000-08:00thorin, thanks for the typo (fixed) and the link!thorin, thanks for the typo (fixed) and the link!Jeremiah Grossmanhttps://www.blogger.com/profile/05017778127841311186noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-80164431392379164862007-02-02T09:53:00.000-08:002007-02-02T09:53:00.000-08:00Jungsonn, the short answer is yep, absolutely ther...Jungsonn, the short answer is yep, absolutely there should be. In the meantime, check this out.<br /><br />http://attacklabs.com/Jeremiah Grossmanhttps://www.blogger.com/profile/05017778127841311186noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-87868898279462022972007-02-02T08:05:00.000-08:002007-02-02T08:05:00.000-08:00TinyURL for the link in my previous post this didn...TinyURL for the link in my previous post this didn't wrap properly (at least not in FF).<br /><br />http://tinyurl.com/2e9y7fRick (kingthorin)https://www.blogger.com/profile/09948691148221114568noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-48227885309430122332007-02-02T08:02:00.000-08:002007-02-02T08:02:00.000-08:001) Little typo in the red text on your latest arti...1) Little typo in the red text on your latest article "Please met know if anyone knows a way to invoke Java classes from JavaScript in Internet Explorer."<br /><br />This kind of thing happens to me all the time, when your fingers get ahead of your brain. "let me" becomes "met" ;)<br /><br />2) As requested this page has a solution for IE (though it requires ActiveX and JavaScript).<br />Check this page:<br />http://www.devarticles.com/c/a/JavaScript/Advanced-JavaScript-with-Internet-Explorer-Retrieving-Networking-Configuration-Information/Rick (kingthorin)https://www.blogger.com/profile/09948691148221114568noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-11503650110812927952007-02-02T06:00:00.000-08:002007-02-02T06:00:00.000-08:00Hi Jeremiah, I've been talking with a few people, ...Hi Jeremiah, I've been talking with a few people, isn't it a good idea to build a sort of repository or Wiki with such snippets for reference? I heard RSnake had some plans for such a thing, but nothing really real yet. Anyway, one would never miss such things. and it would be easier to go to such site instead of scavaging blogs for examples.<br /><br />Still, it's a very good find if you did not know about it. :)<br /><br />-JungsonnAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-13756280.post-10789182836539985382007-02-01T12:55:00.000-08:002007-02-01T12:55:00.000-08:00It works woth my Opera 9.10It works woth my Opera 9.10Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13756280.post-58032885480189952122007-02-01T02:21:00.000-08:002007-02-01T02:21:00.000-08:00this feature has been part of AttackAPI since I st...this feature has been part of AttackAPI since I started it. There is also an Atom that does the same thing. Check it out:<br /><br />http://www.gnucitizen.org/projects/atom#comment-2571Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-13756280.post-48030987881484309992007-01-31T16:20:00.000-08:002007-01-31T16:20:00.000-08:00nice.
The only limitation is that the host is res...nice.<br /><br />The only limitation is that the host is restricted by the same origin policy otherwise this could have caused havocAnurag Agarwalhttps://www.blogger.com/profile/00132226679618654350noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-62019060529448059872007-01-31T14:22:00.000-08:002007-01-31T14:22:00.000-08:00Wow, approach looks almost identical. Wished you m...Wow, approach looks almost identical. Wished you made it available sooner. :)<br /><br />This work in IE at all?Jeremiah Grossmanhttps://www.blogger.com/profile/05017778127841311186noreply@blogger.comtag:blogger.com,1999:blog-13756280.post-85176154021109667302007-01-31T14:20:00.000-08:002007-01-31T14:20:00.000-08:00Hi Jeremiah, I've got a script which does the same...Hi Jeremiah, I've got a script which does the same, and looks the same. Actually I used it in my Tor detection script. Is it the same thing you talk about?<br /><br />function IP()<br />{<br />try {<br />/* modified snippet from http://www.gnucitizen.org */<br />var sock = new java.net.Socket();<br />sock.bind(new java.net.InetSocketAddress('0.0.0.0', 0));<br />sock.connect(new java.net.InetSocketAddress(document.domain, (!document.location.port)?80:document.location.port));<br />hostname = sock.getLocalAddress().getHostName();<br />address = sock.getLocalAddress().getHostAddress();<br />return address;<br />} catch(e) { address = "0.0.0.0"; }<br />}<br /><br /><br />-JungsonnAnonymousnoreply@blogger.com