Method and device for bundling files in host file
A technology for hosting files and bundling files, applied in the field of communication, can solve the problems of inability to bundle large files, small redundant space capacity of PE file structure, discontinuity, etc., and achieve the effect of being less prone to error reporting
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Publication Date
- 2015-11-25
Smart Images
Figure 1 Figure 2 Figure 3
Abstract
Description
technical field
[0001] The invention relates to the communication field, in particular to a method and device for bundling files in a host file. Background technique
[0002] File bundling can also be called file hiding. The specific method is to bundle other files in one file to achieve the effect of reducing the number of files or hiding some files. Wherein, the file bundled with other files is called a host file, and the file bundled into the host file is called a bundled file.
[0003] Because there is a lot of redundant space in the PE file structure itself, PE files are often used as host files, in which other files are bundled. The usually relatively large free space in the PE file is: (1) the redundant space generated by data alignment between adjacent section tables; (2) the redundancy generated by data alignment after the last section table of the PE file space. (3) The DOSStub in the PE structure is reserved for DOS programs, and it will only play a real role w...
Examples
Embodiment Construction
[0026] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0027] figure 2 A method for bundling files in a host file provided by an embodiment of the present invention is shown. Specifically, the host file may be a PE file, or other files having a similar structure to the PE file. In the following description, the host file is a PE file as an example for description.
[0028] In order to facilitate understanding, first briefly introduce the structure of the PE file. A PE file mainly i...