I came from the general meta site with this question in mind:
I know I can build a .rar file with regular method or programs, and append it to an image by using a command such as
cat img.jpg myfile.rar > img.jpg
and when opening the image, the image will be displayed as before. But I can also open the image with WinRAR or a software alike (likeunrar e img.jpg
). How is possible that the rar file is recognized inside the jpg image, instead of rejected as not being an appropriate file format?
Is that question suitable here?