Back

Decoding the obfuscated bash script on a Uniqlo t-shirt

70 points2 hourstris.sherliker.net
world2vec28 minutes ago

Oh wow I saw that tshirt at the store and said to my girlfriend "no way that script is functional, probably just for show". I should have persevered.

DrewADesign29 minutes ago

> I guess Uniqlo is run through Windows though: one thing that struck me was the font, which I’m almost certain is Consolas,

Surely this would use whatever font the virtual terminal profile was set to? I don’t know of any method to choose a virtual terminal font from bash and don’t see any code that addresses it?

nisiddharth27 minutes ago

They're referring to the font on the T-shirt.

haileys36 minutes ago

I thought it was funny that the author used a variety of OCR tools with mixed success before spending a lot of time manually fixing up the output from the best one, rather than just typing it in

mayas_30 minutes ago

"just typing it" would be more error prone for the average human

Tiberium1 hour ago

OCRing this is a nightmare and is a good benchmark to any self-proclaimed good OCR/vision model.

I think though it could likely be easily OCR'd if you give the image to any decent agentic harness with a good vision model, e.g. newest Claude/GPT ones, and tell them to split the image per lines, and then just OCR each line individually.

I wonder if the script itself was written by an LLM before obfuscation? There seem to be a lot of comments in it, but in this case it's still ok :)

IshKebab39 minutes ago

Definitely LLM. No humans write that many comments.

Tiberium36 minutes ago

Honestly it's a bit of a shame. I checked and they could've shortened their base64 payload by 304 chars by removing all comments except the top two congratulatory ones, or by 524 if they removed those too.

saidnooneever32 minutes ago

im just sad it didnt render a qr code leading to malware :'). the different ways ppl look at obfuscated codes and scripts hah

dylanzhangdev46 minutes ago

Cool! I bought one a few months ago as soon as I spotted it at a Uniqlo store, and later ordered a larger size online—I really love wearing them. But it never occurred to me to look into the story behind them.

high_byte60 minutes ago

what if it contained a zero day for tesseract and the script you thought you got is just a throwaway

bryanrasmussen1 hour ago

Why does the shirt have an obfuscated bash script on the back?

Tiberium1 hour ago

Because it's by Akamai, the blog links to https://www.akamai.com/newsroom/press-release/uniqlo-adds-ne...

kay_o1 hour ago

Uniqlo frequently does collaborations. This was one with a tech company