Post

HN
Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

When my wife said to me “Let me show you a t-shirt I saw…”, I wasn’t sure what to expect, but it definitely wasn’t an obfuscated bash script printed on the back designed to print a happy Easter egg message.

I’m not in the habit of clickbaity headlines I’ve no idea at all how many views this site gets, but I’m willing to bet it’s not even double-digit humans per month. but I can see why subeditors have such fun with them. The title above is, strictly speaking, entirely accurate, but probably not what you think. The obfuscated code in question is actually an easter egg, it’s being supplied via Uniqlo stores on an excellent t-shirt designed by Akamai in support of their Peace for All campaign .

And it’s very cool! The front has a heart in curly braces:

While the back has a big alphanumeric block:

My wife was right that I’d want to see it. Was that… a shebang?

Yes, a shebang! On a t-shirt sold in a high street store, no less. And it is clearly a base64 encoded Here string being fed to eval via base64 --decode .