Skip to content

Signature Offsets #72

Description

@RvdHout

Looks like some of the archive signatures have to be found at a specific offset, like:

SevenZipFormat.Tar
// 257 byte offset

SevenZipFormat.Iso
// 0x8001, 0x8801 or 0x9001 byte offset

SevenZipFormat.Lzh
// 2 byte offset

SevenZipFormat.Hfs
// 0x400 byte offset

https://en.wikipedia.org/wiki/List_of_file_signatures

I checked this with a renamed tar archive, with renamed extension *.tmp is doesn't detect it as tarball and returns:
"*.tmp is not a known archive type"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions