Live data from Hacker News

Decoding the obfuscated bash script on a Uniqlo t-shirt

tris.sherliker.net

111–120 of 253 posts

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

#111
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.

Since LLM's are mimicking our code my guess we do...

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

#112
post #48

Earlier quoted context omitted.

Didn't know Safari had this. Looked it up, you put mouse over text, then just select and copy it - very cool! https://support.apple.com/en-gb/guide/safari/ibrw20183ad7/ma...

There’s a whole bunch of hidden features that no one seems to be aware of. Preview has pretty good background removal. Notes will transcribe audio from audio files.

Notes will do OCR as well. Trigger the feature, point the camera at something, and it will input just the text.

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

#114

This reminds me of a T-shirt I once saw that read: perl -e ' "$a="etbjxntqrdke"; $a=~s/(.)/chr(ord($1)+1)/eg; print "$a\n;"' It's cursing. Don't run it if it might offend you. Upon seeing this, I decided to golf and came up with a shorter version: perl -e "print chr 1+ ord for split //,'etbjxntqrdke'"

or

  raku -e 'say "etbjxntqrdke".comb.map({chr .ord + 1}).join'

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

#115

while base64 can be considered obfuscation in this context and its inverse as decoding I can't help but feel this title is overselling and catering to a rather cyber-cheesy marketing campaign at that.

Yeah, its a bit of a cheat. The best obfuscated C programs have the source looking like a Christmas tree (or something) and then play an xmas song (or whatever)

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

#116
post #42

I love this shirt! Here's a nice video from the actual designer about the process of making this shirt (including intentionally making it hard to OCR): https://youtu.be/jocGLiecpjU?t=526

It would probably be quicker to type it in than figure out how to OCR it. It would be like typing in a game from a COMPUTE! magazine 45 years go.

https://archive.org/details/1983-01-compute-magazine/page/96...

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

#117
post #115

while base64 can be considered obfuscation in this context and its inverse as decoding I can't help but feel this title is overselling and catering to a rather cyber-cheesy marketing campaign at that.

Yeah, its a bit of a cheat. The best obfuscated C programs have the source looking like a Christmas tree (or something) and then play an xmas song (or whatever)

the base64 thing they did feels like a cheap version of that green-obscure-symbols-raining-on-a-terminal animation in The Matrix. should have gone with "Hack the Planet" instead ...

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

#120
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…

What is it about this that makes it particularly hard to OCR?
Post reply on HN