Navigation


RSS : Articles / Comments


Hide a RAR file in a JPG file

7:16 AM, Posted by Gh0s7 R1d3r, One Comment

First you need to have a rar file and a jpg image to hide the rar
Say the jpg is “image.jpg” and the rar is “file.rar”

Go to Windows command prompt (Start>Run>type cmd and press enter)

Now type this command:

copy /b image.jpg + file.rar newfile.jpg

switch “/b” indicates the copy function is binary
“newfile.jpg” is the resulting image with the rar file embedded (you can use a name of your choice)

That’s all

When you click on newfile.jpg the image will be displayed. Now it you change the jpg extension to rar (ie: newfile.rar) and open it with WinRAR the contents of the embedded rar file will be displayed.

The jpg can be replaced with a bmp,png,gif or swf file. The rar archive can be replaced with zip,tar.gz/bz2 or 7z archive. Actually in theory you can use any image format and any archive.

Here are some sample commands:

copy /b image.bmp + file.zip newfile.jpg
copy /b image.gif + file.7z newfile.jpg
copy /b image.png + file.tar.gz newfile.jpg
copy /b image.swf + file.rar newfile.jpg

One Comment

Alex @ June 7, 2009 11:28 AM

If say about this question,that my regard attracted next application-how to recover rar file,program has free status as far as I can see,it was specifically developed for extracting information from corrupted archives of the RAR format,works with all variants of this format and can recover data from archives and corrupt rar files with various compression rates and created in different software,it allows you to recover information from corrupt archives and corrupt rar files stored on removable media or on remote computers (tool can fix rar file via the local area network),can extract information even from those compressed files that are protected with a password,scanning and analyzing the selected corrupted file and you can see a special progress bar on the screen showing you the progress of this process.