DOS command implementation file merge Hide Secret

Source: Internet
Author: User
Keywords Merging secrecy text realization
We all know that DOS command http://www.aliyun.com/zixun/aggregation/16458.html ">copy The main role is to copy files, but do you know, it also has a role in merging files?"

In general, it is mainly used to merge files of the same type, such as merging two text files into one text file, merging two separate MPEG video files into one continuous video file, and so on. So what happens if you combine two different types of files with it?


The author finds that it is possible to merge a text file into a non text file to realize the hidden secret. Let's take a look.

For example, if you have a private message to hide, please input and save it as a text file, assuming you save it as 001.txt. Find another non text file, preferably a picture file or executable file. Take a picture file for example, assuming that it has a file name of 002.jpg. If you put all of them in the D-packing directory, execute the following command in Windows MS-DOS mode:

D:\Copy 002.jpg/b + 001.txt/a 003.jpg

where the parameter/b specifies to copy and merge files in binary format; Note here the order of the files, binary format files should be placed before the plus sign, text-formatted files after the plus sign.

After the command was executed, a new file 003.jpg was generated. Go back to Windows and use the picture browsing software to open it, and you'll find that it's exactly the same as the 002.jpg display--don't worry, the secret will be revealed soon! Open 003.jpg in Notepad (choose File type as "All Files" in Notepad's Open dialog box) to open a non-TXT file, or drag the picture directly into the Notepad window with your mouse, what do you see? A bunch of garbled? That's right! But if you press the CTRL key to move the cursor to the end of the file, ha, you look again! is the content in the 001.txt file? Oh, the secret is here.

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

This method is really ingenious, recommended to try! Even if you don't want to hide anything, it can also give you a sense of novelty. But after my verification, there is one thing to remind everyone: This text file in front of the best empty above 3 lines, so that its head content will not be lost.

Related Article

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.