The secret behind the image

Source: Internet
Author: User
We all know that the main function of doscommand copy is to copy files, but do you know that it also has

What is the function of merging files?

Generally, it is used to merge files of the same type. For example, it combines two text files into one

And merge two independent MPEG video files into a continuous video file. So,
What will happen if I use it to merge two different types of files?

The author finds that the secret can be hidden by cleverly merging a text file into a non-text file.
. Let's take a look.

For example, if you want to hide a piece of private information, first enter and save it as a text file.
001. txt. Find another non-text file, preferably an image file or executable file. Taking image files as an Example
. If you put them all under the root directory of the d disk
In MS-DOS mode, execute the following command:

D: \ Copy 1.jpg/ B + 1.txt/ A 003.jpg

Parameter/B Indicates copying and merging files in binary format. Parameter/A indicates copying and merging files in ASCII format.
And file. Attention should be paid to the file sequence. Files in binary format should be placed before the plus sign, in text format
Put the file after the plus sign.

After executing the command, a new file 003.jpg is generated. Go back to Windows and use the Image Browsing software.
In this example, you will find that the display result of the snapshot is exactly the same as that of 002.jpg-don't worry, the secret will be revealed immediately!
Open 003.jpg with a notebook (in the "open" dialog box of notepad, select "file type" as "all"
To open a non-TXT file, or drag the image into the notepad window with the mouse ).
Why? A bunch of garbled characters? That's right! However, if you press Ctrl + end to move the cursor to the end of the file
Let's take a look! Is it the content in the 001.txt file? The "secret" is here.

In this way, you can easily hide some important information, such as the user ID, password
Private information.

This method is really clever. We recommend you try it! Even if you don't want to hide anything, it can bring you a new
Strange feeling. However, after my verification, I would like to remind you that this text file is the best in front of it.
Leave more than three rows empty, so that the content in its header will not be lost.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.