neoform Posted November 2, 2006 Share Posted November 2, 2006 How is it possible that http://1089059683 takes me to Google.com ? there's no TLD! Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/ Share on other sites More sharing options...
ober Posted November 2, 2006 Share Posted November 2, 2006 Is it possible that 1089059683 is the IP without the periods? Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118514 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 Yes it's odd. I'm able to ping it from the command line too, so it's not passing through google. Only thing I can think of: it's registered with the root name servers (like the TLD's).It resolves to this IP: 64.233.187.99Which is indeed a google IP:[quote]OrgName: Google Inc. OrgID: GOGLAddress: 1600 Amphitheatre ParkwayCity: Mountain ViewStateProv: CAPostalCode: 94043Country: USNetRange: 64.233.160.0 - 64.233.191.255 CIDR: 64.233.160.0/19 NetName: GOOGLENetHandle: NET-64-233-160-0-1Parent: NET-64-0-0-0-0NetType: Direct AllocationNameServer: NS1.GOOGLE.COMNameServer: NS2.GOOGLE.COMComment: RegDate: 2003-08-18Updated: 2004-03-05RTechHandle: ZG39-ARINRTechName: Google Inc. RTechPhone: +1-650-318-0200RTechEmail: arin-contact@google.com OrgTechHandle: ZG39-ARINOrgTechName: Google Inc. OrgTechPhone: +1-650-318-0200OrgTechEmail: arin-contact@google.com# ARIN WHOIS database, last updated 2006-11-01 19:10# Enter ? for additional hints on searching ARIN's WHOIS database.[/quote] Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118522 Share on other sites More sharing options...
.josh Posted November 2, 2006 Share Posted November 2, 2006 just out of curiosity, how did you come about this? entering in a random number and poof, it just so happened to be google? Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118535 Share on other sites More sharing options...
neoform Posted November 2, 2006 Author Share Posted November 2, 2006 I was just sitting in my parents basement typing http://1 .. http://2 .. http://3 ... http://4 .. until i got to http://1089059683 and poof, there was google! go figure. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118543 Share on other sites More sharing options...
ober Posted November 2, 2006 Share Posted November 2, 2006 .... that's a very odd thing to be doing.... and how long did that take you? Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118546 Share on other sites More sharing options...
redbullmarky Posted November 2, 2006 Share Posted November 2, 2006 i can't remember the details, but i remember seeing somewhere that typing a 'long' IP in the address bar will resolve just like a domain name/IP would.if you do this:[code]<?phpecho long2ip(1089059683);?>[/code]you get: 64.233.187.99, which also takes you straight to Google. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118549 Share on other sites More sharing options...
neoform Posted November 2, 2006 Author Share Posted November 2, 2006 I just figured it out.window's TCP/IP stack does a special conversion on integers.. that's actually Google's IP address 64.233.160.0 converted to an INT(10)Here's the PHP code for encoding/decoding an IP address so you can test it yourself.. you can access any website that way..PHPfreaks.com = http://1113697029 (doesn't work though, apache no likey that url, heh)[code] function ip_encode($ip) { if ($ip == '') return 0; else { $ips = split ("\.", $ip); return ($ips[3] + $ips[2] * 256 + $ips[1] * 256 * 256 + $ips[0] * 256 * 256 * 256); } } function ip_decode($int) { if ($int == '') return 0; else { $w = (int)(($int / 16777216) - 256 * floor(($int / 16777216) / 256)); $x = (int)(($int / 65536) - 256 * floor(($int / 65536) / 256)); $y = (int)(($int / 256) - 256 * floor(($int / 256) / 256)); $z = (int)(($int) - 256 * floor(($int) / 256)); return ($w.'.'.$x.'.'.$y.'.'.$z); } }[/code] Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118552 Share on other sites More sharing options...
Daniel0 Posted November 2, 2006 Share Posted November 2, 2006 http://0x4261ab05/ - oooooh magic :PMore magic:http://0x40E9A763 = http://1089054563 = http://64.233.167.99 = http://google.comThe magic formula:[img]http://img233.imageshack.us/img233/4563/testoa7.png[/img]o[sub]n[/sub] is an octetExample IP: 64.233.167.99o[sub]1[/sub] = 64o[sub]2[/sub] = 233o[sub]3[/sub] = 167o[sub]4[/sub] = 99Formula:[img]http://img54.imageshack.us/img54/3415/test2tv1.png[/img]And surprisingly enough that gives 1089054563.This is just an IP in DWORD format (a dotless IP).-----------------------------------[code]<a href='http://phpfreaks.com@0xd8a38903'>PHP Freaks</a>[/code][url=http://phpfreaks.com@0xd8a38903]PHP Freaks[/url] (click at your own risk)An unaware user could click the link and get to another site than they thought (URL obfuscation). It could be improved with a little JavaScript:[code]<a href='http://phpfreaks.com@0xd8a38903' onmouseover="window.status='http://phpfreaks.com'; return true" onmouseout="window.status=''">PHP Freaks</a>[/code]Beware where you click (if your browser doesn't warn you about that there is a username in the url). Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118643 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 Can we quit with the math already? I'm getting chills.. :P Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118648 Share on other sites More sharing options...
obsidian Posted November 2, 2006 Share Posted November 2, 2006 [quote author=neoform link=topic=113614.msg461828#msg461828 date=1162488922]window's TCP/IP stack does a special conversion on integers.. that's actually Google's IP address 64.233.160.0 converted to an INT(10)[/quote]Well, it's not Windows, it appears to be IE. None of the above examples will work in FF for me. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118663 Share on other sites More sharing options...
tomfmason Posted November 2, 2006 Share Posted November 2, 2006 [quote author=Daniel0 link=topic=113614.msg461922#msg461922 date=1162497167]http://0x4261ab05/ [/quote]I am interested in how you came up with that url. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118666 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 [quote author=obsidian link=topic=113614.msg461942#msg461942 date=1162499964][quote author=neoform link=topic=113614.msg461828#msg461828 date=1162488922]window's TCP/IP stack does a special conversion on integers.. that's actually Google's IP address 64.233.160.0 converted to an INT(10)[/quote]Well, it's not Windows, it appears to be IE. None of the above examples will work in FF for me.[/quote]Not true, it should.Also try "ping 0x40E9A763" from the command line.The're all just numbers mathematical (hexademal, octal) equal to an IP. Don't ask me for an in depth explanation though, I suck at math. Ask Daniel, he seems to be a mathhead. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118693 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 [quote author=neoform link=topic=113614.msg461819#msg461819 date=1162488224]I was just sitting in my parents basement typing http://1 .. http://2 .. http://3 ... http://4 .. until i got to http://1089059683 and poof, there was google! go figure.[/quote]Exactly how likely is that? ::) Mathhead! :P Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118700 Share on other sites More sharing options...
obsidian Posted November 2, 2006 Share Posted November 2, 2006 [quote author=448191 link=topic=113614.msg461973#msg461973 date=1162502951]Not true, it should.[/quote]It might [b]should[/b], but the fact is, it [b]doesn't[/b]. I've tried multiple times, and I'm getting the good ol' "Unable to connect" error:[quote]Firefox can't establish a connection to the server at 0x4261ab05.[/quote]I've tried it with every link provided in this thread, too. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118721 Share on other sites More sharing options...
Daniel0 Posted November 2, 2006 Share Posted November 2, 2006 [quote author=tomfmason link=topic=113614.msg461945#msg461945 date=1162500126][quote author=Daniel0 link=topic=113614.msg461922#msg461922 date=1162497167]http://0x4261ab05/ [/quote]I am interested in how you came up with that url. [/quote]Convert it to hexadecimalEdit: It is neither IE or Windows that does it. It works for me on Linux with Firefox:[URL=http://img225.imageshack.us/my.php?image=phpfreaksay4.png][IMG]http://img225.imageshack.us/img225/9166/phpfreaksay4.th.png[/img][/URL] Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118722 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 It works for me in FF on windows. Hence the reply.[b]Edit: [/b]Guess I'm "pissing in your cheerios" today, as C_V might say. Authenticly unintentional, I just can't aim.. :P Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118731 Share on other sites More sharing options...
448191 Posted November 2, 2006 Share Posted November 2, 2006 Don't you just love wikipedia? :-*Explains it all: http://en.wikipedia.org/wiki/IPv4#Addressing@obsidian: did you try pinging from cmd?@neoform: thanks for bringing alternate IP notations to our attention, although I can not really appreciate the manner in which you did it. No hard feelings though. :) Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118733 Share on other sites More sharing options...
neoform Posted November 3, 2006 Author Share Posted November 3, 2006 so.. we're not friends anymore? *sniff* :'( Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118933 Share on other sites More sharing options...
448191 Posted November 3, 2006 Share Posted November 3, 2006 [quote author=neoform link=topic=113614.msg462216#msg462216 date=1162527042]so.. we're not friends anymore? *sniff* :'([/quote]Stop crying you baby. I'll still take you to the park sometimes, so you can feed the little duckies. ::)I bet you were LYAO, weren't you? You sadistic bastard, you.. ;D Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-119063 Share on other sites More sharing options...
obsidian Posted November 3, 2006 Share Posted November 3, 2006 [quote author=448191 link=topic=113614.msg462011#msg462011 date=1162505418]It works for me in FF on windows. Hence the reply.[b]Edit: [/b]Guess I'm "pissing in your cheerios" today, as C_V might say. Authenticly unintentional, I just can't aim.. :P [/quote]lol... no, I think I was just being a bit blunt with my remarks yesterday. I was quite busy with work, and I was hitting the forums in between very hectic phone calls. Sorry for any abruptness my replies may have come across with.[quote author=448191 link=topic=113614.msg462013#msg462013 date=1162505523]@obsidian: did you try pinging from cmd?[/quote]Yes, I did. It looks like it has to do with our proxy somehow. I ran into a problem with it not recognizing a telnet connection yesterday, too. I'll try this again from home to see if I can figure out exactly where the difficulty lies. Very interesting, though. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-119094 Share on other sites More sharing options...
neoform Posted November 3, 2006 Author Share Posted November 3, 2006 yehaw. set up apache to capture it's ip as a hex value..http://0x52a5b562hehe, sucks though, apache doesn't like the integer thing.. dunno why. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-119140 Share on other sites More sharing options...
SharkBait Posted November 13, 2006 Share Posted November 13, 2006 I use this to figure out where in the world people are by their IP address.The formula that Daniel0 is the one I believe I use along witht he IP2Country Database :)It allows me to show differenet product depending on where in the world you are from. It's not 100% but its good enough for my purposes. Quote Link to comment https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-123936 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.