Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy office mime types missing #8

Closed
sevdog opened this issue Jun 29, 2018 · 3 comments
Closed

Legacy office mime types missing #8

sevdog opened this issue Jun 29, 2018 · 3 comments

Comments

@sevdog
Copy link

sevdog commented Jun 29, 2018

Actually in extract-ms-office some legacy office mime types are missing:

From fileext.com:

ext mime type
.doc application/msword
.dot application/msword
.docx application/vnd.openxmlformats-officedocument.wordprocessingml.document
.dotx application/vnd.openxmlformats-officedocument.wordprocessingml.template
.docm application/vnd.ms-word.document.macroEnabled.12
.dotm application/vnd.ms-word.template.macroEnabled.12
.xls application/vnd.ms-excel
.xlt application/vnd.ms-excel
.xla application/vnd.ms-excel
.xlsx application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
.xltx application/vnd.openxmlformats-officedocument.spreadsheetml.template
.xlsm application/vnd.ms-excel.sheet.macroEnabled.12
.xltm application/vnd.ms-excel.template.macroEnabled.12
.xlam application/vnd.ms-excel.addin.macroEnabled.12
.xlsb application/vnd.ms-excel.sheet.binary.macroEnabled.12
.ppt application/vnd.ms-powerpoint
.pot application/vnd.ms-powerpoint
.pps application/vnd.ms-powerpoint
.ppa application/vnd.ms-powerpoint
.pptx application/vnd.openxmlformats-officedocument.presentationml.presentation
.potx application/vnd.openxmlformats-officedocument.presentationml.template
.ppsx application/vnd.openxmlformats-officedocument.presentationml.slideshow
.ppam application/vnd.ms-powerpoint.addin.macroEnabled.12
.pptm application/vnd.ms-powerpoint.presentation.macroEnabled.12
.potm application/vnd.ms-powerpoint.template.macroEnabled.12
.ppsm application/vnd.ms-powerpoint.slideshow.macroEnabled.12

See also this gist

@sevdog
Copy link
Author

sevdog commented Jun 29, 2018

I forgot RichTextFormat:

ext mime type
.rtf application/rtf
.rtf application/x-rtf
.rtf text/rtf
.rtf text/richtext

@hosom
Copy link
Owner

hosom commented Jun 29, 2018

@sevdog This is a good catch. Many of these mimetypes aren't actually defined within Bro itself, so it'll take me some time to add all of the ones in here that I missed but ARE supported.

If you're interested in knowing what you're missing out on in the meantime... Bro's file signatures are all stored in this directory.

@hosom
Copy link
Owner

hosom commented Mar 16, 2020

Wow that was a long time to get around to this. I grabbed all of the mimetypes that you listed and checked them against master. The only missing type was text/rtf.

The current master branch contains this mimetype.

@hosom hosom closed this as completed Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants