The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

NetPositive: Dealing with “spam” URLs

Contributed by: Scot Hacker
This tip is valid for: Both BeOS and Haiku

Some spammers try to conceal themselves by hiding their IP address in a 32-bit unsigned integer representation (a “Dword”) of that address. In other words, you might see a URL that looks something like:


Most browsers on most platforms will convert this integer back into an IP address automatically. But as of version 2.1.1, NetPositive will simply not handle the request.

If for some reason you’re desperate to see what a spammer has to show you, you can convert the Dword back into an IP address at this site. Alternatively, if you have perl installed, try this:

perl -e 'use Socket;$a=inet_ntoa(pack N,3436766298);print "$a "'

substituting the example Dword with the one you’re trying to access.

Posted in Applications

(comments are closed).