Decoding the obfuscated bash script on a Uniqlo t-shirt
41–50 of 253 posts
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#42Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#43I 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
IDK what the author was using but I feel like he could have shared how his OCR attempt went, but I am thinking he tried some naive OCR tools.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#44Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#45OCRing 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…
I wonder what it's doing under the hood to get such good performance?
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#46Earlier 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.
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#47OCRing 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…
I don't think it was written by an LLM, some things stand out: The congratulations text is both in English and Japanese. Contains a single heart emoji. There was an intention to have a cyan to orange gradient, but the range starts in an ANSI block, ends halfway through the 256 color block and 256 terminal colors are not arranged like a gradient at all. There's no sleep at the end of the loop where I feel like an LLM…
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#48OCRing 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…
Safari's copy-text-from-image feature manages the entire base64 part of the string, except for the first character (I instead of a T). Weirdly, it gets much worse performance if you try to copy the entire string, including the hashbang part. I wonder what it's doing under the hood to get such good performance?
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...
Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#49Re: Decoding the obfuscated bash script on a Uniqlo t-shirt
#50what if it contained a zero day for tesseract and the script you thought you got is just a throwaway