Monday, May 21, 2007

Hide a zip file in an image

Here's how to combine your .gif and .zip.

cat somefile.zip >> somefile.gif

It turns out that this works with .jpg files as well. Just

cat somefile.zip >>somefile.jpg

to retrieve the original somefile:

unzip somefile.jpg

I will leave it to the rest of you to find out what
other image formats work this way.