To read a compressed source file data area in a download-dense Excel table

Source: Internet
Author: User

3.2 Detection algorithm in the extraction of the secret table, read the compressed source file data area all records (with the beginning of the record 04034b50 as a reference), and the compressed source file directory area records as a match, in the compressed source file directory area to add missing source file directory records, Modify the source file directory to end the relevant information, you can implement the secret form in the Excel table in the normal display and open use. The algorithm 2 is described as follows: Algorithm 2 general form information detection algorithm input the hidden Excel form output secret form STEP1 open Excel table, extract compressed source file data area and directory area all records.

STEP2 in the new Excel table, delete the record of the secret table in the compressed source file directory area.

STEP3 modifies the relevant information in the compression source file directory end flag, including compressing the total number of source file directory records, the size of the catalog area, and generating a loaded Excel table.

If you want to hide multiple secret tables, you can loop through STEP2 and STEP3.

Step2 according to the one by one correspondence principle, compares compresses the source file data area and the directory area record, to the data area appears but the directory area does not appear the source file, according to the catalogue records the data format, to its encoding, produces the corresponding directory area record, adds to the compressed source file data Directory area.

STEP3 modifies the relevant information in the compression source file directory end flag, including the total number of compressed source file directory records, the size of the directory area and the offset of the directory area in the file, generating a new Excel table, which is visible at this time.

If more than one secret form is detected, you can loop through STEP2 and Step3 to show them individually.

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.