How to hide any files in an image file
This is a simple method to hide any kinds of files in an image file. This method can be apply to any kinds of image format. Ex. JPEG, GIF, BMP, PNG, etc. This method works in Windows or Linux operating systems (O.S.) platforms. This post will show you how to do this on both Windows and Linux O.S. platforms.
Windows
To hide:
archive_file = a compressed archive that stores your files that you want to hide.
new_img_file = this is a new image file that will have the archive hidden inside.
Linux
To Hide:
archive_file = a compressed archive that stores your files that you want to hide.
new_img_file = this is a new image file that will have the archive hidden inside.
Example:
To extract hidden files:
Treat the image file like an archive file. Using the example above you can simply:
Windows
To hide:
- Compress files to any compressed archive. (zip, rar, tar, 7z, etc...).
- Copy the compressed file/files and the image file into a folder.
- Run a Windows command prompt.
- CD to the folder.
- Execute this command to hide the files into an image file.
copy /b initial_img_file+archive_file new_img_fileinitial_img_file = this is the initial image file that does not have any archive hidden inside.
archive_file = a compressed archive that stores your files that you want to hide.
new_img_file = this is a new image file that will have the archive hidden inside.
Example:
copy /b abc.jpg+archive.zip xyz.jpg
To extract hidden files:
Use any file compression software (WinZip, WinRar, 7zip) to open the image file. The software will recognize that the image file have a compressed archive in it. It will open like a normal archive file and files can be extracted out easily.
Linux
To Hide:
- Compress files to any compressed archive. (z, gz, tar, tar.gz, 7z, etc...).
- Copy the compressed file/files and the image file into a directory.
- CD to the directory.
- Execute this command to hide the files into an image file.
cat initial_img_file archive_file > new_img_fileinitial_img_file = this is the initial image file that does not have any archive hidden inside.
archive_file = a compressed archive that stores your files that you want to hide.
new_img_file = this is a new image file that will have the archive hidden inside.
Example:
cat abc.jpg archive.gz > xyz.jpg
To extract hidden files:
Treat the image file like an archive file. Using the example above you can simply:
gunzip xyz.jpg
Comments
Post a Comment