▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
██ ██
█▌ - MASKING A FILE IN AN IMAGE - LINUX - █▌
█▌ █▌
█ ▐▌
█ ▐▌
█ The MEW image above is the example. It is an image and it is a rar file ▐▌
█ that contains files. To see for yourself, right click on the MEW image, ▐▌
█ select 'Save Image As', save it to your computer, change the extension ▐▌
█ png to rar; mewbies_concealed_files.jpg to mewbies_concealed_files.rar, ▐▌
█ then unrar it - extract the files. ▐▌
█ ▐▌
█ Music credits: Yoko Tsuno E.P. by sys2074, Label Corewatch, Title ▐▌
█ Desintegrator. ▐▌
█ ▐▌
█ THIS IS HOW: ▐▌
█ ```````````` ▐▌
█ For this example lets concatenate - conceal a .rar file, containing two ▐▌
█ text files, in an image. You can use WinZip or 7Zip for example. I'll use ▐▌
█ WinRar as I find some versions of WinZip won't read the resulting zip ▐▌
█ properly. ▐▌
█ 1. Make a directory named mewbies. Place in that directory an image; most ▐▌
█ formats work except .bmp and the files you want to conceal. ▐▌
█ ▐▌
█ 2. Open up a terminal and enter the commands to cd to the directory you ▐▌
█ created: ▐▌
█ cd mewbies ▐▌
█ ▐▌
█ 3. Zip up or Rar up the files you want to conceal, in this case I'll ▐▌
█ conceal whatever.txt and doc.txt: ▐▌
█ rar a mewbies.rar whatever.txt doc.txt ▐▌
█ ▐▌
█ 4. Then to conceal (concatenate) the rar file in the image: ▐▌
█ cat mewbies.jpg mewbies.rar > mewbies_concealed_files.jpg ▐▌
█ Output is the mewbies_concealed_files.jpg ▐▌
█ ▐▌
█ If you like view the image you created. I don't have a GUI so I'll use ▐▌
█ jp2a to view the image on the terminal: ▐▌
█ jp2a mewbies_concealed_files.jpg ▐▌
█ You could also use cacaview: cacaview mewbies_concealed_files.jpg ▐▌
█ ▐▌
█ 5. To extract the files change the extension from .jpg to .rar: ▐▌
█ mv mewbies_concealed_files.jpg mewbies_concealed_files.rar ▐▌
█ Then extract the files, to a new directory named mewbies2: ▐▌
█ unrar x mewbies_concealed_files.rar mewbies2/ ▐▌
█ cd mewbies2 && ls ▐▌
█ ▐▌
█ NOTES: ▐▌
█ 1. Step 4 I have chosen to save the output image with a new name or it ▐▌
█ will overwrite my original mewbies.jpg ▐▌
█ ▐▌
█ 2. If the files you are concealing are private then you should put a ▐▌
█ password on the zip or rar to extract the files. ▐▌
█ ▐▌
█ 3. The larger the file size is that you are concealing, the larger the ▐▌
█ size of the image you should use - to make it not so obvious. ▐▌
█ ▐▌
█ 4. This will not work on sites that actually rewrite the file you upload. ▐▌
█ For example FaceBook. ▐▌
█ ▐▌
█ //---------------------------------------------------------------------- ▐▌
█ ▐▌
█ If you find mistakes, have suggestions, and or questions please post at ▐▌
█ mewbies forum HERE - thank you. ▐▌
█ ▐▌
█ Last update on 09 Dec '13 ▐▌
█ ▐▌
█▌ █▌
█▌ - mewbies.com - █▌
█▌ █▌
██▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄██