How to hide a file in a picture?

in Windows , you can hide a file in a picture using the following command:

copy /b example.jpg+example.zip output.jpg

the newly obtained pictures can be browsed normally. What is the principle of implementing this feature?

what do you need to do if you don"t use the copy instruction, but implement it yourself?

Jul.16,2021

to put it simply, some data is stored inside the image data to represent the data range of the picture, and the data beyond this range will not be read and displayed.

The

copy instruction appends data from other files to the end of the image file, so that it does not affect the display of the picture, but also appends data to the end of the picture.

you can easily see the text data attached to the end of the image using a text editor.

A simple implementation of copy is not used:

  https://blog.csdn.net/binwalk.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b826-2c2b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b826-2c2b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?