Live data from Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

tris.sherliker.net

11–20 of 253 posts

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#11
post #8

Earlier quoted context omitted.

Definitely LLM. No humans write that many comments.

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.

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

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#12
post #9

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

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

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#13
> 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?

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#15

> 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?

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

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#18
post #8
post #2

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…

Definitely LLM. No humans write that many comments.

Human could write that many comments to get enough base64 text for a design. Maybe to even get some of the highlighted characters in places they want (roughly equally spaced apart).

Re: Decoding the obfuscated bash script on a Uniqlo t-shirt

#19
post #9

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

Took me almost 2 minutes for 4 lines (and I missed a character in one of them!). I would opt for OCR too, obviously so I'm prepared for the next bash t-shirt I'd come across...
Post reply on HN