//View Tip #844
» View non-printing characters with cat
» Filter stderr for cron jobs
» Random line
» Zero files
Adrianot
Similar Tips
» Add header/footer to command output» View non-printing characters with cat
» Filter stderr for cron jobs
» Random line
» Zero files
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
It is possible to hide a rar archive inside a png image file and then retrieve the files from this image.
This can also be done on Windows:
When you want to retrieve the hidden files, download the image, rename to .rar and extract.
cat picture.png archive.rar > hidden_archive_in_pic.png
This can also be done on Windows:
copy picture.png + archive.rar hidden_archive_in_pic.png
When you want to retrieve the hidden files, download the image, rename to .rar and extract.
Comments
Add your comment
Comments are currently disabled
#1
It doesn't work for me. Exactly, only extracting files from image. Any ideas?
Posted 2009-06-23 08:19:01
In windows, you need to add the /B flag, indicating a binary copy.
copy /B picture.png + archive.rar hidden_archive_in_pic.png
copy /B picture.png + archive.rar hidden_archive_in_pic.png
Posted 2009-06-23 21:54:20
Well, you can copy a text file onto the end of .jpg file and the jpg will still render. I find that copying to a separate .jpg file does *not* work, but copying the text file and the jpg into the existing jpg does work.
Posted 2009-06-23 21:55:35
A more complex (and effective) form of this is using Steganography.
http://en.wikipedia.org/wiki/S … ganography
http://en.wikipedia.org/wiki/S … ganography
Posted 2009-06-24 01:03:19

