Author Topic: http://1089059683 = Google ??  (Read 10897 times)

0 Members and 1 Guest are viewing this topic.

Offline neoformTopic starter

  • Enthusiast
  • Posts: 240
  • Gender: Male
  • PHP Junkie
    • View Profile
    • Newsique.com
http://1089059683 = Google ??
« on: November 02, 2006, 11:12:41 AM »
How is it possible that http://1089059683 takes me to Google.com ? there's no TLD!
Newsique.com Social News Network

Offline ober

  • Pandas pwn j00
  • Staff Alumni
  • Freak!
  • *
  • Posts: 8,312
  • Gender: Male
  • 404? what!?
    • View Profile
    • Windy Hill Productions
Re: http://1089059683 = Google ??
« Reply #1 on: November 02, 2006, 12:01:36 PM »
Is it possible that 1089059683 is the IP without the periods?
PHP 5 - MySQL 5 - Win Vista 64 - Firefox 3, IE 7
Info: PHP Manual

Quote from CV: After nuclear fallout, there'll be zombies everywhere.  You can't be running from them when you're all fat and shit.  They'll just catch you and eat you and take forever to do it and you'll just have to sit there all that much longer.

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #2 on: November 02, 2006, 12:07:40 PM »
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.

Offline .josh

  • Administrator
  • 'Insane!'
  • *
  • Posts: 13,150
  • Grumpy Old Man
    • View Profile
Re: http://1089059683 = Google ??
« Reply #3 on: November 02, 2006, 12:15:58 PM »
just out of curiosity, how did you come about this? entering in a random number and poof, it just so happened to be google?

Did I help you? Feeling generous? Donate to me! | Donate to phpfreaks!

Offline neoformTopic starter

  • Enthusiast
  • Posts: 240
  • Gender: Male
  • PHP Junkie
    • View Profile
    • Newsique.com
Re: http://1089059683 = Google ??
« Reply #4 on: November 02, 2006, 12:23:44 PM »
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.
Newsique.com Social News Network

Offline ober

  • Pandas pwn j00
  • Staff Alumni
  • Freak!
  • *
  • Posts: 8,312
  • Gender: Male
  • 404? what!?
    • View Profile
    • Windy Hill Productions
Re: http://1089059683 = Google ??
« Reply #5 on: November 02, 2006, 12:30:59 PM »
.... that's a very odd thing to be doing.... and how long did that take you?
PHP 5 - MySQL 5 - Win Vista 64 - Firefox 3, IE 7
Info: PHP Manual

Quote from CV: After nuclear fallout, there'll be zombies everywhere.  You can't be running from them when you're all fat and shit.  They'll just catch you and eat you and take forever to do it and you'll just have to sit there all that much longer.

Offline redbullmarky

  • I Like Peas.
  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,110
  • Gender: Male
  • you more...
    • View Profile
Re: http://1089059683 = Google ??
« Reply #6 on: November 02, 2006, 12:34:25 PM »
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: [Select]
<?php
echo long2ip(1089059683);
?>


you get: 64.233.187.99, which also takes you straight to Google.
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

Offline neoformTopic starter

  • Enthusiast
  • Posts: 240
  • Gender: Male
  • PHP Junkie
    • View Profile
    • Newsique.com
Re: http://1089059683 = Google ??
« Reply #7 on: November 02, 2006, 12:35:22 PM »
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: [Select]
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);
    }
}
Newsique.com Social News Network

Offline Daniel0

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: http://1089059683 = Google ??
« Reply #8 on: November 02, 2006, 02:52:47 PM »
http://0x4261ab05/ - oooooh magic :P

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

The magic formula:

on is an octet

Example IP: 64.233.167.99
o1 = 64
o2 = 233
o3 = 167
o4 = 99

Formula:

And surprisingly enough that gives 1089054563.

This is just an IP in DWORD format (a dotless IP).
-----------------------------------

Code: [Select]
<a href='http://phpfreaks.com@0xd8a38903'>PHP Freaks</a>PHP Freaks (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: [Select]
<a href='http://phpfreaks.com@0xd8a38903' onmouseover="window.status='http://phpfreaks.com'; return true" onmouseout="window.status=''">PHP Freaks</a>
Beware where you click (if your browser doesn't warn you about that there is a username in the url).

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #9 on: November 02, 2006, 03:03:50 PM »
Can we quit with the math already? I'm getting chills.. :P

Offline obsidian

  • Managed Insanity
  • Staff Alumni
  • Freak!
  • *
  • Posts: 6,440
  • Gender: Male
  • Talk to me, I won't bite... hard.
    • View Profile
    • Guahan Web
Re: http://1089059683 = Google ??
« Reply #10 on: November 02, 2006, 03:39:24 PM »
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)

Well, it's not Windows, it appears to be IE. None of the above examples will work in FF for me.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

Code: [Select]
<?php
while (count($life->getQuestions()) > 0)
{   
$life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

Offline tomfmason

  • a traveling man
  • Administrator
  • Freak!
  • *
  • Posts: 9,816
  • Gender: Male
    • View Profile
    • tomfmason.net
Re: http://1089059683 = Google ??
« Reply #11 on: November 02, 2006, 03:42:06 PM »
http://0x4261ab05/

I am interested in how you came up with that url.
Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #12 on: November 02, 2006, 04:29:11 PM »
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)

Well, it's not Windows, it appears to be IE. None of the above examples will work in FF for me.


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.
« Last Edit: November 02, 2006, 04:37:29 PM by 448191 »

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #13 on: November 02, 2006, 04:34:14 PM »
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.

Exactly how likely is that? ::) Mathhead!  :P

