Always something new...
May. 21st, 2006 01:51 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Fascinating. Today's phishing spam attempt is better-crafted than most -- it looks quite real. (Although the webpage doesn't work properly in Firefox -- oops.) But the URL is the really entertaining part: it's "http://1045255696/.%20/". I assume that's a numeric version of an IP address (haven't done the calculation offhand, but the integer length looks plausible), and rather to my surprise it works. Didn't know you could do that. Presumably it's designed to get around spam filters that detect hardcoded IP addresses in URLs...
Yup, that's right
Date: 2006-05-22 02:56 pm (UTC)I don't know why, but, yes, the string syntax for IP numbers includes writing out the 32-bit integer. It's handled by
inet_aton()
, which means pretty much every app that does the Right Thing with numeric addresses supports it. (There are apps out there that try to do a sanity check on address-or-hostname strings, but it's always better to pass it toinet_aton()
first and then togethostbyname()
.)