Monday, June 6, 2011

Hiding Files in a Picture

Consider a situation where a data is to be hidden, it may be media files(.mp4,.avi etc ) or a text file (.doc,.docx,.pptx,.ppt .. etc) from your friends or someone else. In this situation there is a way to hide files in jpeg file.
Follow the steps stated below :
  1. Locate a file or folder which has to be hidden.
  2. Compress that file or folder with WinRAR or any compressing softwares.(note the extension)
  3. Copy the picture to the same folder where the compressed file located
  4. Open command prompt ( start–> RUN–> cmd )
  5. go to the folder where the files are located by using CD command ( refer screenshots )
  6. Type the command given below and press enter(refer the example given below)
copy /b pic_name.jpeg ( image file with ext) + file_name.rar(compressed file with ext) output_file.jpeg (output file )

Example :
file name : file_to_hide .rar image file : picture.jpeg
folder that contains above two files: C:\test
name of the output image file: output.jpeg
commands to hide file_to_hide.rar into picture.jpeg
  • CD c:\test
  • copy /b picture.jpeg + file_to_hide.rar output.jpeg
now output.jpeg file will be created in c:\test directory , in which the target file is hidden /b pic_name.jpeg ( image file with ext) + file_name.rar(compressed file with ext) output_file.jpeg (output file )
Example :
file name : file_to_hide .rar image file : picture.jpeg
folder that contains above two files: C:\test
name of the output image file: output.jpeg
commands to hide file_to_hide.rar into picture.jpeg
  • CD c:\test
  • copy /b picture.jpeg + file_to_hide.rar output.jpeg
now output.jpeg file will be created in c:\test directory , in which the target file is hidden
NOTE :
To open the hidden files that are located in jpeg file , just change the extension form .jpeg to .rar and extract the files to desired location
here , in our example we have to change output.jpeg file to output.rar to view the files.


No comments:

Post a Comment