Nov 18, 2010

Hide any file in a jpeg image

Step 1: You will need two files - the file you want to hide and one jpg image - it can be of any size or dimensions. [If you want to hide multiple files in one jpeg image, just zip or rar them into one file]
Step 2: Copy one jpg and your other file in any directory which can be easily locate by cmd
Step 3: I copy a.jpg and b.rar file in D drive

Step 4: The most important step - type the following command:
copy /b a.jpg + b.rar
After this you will see like below photo the image of 80 kb size converted into 3.40 Mb because it contain b.rar file also

To recover the original .rar file, just rename a.jpg to b.rar or anything.rar and it looks like below photo

If you want to apply this technique to other file formats like XLS, DOC, PPT, AVI, WMV, WAV, SWF, etc, you may have to first compress them in RAR format before executing the copy /b DOS command.
To restore the original file, rename the .jpg file to .rar and extract it using 7-zip or Winrar.

No comments:

Post a Comment