Jump to content

Recommended Posts

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.99

Which is indeed a google IP:

[quote]OrgName:    Google Inc.
OrgID:      GOGL
Address:    1600 Amphitheatre Parkway
City:      Mountain View
StateProv:  CA
PostalCode: 94043
Country:    US

NetRange:  64.233.160.0 - 64.233.191.255
CIDR:      64.233.160.0/19
NetName:    GOOGLE
NetHandle:  NET-64-233-160-0-1
Parent:    NET-64-0-0-0-0
NetType:    Direct Allocation
NameServer: NS1.GOOGLE.COM
NameServer: NS2.GOOGLE.COM
Comment:   
RegDate:    2003-08-18
Updated:    2004-03-05

RTechHandle: ZG39-ARIN
RTechName:  Google Inc.
RTechPhone:  +1-650-318-0200
RTechEmail:  arin-contact@google.com

OrgTechHandle: ZG39-ARIN
OrgTechName:  Google Inc.
OrgTechPhone:  +1-650-318-0200
OrgTechEmail:  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]
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118522
Share on other sites

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]
<?php
echo long2ip(1089059683);
?>
[/code]

you get: 64.233.187.99, which also takes you straight to Google.
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118549
Share on other sites

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]
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118552
Share on other sites

http://0x4261ab05/ - oooooh magic :P

More magic:
http://0x40E9A763 = http://1089054563 = http://64.233.167.99 = http://google.com

The magic formula:
[img]http://img233.imageshack.us/img233/4563/testoa7.png[/img]
o[sub]n[/sub] is an octet

Example IP: 64.233.167.99
o[sub]1[/sub] = 64
o[sub]2[/sub] = 233
o[sub]3[/sub] = 167
o[sub]4[/sub] = 99

Formula:
[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).
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118643
Share on other sites

[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.
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118663
Share on other sites

[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.
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118693
Share on other sites

[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
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118700
Share on other sites

[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.
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118721
Share on other sites

[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 hexadecimal

Edit: 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]
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118722
Share on other sites

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.  :)
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-118733
Share on other sites

[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
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-119063
Share on other sites

[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.
Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-119094
Share on other sites

  • 2 weeks later...
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.

Link to comment
https://forums.phpfreaks.com/topic/25944-http1089059683-google/#findComment-123936
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.