Offline obsidian

  • Managed Insanity
  • Staff Alumni
  • Freak!
  • *
  • Posts: 6,440
  • Gender: Male
  • Talk to me, I won't bite... hard.
    • View Profile
    • Guahan Web
Re: http://1089059683 = Google ??
« Reply #14 on: November 02, 2006, 04:55:46 PM »
Not true, it should.

It might should, but the fact is, it doesn't. 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.

I've tried it with every link provided in this thread, too.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

Code: [Select]
<?php
while (count($life->getQuestions()) > 0)
{   
$life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

Offline Daniel0

  • Administrator
  • 'Insane!'
  • *
  • Posts: 11,815
  • Gender: Male
  • ^bb|[^b]{2}$
    • View Profile
Re: http://1089059683 = Google ??
« Reply #15 on: November 02, 2006, 04:57:39 PM »
http://0x4261ab05/

I am interested in how you came up with that url.

Convert it to hexadecimal

Edit: It is neither IE or Windows that does it. It works for me on Linux with Firefox:
« Last Edit: November 02, 2006, 05:03:24 PM by Daniel0 »

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #16 on: November 02, 2006, 05:10:18 PM »
It works for me in FF on windows. Hence the reply.

Edit: Guess I'm "pissing in your cheerios" today, as C_V might say. Authenticly unintentional, I just can't aim.. :P
« Last Edit: November 02, 2006, 05:41:07 PM by 448191 »

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #17 on: November 02, 2006, 05:12:03 PM »
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.  :)
« Last Edit: November 02, 2006, 05:31:28 PM by 448191 »

Offline neoformTopic starter

  • Enthusiast
  • Posts: 240
  • Gender: Male
  • PHP Junkie
    • View Profile
    • Newsique.com
Re: http://1089059683 = Google ??
« Reply #18 on: November 02, 2006, 11:10:42 PM »
so..  we're not friends anymore? *sniff* :'(
Newsique.com Social News Network

Offline 448191

  • Staff Alumni
  • Fanatic
  • *
  • Posts: 3,506
  • Gender: Male
    • View Profile
Re: http://1089059683 = Google ??
« Reply #19 on: November 03, 2006, 06:23:50 AM »
so..  we're not friends anymore? *sniff* :'(

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

Offline obsidian

  • Managed Insanity
  • Staff Alumni
  • Freak!
  • *
  • Posts: 6,440
  • Gender: Male
  • Talk to me, I won't bite... hard.
    • View Profile
    • Guahan Web
Re: http://1089059683 = Google ??
« Reply #20 on: November 03, 2006, 08:08:19 AM »
It works for me in FF on windows. Hence the reply.

Edit: Guess I'm "pissing in your cheerios" today, as C_V might say. Authenticly unintentional, I just can't aim.. :P
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.

@obsidian: did you try pinging from cmd?
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.
You can't win, you can't lose, you can't break even... you can't even get out of the game.

Code: [Select]
<?php
while (count($life->getQuestions()) > 0)
{   
$life->study(); } ?>
  LINKS: PHP: Manual MySQL: Manual PostgreSQL: Manual (X)HTML: Validate It! CSS: A List Apart | IE bug fixes | Zen Garden | Validate It! JavaScript: Reference Cards RegEx: Everything RegEx

Offline neoformTopic starter

  • Enthusiast
  • Posts: 240
  • Gender: Male
  • PHP Junkie
    • View Profile
    • Newsique.com
Re: http://1089059683 = Google ??
« Reply #21 on: November 03, 2006, 10:38:30 AM »
yehaw. set up apache to capture it's ip as a hex value..

http://0x52a5b562

hehe, sucks though, apache doesn't like the integer thing.. dunno why.
Newsique.com Social News Network

Offline SharkBait

  • Devotee
  • Posts: 1,074
  • Gender: Male
  • PHP Lover, WordPress Crazy, Photographer
    • View Profile
    • Tyler Ingram dot Com
Re: http://1089059683 = Google ??
« Reply #22 on: November 13, 2006, 10:21:33 AM »
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.