Steganography [Implementation]
Steganography Implementation
Method 1
Step 1 Copy an image file to c: of your computer.
Step 2 Copy the text(which you want to hide) to clipboard, by writing it in notepad and selecting it, right clicking it, then copy.
Step 3 Open cmd, by going to Start — All Programs — Accessories — Command Prompt.
Step 4 In cmd type :
Step 5 Now right click on image.jpg — Open with — Notepad. You can see your hidden text at the end of your image file contents.
Though all the comments attached to this post were negative with problems "access denied". This can be bypassed by Right clicking at CMD and choosing Run as admin:
Method 2
Step1: Open your notepad and write whatever text you wanna hide and save the text file as text.txt (or any other name).
Step2: Now choose the image in which you would like to hide your text.
Keep both the files in the same directory (i recommend C:).
Now open your Command prompt. If you have kept your bith file in C:, you must run the Command prompt as Admin. (see the 1st screen-shot on how to do this)
Step3: Navigate to the folder where your files are stored using “cd” command.
or just keep the directory C: if you have kept both file in C: drive.
Now,type the following command:
copy /b Image.jpg + Text.txt Output.jpg
and press enter.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].
Note:Make sure that Image file name comes first and then the text file name after copy /b. Doing the opposite will not work.
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. Open the Output.jpg file with notepad.
The same thing can be done using a windows batch file.
Now, lets do the same thing using a windows batch file:
To make a batch file:
Open notepad and write the following 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.
You Can use Online Tools to Encrypt text Before Sending such as here.
Enjoy Hacking.
Support Author:
Ankur Mehta
Follow Me
— Ankur Mehta, Hackup's


Comments
Post a Comment