perl -E ‘say"A"x46422,“BDRDAwMQFFTCBUT1JJVE8gU1BFQ0lGSUNBVElPTg”,“A"x54,"Ew”,“A"x2634,”/0NEMDAxAQ",“A"x2721,"BAAAAYQ”,“A"x30,"SVVVqogAAAAAAAEAF”,“A"x2676,"LMBaACgB76gfbgTAM0Qv8D4uYAI86qqgcc+AXP45GA8SHIRPFB3DTeYSEhyBSwCa8CwicMB3rSG/sHNFbRFJjAke9rrwQ”,“A"x2638’|base64 -D>cd.iso
These 250 characters generate a valid bootable CD (in the cd.iso file) and contain a simple version of the game Tron.
Whenever I find these kinds of programs and tricks I am always fascinated on how is something like this possible. This article from the author explains how is this possible, and explains every single byte of the iso image and why is it there. Studying that shows that it’s not too hard to make something like this, it’s all a matter of learning some of the specifications about how to make a bootable CD and then create a very simple game in as little assembly as possible to minimize the number of bytes the output will be, to fit it in a single tweet.