logoalt Hacker News

EDM115today at 3:56 PM1 replyview on HN

all files are either text, binary blobs or archives (zip), no exception

I personally knew about this when I needed to extract all images from a Word document in 2015, I had the idea to rename the extension to .zip and wow a conveniently placed media folder !

since then I renamed countless file extensions to zip, just to test. it worked nearly every single time


Replies

danielochoa0620today at 5:00 PM

Hah! That's also how I first learned about the zip trick with pptx. Had never considered it generalizes outside of OOXML files. I'll give it a try next time I'm poking around another file format