tonybaldwin: tony baldwin (Default)
[personal profile] tonybaldwin
Here's a cool trick I just learned.
You can, in a gnu/linux system, hide files within an image file.
Why you might want to do so, of course, is open to speculation, but the "how" is really rather simple.


  1. Choose an image file, any image file. For this example, I will choose a wallpaper I made, say, debianolive.png. Copy this image to a directory with the documents you wish to hide.

  2. Compress the files or documents you wish to hide. This is simple enough. In terminal do:
    :~$ zip secretfiles.zip file1 file2

  3. Then, in terminal, simply do:
    cat debianolive.png secretfiles.zip > debianolive.png



All done.

This creates an image with the name "debianolive.png", which contains our documents.
When we wish to retrieve said documents, we rename the file to debianolive.zip
:~$ mv debianolive.png debianolive.zip
Then unzip:
:~$ unzip debianolive.zip
and you have your files back.

Handy! Nifty!
Enjoy!

./tony
From:
Anonymous( )Anonymous This account has disabled anonymous posting.
OpenID( )OpenID You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. Sign in using OpenID.
User
Account name:
Password:
If you don't have an account you can create one now.
Subject:
HTML doesn't work in the subject.

Message:

 
Notice: This account is set to log the IP addresses of everyone who comments.
Links will be displayed as unclickable URLs to help prevent spam.

Profile

tonybaldwin: tony baldwin (Default)
tonybaldwin

December 2013

S M T W T F S
1234567
8 91011121314
15161718192021
22232425262728
293031    

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags