There a 2 Ways to Hide Text File into a Image.
1.)Using Windows Command Prompt.
2.)Using Windows Batch File.
NOTE:Make sure to keep the image and text file in the same directory.
Now all you need is a command prompt window. So go to Start-> Run->
type "cmd" and press enter.
Navigate to the folder where your files are stored using "cd" command.
Now type the following code in command prompt:
Code--->copy /b Image.jpg + Text.txt Output.jpg
Where, Image.jpg is the name of your image file and Text.txt is the
name of your text file. Give a space between [Image.jpg + Text.txt]
and [Output.jpg]
Output.jpg is the name of the file that will be created after you run
this command.
Make sure that Image file name comes first and then the text file name
after copy /b. Doing the opposite will not work.
Now, press enter and you'll see an Output.jpg file that will get
created in that same directory.
You could now open the image, the image will open normally. Now the
trick comes, open the Output.jpg file with notepad and you'll see
something like this:
Now, scroll down to the end and you'll see the Text that you wanted to
hide. It will look something like this:
The same thing can be done using a windows batch file.
And then you just found a way to hide your secret content in an image.
Using Windows Batch File:
To make a batch file:Open notepad and write the following code in
Command Prompt:
Code: copy /b Image.jpg + Text.txt Output.jpg
Where, Image.jpg is the name of your image file and Text.txt is the
name of your text file.
Give a space between [Image.jpg + Text.txt] and [Output.jpg]Output.jpg
is the name of the file that will be created after you run this batch
file.
Save the notepad file as ImageHide.bat
Double click on the batch file to create Output.jpg. And, now you've
also learnt to hide the text in image using the windows batch file.
HAPPY HACKING!
No comments:
Post a Comment