is the science of writing hidden messages in such a way that no one apart from the sender and intended recipient even realizes there is a hidden message.

today we all going to learn about how to implement steganography  in window/dos system

steganography have many type on the basis of which type of data have to store in which type file.

it's simple like if you want to hide an text in another text or an file into music or an text massage into image.

so today we deal with all these stuff ..
so , lets start without wasting much time..

before we goto any tool to demostrate you how steganography work i started from basic..demostrate steganography with "COMMAND PROMPT"


here i am gonna to use two method..

1. through the use of an java developed software F5 software

2.through the simply command prompt without use of any software


through the use of an java developed software F5 software

step 1. 
before use this your system must have java enabled..mostly every window come along with java enable..if it not enable in your machine ,
check out my previous tutorial 

if it is then download F5 software from here..

Step 2 : After Downloading copy the files required to Desktop.

Here i am going to hide the Confidential.txt into Google-Logo.jpg.( I have all these files in Desktop).

My Confidential.txt contains :

Step 3 : Open cmd prompt (Win+R) and use command cd Desktop to navigate to Desktop/

Step 4: Syntax for hiding is

java -jar f5.jar e -e text_filename.txt picture_file.jpg output_image.jpg

Here according my file name I have I use the command

java -jar f5.jar e -e Confidential.txt Google-Logo.jpg output.jpg.

I will get the output in output image.

Thats it you have done it!

Check your desktop for output.jpg. Note that it is similar image of that you gave as input.

output is the file that has your text message and this is the file you need to keep.Other files may be deleted.
 If you are communicating with your pals send the output.jpg file.

On receiver side to get the text file back.

Command syntax:

java -jar f5.jar x -e out.txt output.jpg

Now out.txt contains same message :

Thats it you have send your message very secretly.

Also while encrypting you can also provide the password so that only  if the person knows the password he can obtain the txt file from img file. This provides better security if the person is already aware of this method by reading this post.

Command for Embedding with password:

java -jar f5.jar e -e text_filename.txt -p password -q 70 picture_file.jpg output_image.jpg

Command for Retrieve with password :

java -jar f5.jar x -p password -e out.txt output.jpg


through the simply command prompt without use of any software


1. You need to write the message in notepad and must select an image to hide that message with steganography.

For Example I am taking a notepad file with message ” hide me inside the anonymous”

2. Now time for selecting our image. Here for example my image name is hidemassage.jpeg

3. Now the main parts came where we have to combine these images

To do that press windows button+R to open Run command box and enter cmd or just start command prompt from the start menu.

After that you have to set the default directory to working file directory means where both the file resides.

For making this easy make sure both of your files are on Desktop.

 command – 

cd desktop

After that you have to combine the two files for that use the command

copy /b “c:\users\abc1\desktop\hidemassage.jpeg” + 

“c:\users\abc1\desktop\hideme.txt” zerocool.jpg

abc1 --:replace with your computer name  

like in my case it is hp-u

hidemassage.jpeg --:replace with your image name

After that a new file with file name crnew.jpg will be created. You can name the file whatever you want just 

change the name from the command but make sure you add .jpg in the end.

The command Prompt will be look like this.

copy /b “c:\users\hp-u\desktop\hidemassage.jpeg” + “c:\users\hp-u\desktop\hideme.txt” zerocool.jpg

4. Now how to read the message.

Just right click on the file that’s just created. In this case it will be crnew.jpg and after that go to “open with” then select Notepad.

After that you will see many lines of code, After that just get to the end and the message will be there like this below:


sometime if u not get those text in the end just change the format as world wrap.

in note pad menu bar option...Format....>Word Wrap select this option this time you will get your result

one additional note here that by command copy you can also hide any pdf to image make its zip file have same method as i describe above.

in this article we cover basic shorty i will post another article on steganography.

like hoe to hide file in music file or video file and many others,so you have to wait little bit.


Popular Posts