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

Add support for ACE #592

Merged
merged 3 commits into from
Apr 25, 2023
Merged

Add support for ACE #592

merged 3 commits into from
Apr 25, 2023

Conversation

dcfreire
Copy link
Contributor

Magic number: https://en.wikipedia.org/wiki/List_of_file_signatures
MIME: https://en.wikipedia.org/wiki/List_of_archive_formats

ACE is an archiving format from 1999, it is not widely used, and the software that is capable of creating .ace files (WinAce) is abandonware. However, as per the Wikipedia article: "Since at least 2015, ACE archives have been used to deliver malware to victims by e-mail. This tactic was viable because popular archiving software was able to uncompress ACE archives, but support for the ACE format in security products (...) was generally weak.".

Do note that I edited the magic number offset on that Wikipedia article by experimenting creating ace files on my own, with different contents, the offset was always 7 bytes, but since there is no detailed documentation on the format I cannot be sure that it is the case that it will always be the same. Still I think being able to detect it has value for the aforementioned reason.

@sindresorhus
Copy link
Owner

Merge conflict

@sindresorhus sindresorhus merged commit 1899fc1 into sindresorhus:main Apr 25, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants