85

I came across this URL (NSFW) and need to convert this to puny code.

enter image description here

As an experiment, I'll paste this URL here, but not sure if this will save.

http://🐒🍵🍱🍋🎩🍣🍕🍊.🍕💩.ws/ (NSFW)

How can I convert this URL to a standard DNS name so I can whois the IP space?

migrated from security.stackexchange.com Oct 5 '16 at 16:10

This question came from our site for information security professionals.

  • 92
    Susan sounds like a nice girl though. – Sombrero Chicken Oct 5 '16 at 12:03
  • 5
    This is the Short URL :- http://xn--ki8hb4a5cudxa08a01a.xn--vi8hiv.ws/ and this is the long URL :- http://trk.egtcashtrk.com/aff_c?offer_id=48&aff_id=4348&aff_sub=akash (The message you got was spam, because this links to a dating site.) – Don't Root here plz... Oct 5 '16 at 14:40
  • 8
    The link in the question currently redirects to an NSFW page without warning. – murgatroid99 Oct 5 '16 at 22:09
  • 6
    @Don'tRoothereplz... I think it was pretty obvious the message was spam, even without following the link, don't you? – user20574 Oct 6 '16 at 6:09
  • 30
    In an ironic twist, your SU question has probably driven more traffic to this "dating" site than the spammers could have hoped for. Or maybe you were in on the whole thing... – nispio Oct 6 '16 at 19:52
82

In this case, the domain is "🍕💩.ws" (xn--vi8hiv.ws). This is a free link "shortener" that can turn any link into emojis. It's free and available at http://linkmoji.parseapp.com

In this case, the translation punycode as Steffen mentioned won't help you, because you just get the domain/ips of this free service.

You need to check the redirects using e.g. curl or your browser's developer tools.

In Chrome's developer tools, it could look like this: Chrome developer tools network panel after opening the URL

  • 45
    I'm absolutely blown away and horrified that such a service exists. When I read the title of this question I thought "Surely this is some xkcd-style humor" but no... it's a real thing. Next thing you know people are going to figure out how to encode their social media accounts into selfies or some other bizarre internet hack. – thanby Oct 5 '16 at 18:51
  • 3
    @thanby already done, google.co.uk/… – Tim Oct 5 '16 at 22:41
  • 2
    @thanby and also fb messenger does it with your profile picture: imgur.com/a/iJeLE – Tim Oct 5 '16 at 22:47
  • 17
    @thanby the essence of xkcd-style humor (and the internet in general) is that someone is bound to make it reality (if it isn't already) – Amani Kilumanga Oct 6 '16 at 0:31
  • 1
    @thanby At the risk of further derailing this post: Mastercard is looking to roll out "pay-by-selfie" by the end of the year. Let's face it, we're growing old. – Lilienthal Oct 10 '16 at 10:40
30

This is a two-step process, which involved a bit of trial and error in finding the right URL un-shorteners.

First of all, I tried a bunch of URL-unshorteners on the emoji-URL, until I found one that worked.

Unshorten.me turned

http://🐒🍵🍱🍋🎩🍣🍕🍊.🍕💩.ws/

into

http://linkmoji.parseapp.com/xn--ki8hb4a5cudxa08a01a

Unfortunately, I wasn't able to feed that back to itself; it looped back to that same URL.


But Unshorten.it, which choked on the emoji, could handle this URL perfectly well and told me it pointed to

http://getlaid-xxxhoookupnow.com

The description it found for that site contains some words that are NSFW, so I won't repeat it here, but it's obviously spam to say the least, and possibly dodgy in other ways as well.

  • 1
    Are you sure Unshorten.It! works? On trying, It just gave me a long Please Wait. – Don't Root here plz... Oct 5 '16 at 17:24
  • 4
    Works for me, but on the second URL, the one returned by the first step. – SQB Oct 5 '16 at 17:37
  • 18
    I don't think you need the description to tell what kind of site http://getlaid-xxxhoookupnow.com is. – Nic Hartley Oct 6 '16 at 17:01
  • 6
    @QPaysTaxes Looks like it might have something to do with finding a place to put your RV(?) hookups? – Michael Oct 7 '16 at 2:14
14

You need to convert it to punycode which is the ASCII representation of the name. This can be done for example online at punycoder.com and many programming languages have the necessary libraries if you want to convert it inside a program.

12

This is amazing! I had no idea you can use emojis in a URL, even though I'm a web developer! The other answer are great, but I found Unfurlr to work well. It allows you to see where something goes, without setting cookies in your browser, and without exposing you to a virus or drive-by-download as you would if you view it in your browser. It also shows you headers and scripts and contents if you need to safely inspect it more closely.

http://unfurlr.com/

unfurlr

3

Just past the URL in the address bar of Firefox browser, it will show you the ASCII form automatically:

enter image description here

I'd expect other modern browsers to have similar behaviour, but I didn't actually test those.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.