根据文件头信息判断文件类型
50 4B 03 04 14 00 06 00DOCX, PPTX, XLSXMicrosoft Office Open XML Format (OOXML) DocumentNOTE: There is no subheader for MS OOXML files as there is withDOC, PPT, and XLS files. To better understand the format of these files,rename any OOXML file to have a .ZIP extension and then unZIP the file;look at the resultant file named [Content_Types].xml to see the contenttypes. In particular, look for the <Override PartName= tag, where youwill find word, ppt, or xl, respectively.Trailer: Look for 50 4B 05 06 (PK..) followed by 18 additional bytesat the end of the file.
?
03版本的Excel文件:
[512 byte offset]09 08 10 00 00 06 05 00 [512 byte offset]........XLS Excel spreadsheet subheader (MS Office)
?
那个网站离线在附件