convertcommand to convert to bmp. For example
convert cat.jpg cat.bmp
bmpsteg -h -i vacation.bmp -o newvacation.bmp -t 'We attack at dawn'If you embed a file (like
secret.docx) it'd look like
bmpsteg -h -i vacation.bmp -o newvacation.bmp -f secret.docxA new file is created, whose name is given by the
-ooption (in my example
newvacation.bmp), and this is the "stego-medium".
chmod a+r filename. So, for example, if
newvacation.bmpis the file with the hidden message, you'd give the command:
chmod a+r newvacation.bmp
.htmlfile so that it refers to this new "stego-medium" file. There are two ways to do this:
nano index.htmlfrom inside the same directory as contains your index.html file. If the image is linked froom a different file than index.html, you'll have to use that file instead.