Hiding a Compressed RAR File in a JPEG
OK, ever want to send a file to someone in a very sneaky way? Or want to files on your sever cleverly disguised as a jpeg? Here is a way for you to bind these files in windows so that it looks like a normal jpeg image. If you open it by means of a double click, it will open in your default image viewer. If however, you open the jpeg with WinRAR the file will act as a compressed archive!
To do this follow these steps:
Place the image in c:\. Then place the .rar file that you want to bind with the the image in the same directory.
Open up the command line by clicking, start, run, then type cmd, press enter.
Navigate to the c:\ by typing, `cd c:\.
Type copy /b nameofimage.jpg + nameofrar.rar chooseanewname.jpg
The command above will produce a file with the name of your choosing. The resulting jpg image will have the rar file binded to it. To windows this image looks like any other image. To WinRAR it it is a compressed archive file.
The following image was made using this process and has a secret rar file attached:









Nice trick. I might use it someday.
Thanks for that. Using Stumble teaches me SO much with it finding little gems like this.
yer, but how does the reciver get that rar file from the pic?
I was hoping for a better “secret” than your web addy….Nice to know tho.
@west158@hotmail.com – The rar file is embedded into the jpeg. That is the whole point.
Just open the jpeg with winrar and you will see.
Sorry to dissipoint, btw you are not supposed to reveal the secret.
@Nivek –
You could hide a secret jpeg in the jpeg, for some ekstra fun.
Sweet I can hide my porn
how the fuck do you do this in Linux? The commands for the terminal are different.
considering you haven’t answered me in since my last post 14 days ago, you’re an asshole…
And considering you posted in another blog that you like Linux more than Windows, you’re a double asshole…
Jap,
lol, I will see what I can do to get this trick to work in Linux. How does that sound?
well jap, seeing as how you are so polite i suggest checking the wikipedia entry for the rar format, before you fuck yourself
Jap,
this is a free blog in which Mark tries to share fun tips and tricks for nothing more than to share it with people. Sometimes people have “real life” issues that might get in the way of him being at your virtual beck and call. Perhaps you should put some effort into figuring out how it works on linux and then YOU could actually contribute to the great cosmic flow of information.
[...] Hiding a Compressed RAR File in a JPEG [...]