[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1920
  • Last Modified:

What does this command do (copy /B Image.jpg + Test.rar abc.jpg)


What does this command do (copy /B Image.jpg + Test.rar abc.jpg).

What i want is a way that i can hide some file behind there and when required retrieve it.
Some time back i used the above way to do it.

Has anyone tryed such stuff.

3 Solutions
The command does a binary combine of Image.jpg and Test.rar, putting the result in abc.jpg. It's a little unclear to me what you're trying to do. Can you explain  in a little more detail?
bsharathAuthor Commented:
I used to use the command to hide the ".Rar" files behind Image.jpg so when i delete the rar file also i can unzip the .jpg file.No one will know that .jpg file has many files hidden in 1 name...
Farhan KaziSystems EngineerCommented:
Hi Sharath,

This will simply combine two (Image.jpg , Test.rar) files into one (abc.jpg)
If you ABC.JPG file into image viewer (like ACDSee, FastStorne Image Viewer) it will show you the picture ((Image.jpg) and if your open it with Winrar.exe then it will show you the compressed contents that were in Test.rar file.

Hope this helps!
Farhan KaziSystems EngineerCommented:
Have a look at following:

"MP3-GIF: Hide Music Inside A Picture"
it's a common way of hiding files in other benign files...

the original file grows according to the size of the file you have just added, it's a simple concatenate function (ie, add this file to that file)..if you try to run/view the original file it still works fine as the EOF in the main file data is still there.... the extra file is just added to the end.

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now