Command line snippet of the week: 1

New year, new snippets! Belated good wishes from me as well :-)

Anyway, this week’s snippet is on basic steganography. In this case we would like to hide a rar file in a image, we can do that by doing the following:

cat picture.png archive.rar > hidden_archive_in_pic.png

This will create a valid png image for viewing with a secret rar file inside!
When you want to retrieve the hidden files, download the image, rename to .rar and extract.

divider