Friday, June 26, 2015

How to hide secret messages inside an image file using CMD


Creating Secret Messages (Steganography)


Steganography is basically the practice of concealing messages or information within other non-secret text or data.
In simple terms, steganography means hiding of any text inside image files, video etc.






For this, we need-
  1. Windows OS
  2. An image file(.png format)
  3. A text file(containing data you wanna hide)
Here are the steps to hide text in image using command prompt-
  • Make a folder containing the image file(.png format) and the text file containing the text we want to hide.

  • Open command prompt.
  • Type cd/






  • Now using 'cd' command, navigate to the place where your folder is present.





  • Type copy /b "image_file-name.png" + "text_file_name.txt" = "combined_file_name.png"


  • Press enter.
  • Now, go to the folder. You will see an image file(.png) with the name you entered in place of  combined_file_name.


  • Now, open that image file using notepad.


  • Scroll down till the end of the file and you'll see your text.

  • Your text is hidden :)

No comments:

Post a Comment